#52 NPE in node when JMX is disabled

v1.0
closed-fixed
Node (41)
9
2008-02-03
2008-02-02
No

When a node is running with the JMX management and monitoring disabled (configuration property "jppf.management.enabled=false"), the node will throw a NullPointerException when the first task is submitted to the node.

The stack trace is as follows:

org.jppf.JPPFException
at sample.matrix.MatrixRunner.perform(MatrixRunner.java:106)
at sample.matrix.MatrixRunner.main(MatrixRunner.java:63)
Caused by: java.lang.NullPointerException
at org.jppf.server.node.NodeTaskWrapper.run(NodeTaskWrapper.java:69)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Discussion

  • Laurent Cohen

    Laurent Cohen - 2008-02-03
    • status: open --> closed-fixed
     
  • Laurent Cohen

    Laurent Cohen - 2008-02-03

    Logged In: YES
    user_id=1252190
    Originator: YES

    This isue is now fixed and tested. Chage committed to CVS.
    The fix will be available in the next release.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks