JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-406  -  NPE in driver prevents local node from working
Posted Jul 21, 2015 - updated Aug 15, 2018
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Server
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Reproducability
    Not determined
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 5.0.x
Issue description
When starting a driver configured with a local node, I get the following exception in the driver's log:
java.lang.NullPointerException
  at org.jppf.server.nio.nodeserver.WaitInitialBundleState.resolveHost(WaitInitialBundleState.java:150)
  at org.jppf.server.nio.nodeserver.WaitInitialBundleState.performTransition(WaitInitialBundleState.java:109)
  at org.jppf.server.nio.nodeserver.WaitInitialBundleState.performTransition(WaitInitialBundleState.java:1)
  at org.jppf.nio.StateTransitionTask.run(StateTransitionTask.java:78)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:744)
Steps to reproduce this issue
  • set "jppf.local.node.enabled = true" in the driver
  • start the driver
  • ==> you get the NPE in the driver's log

#3
Comment posted by
 lolo4j
Jul 26, 08:41
I also noticed that local nodes provide wrong values for the node-side class loading statistics in the server. This will be fixed along.
#4
Comment posted by
 lolo4j
Jul 26, 08:44
Fixed in: