Message8148
Further addition:
This issue seems to revolve around the way os.system handles return codes in Jython 2.5.2 vs older versions (somewhere between 2.2.0 & 2.5.2 - we have nto tried the intermediary versions)
os.system("/tmp/caclp.sh "+node)
1st when we run our Java application, it creates a main() thread which internally creates JobManager() thread and which internally creates a ActivityThread() and in that activityThread, we execute the caclp.sh script.
- It seems os.system is not happy with the return code from the sample scrit (which contains some unix commands) so when os.system() call has been executed, activityThread() name has been changed to mainThread()
and if we call maaPlugin(node) command, it is not getting the activityID, because it is out of that thread and it has gone to mainThread()
hence we get a NullPointerException... |
|
Date |
User |
Action |
Args |
2013-10-08 15:16:25 | eeiddne | set | messageid: <1381245385.12.0.0457738487644.issue2097@psf.upfronthosting.co.za> |
2013-10-08 15:16:25 | eeiddne | set | recipients:
+ eeiddne |
2013-10-08 15:16:25 | eeiddne | link | issue2097 messages |
2013-10-08 15:16:24 | eeiddne | create | |
|