Ask Your Question
0

Event generation in Jython Scripting [closed]

asked 2019-10-05 01:34:13 -0500

anonymous user

Anonymous

When i tried to generate events in Jython Scripting Origin Stage. It fails with NullPointerException.

Below is the snippet of code which i have written

event = sdc.createEvent('file',0)
event.value = {'file':path}
sdc.toEvent(event)

Can you suggest why it has thrown Exception.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Vss@2019
close date 2019-10-13 00:16:57.724710

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-05 11:46:49 -0500

iamontheinet gravatar image

Hi!

We've identified it as an issue. You can track updates and progress on it by adding yourself as a watcher: https://issues.streamsets.com/browse/....

Cheers, Dash

edit flag offensive delete link more

Comments

Thanks iam

Vss@2019 gravatar imageVss@2019 ( 2019-10-07 03:23:13 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-05 01:34:13 -0500

Seen: 111 times

Last updated: Oct 05