NullPointerException in the Flow Designer (Data Stream Action)

nachosg7
Giga Contributor

Hello.

I am building an application to import the relationships between computers and software packages from a third-party application. I am using the flow designer (data stream action) to do it, but I am having some issues. When I test the data stream action, I obtain the next error:

Flow Designer: Operation(Rel. Computer-Software.TestDataStream) failed with error: java.lang.NullPointerException
at com.glide.flow_design.action.providers.TestDataStreamOperation.run(TestDataStreamOperation.java:45)
at com.snc.process_flow.engine.Operation.execute(Operation.java:165)
at com.snc.process_flow.engine.ProcessEngine.executeOps(ProcessEngine.java:498)
at com.snc.process_flow.engine.ProcessEngine.run(ProcessEngine.java:414)
at com.snc.process_flow.engine.ProcessAutomation.run(ProcessAutomation.java:66)
at com.snc.process_flow.engine.GlideProcessAutomation.runSync(GlideProcessAutomation.java:158)
at com.snc.process_flow.engine.GlideProcessAutomation.runWithDomain(GlideProcessAutomation.java:261)
at com.snc.process_flow.engine.GlideProcessAutomation.runAsUserSync(GlideProcessAutomation.java:235)
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:292)
at com.snc.process_flow.engine.GlideProcessAutomation._start(GlideProcessAutomation.java:456)
at com.snc.process_flow.engine.GlideProcessAutomation.access$500(GlideProcessAutomation.java:106)
at com.snc.process_flow.engine.GlideProcessAutomation$StartBuilder.start(GlideProcessAutomation.java:1122)
at com.glide.flow_design.action.providers.ActionTypeRepoBackedProvider.testAction(ActionTypeRepoBackedProvider.java:494)
at com.glide.flow_design.rest.ActionService.testAction(ActionService.java:959)
at sun.reflect.GeneratedMethodAccessor2192.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:44)
at com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:287)
at com.glide.processors.AProcessor.runProcessor(AProcessor.java:596)
at com.glide.processors.AProcessor.processTransaction(AProcessor.java:266)
at com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:181)
at com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:169)
at com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:44)
at com.glide.sys.Transaction.run(Transaction.java:2275)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
: no thrown error

Any idea to solve this? Previously, I have imported computers and software using the same way and it is working properly. 

1 ACCEPTED SOLUTION

nachosg7
Giga Contributor

In case anyone is interested, I have solved this issue. The problem was in the name. I have called my Stream Data Action "Rel. Computer-Software". I have changed this name and the action is working properly.

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please raise HI ticket with ServiceNow on this

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

nachosg7
Giga Contributor

In case anyone is interested, I have solved this issue. The problem was in the name. I have called my Stream Data Action "Rel. Computer-Software". I have changed this name and the action is working properly.

Fr_d_ric Dhuez
Tera Contributor

Same problem with the name of the Data Stream Action Name which contains dot (Orion.VIM.VCenter), removing them solve the problem!