JPPF Issue Tracker
Please log in to bookmark issues
CLOSED  Bug report JPPF-151  -  Calling AbstractJPPFClassLoader.close() leads to NoSuchMethodError
Posted Jun 01, 2013 - updated Dec 27, 2014
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
  • Assigned to
  • Progress
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
  • Category
  • Resolution
  • Priority
  • Reproducability
  • Severity
  • Targetted for
    icon_milestones.png JPPF 3.3.x
Issue description
As reported in this forum thread, whenever AbstractJPPFClassLoader.close() is called, for instance in the Extended Class Loading sample, the following error is raised:
2013-05-31 15:27:41,434 [ERROR][org.jppf.server.node.remote.RemoteNodeIO.deserializeObjects(102)]: Exception occurred while deserializing the tasks
java.lang.NoSuchMethodError: org.jppf.classloader.AbstractJPPFClassLoaderLifeCycle.close()V
  at org.jppf.classloader.AbstractJPPFClassLoader.close(
  at org.jppf.server.node.AbstractClassLoaderManager.resetClassLoader(
  at org.jppf.server.node.JPPFNode.resetTaskClassLoader(
  at org.jppf.example.extendedclassloading.node.NodeListener.jobHeaderLoaded(
  at org.jppf.node.event.LifeCycleEventHandler.fireJobHeaderLoaded(
  at org.jppf.server.node.remote.RemoteNodeIO.deserializeObjects(
  at org.jppf.server.node.remote.RemoteNodeIO.deserializeObjects(
  at org.jppf.server.node.AbstractNodeIO.readObjects(
  at org.jppf.server.node.AbstractNodeIO.readTask(
  at org.jppf.server.node.JPPFNode.perform(
  at org.jppf.node.NodeRunner.main(
This issue is caused by the fact that AbstractJPPFClassLoader.close() invokes super.close(). While the super class of AbstractJPPFClassLoader, AbstractJPPFClassLoaderLifeCycle, doesn't have a close() method, its superclass URLClassLoader has one, but only since JDK 1.7. So this bug can only occur with JDK 1.6 or earlier
Steps to reproduce this issue
  • start a node with JDK 1.6
  • run the "Extended Class Loading sample" using this node

Comment posted by
Jun 02, 09:11
Fixed. Changes committed to SVN:

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from Confirmed to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Information about the user working on this issue has been changed, from lolo4j to Not being worked on.