![]() Please wait while updating issue type...
Could not save your changes
This issue has been changed since you started editing it
Data that has been changed is highlighted in red below. Undo your changes to see the updated information
You have changed this issue, but haven't saved your changes yet. To save it, press the Save changes button to the right
This issue is blocking the next release
![]() There are no comments
There is nothing attached to this issue
This issue has no duplicates
There are no code checkins for this issue |
|||||||||||||||||||||||||||||||||||
Really delete this comment?
Really delete this comment?
For the 4.2.1 release, I will implement a workaround: the job will not be cancelled. This means that, instead of the non-serializabke task, a JPPFExceptionResult will be sent. Its run() method doesn't do anything but it encapsulats the NotSerializableException via its getThrowable() method, which will be set onot the initial task once it has returned from the node.
This is not a very elegant solution but it will do for a maintenance release. Ideally, what we should do is to not send the task at all and instead set it directly as a job result with its throwable set to the NotSerializableException. The problem here is that the job header is already sent to the server, thus it is expecting the number of tasks specified in the header. One possibility is to send null instead of the task, and modifuy the serve rcode to immediately set this task as completed so it's not dispatched to a node, then send null back to the client, and modify the client code to discard any null task received. This will be done in the trunk and for the next major version. I will create an enhancement for JPPF 5.0 to this effect.
Really delete this comment?
Really delete this comment?
Really delete this comment?