JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
The open source
grid computing
solution
Home
About
Features
Download
Documentation
On Github
Forums
June 04, 2023, 06:26:56 PM
Welcome,
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
New users, please read
this message
. Thank you!
Home
Help
Search
Login
Register
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: NullPointerException from JPPFExecutorService example on Future.get() (Read 4398 times)
southermark
JPPF Padawan
Posts: 4
NullPointerException from JPPFExecutorService example on Future.get()
«
on:
February 10, 2012, 12:03:31 AM »
Dear all,
I cannot get the JPPFExecutorService example on p49 of the JPPF-User-Guide to work. It did have compile problems which I fixed in the attachment. I have a server and node running on a remote machine. The standard TemplateApplicationRunner example DOES work.
The exception comes when Future.get() is called from a submitted task.
Assistance appreciated, thanks!
~Mark.
Logged
lolo
Administrator
JPPF Council Member
Posts: 2272
Re: NullPointerException from JPPFExecutorService example on Future.get()
«
Reply #1 on:
February 10, 2012, 04:31:20 AM »
Hello Mark,
I can indeed rerpoduce the same problem. I registered a JPPF bug for it:
3486440 - JPPFExecutorService.throws NPE on Future.get()
I also published a
patch
for it, which you can ghet from
there
.
Can you give it a try and let us know of the outcome?
Sincerely,
-Laurent
Logged
southermark
JPPF Padawan
Posts: 4
Re: NullPointerException from JPPFExecutorService example on Future.get()
«
Reply #2 on:
February 10, 2012, 04:25:39 PM »
Hi Laurent,
That does appear to fix it. The code runs as expected, thank you! I am also experiencing another problem which I believe to be Eclipse based. I will post that in another topic.
Thank you,
~Mark.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
JPPF Forums
>
General Discussions
>
Forums
>
NullPointerException from JPPFExecutorService example on Future.get()
Loading...