Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Exceptions are handed to ResultCollector.addResult, causing ClassCastExceptions

 

On the ResultSender, there is a method to return exceptions using sendException.

...

Since the type of T is the user result type, trying to call add result will almost invariably result in the ClassCastException, like below

 

...

.

 

See

Jira
serverASF JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyGEODE-625
for more details.

 

Must use ResultCollector returned from FunctionService.execute

...