#195 JPPFExecutorService.throws NPE on Future.get()

v3.0
closed-fixed
Client (46)
5
2012-02-10
2012-02-10
No

When submitting tasks via a JPPFExecutorService, there is an NPE when calling get() on any of the resulting futures.
I located the problem in org.jppf.client.concurrent.FutureResultCollector : it still uses resultMap in several methods, instead of using job.getResults()
A fix is to add a JobResult.getResult(int position) method, and use job.getResults() throughout FutureResultCollector.

Discussion

  • Laurent Cohen

    Laurent Cohen - 2012-02-10

    This bug is now fixed. Changes committed to SVN:
    - trunk revision 2023
    - branch b3.0 revision 2022

     
  • Laurent Cohen

    Laurent Cohen - 2012-02-10
    • status: open --> closed-fixed
     

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

Sign up for the SourceForge newsletter:





No, thanks