on 01-04-2018 9:01 PM
Hello all,
I have workflow sample that I have created in "SAP Busines One Studio", exported as xbml, imported in SAP Business One using "Workflow manager". When I have activated it after it has been imported succesfully, I've got the following error in workflow engine log file. What can fire this error message? Is there anyone can give a hint to solve this issue?
Thanks
Environment:
SAP Business One version is 9.2 (9.20.250) PL: 05 (64-bit)
Windows Server : Windows server 2012 R2 Standard
SQL Server 2012
Javascript code in "Conditional Start Event":
var param = company.getRecordsetParams();
var query = "select CardCode,CardName from OCRD where CardCode = 'HDR3'"; print(query);
ERROR Message:
2018-01-04 22:34:46 [ERROR] [MessageQueueThread] [NullPointerException] : Got exception(thread=MessageQueueThread)==>java.lang.NullPointerException: while trying to invoke the method java.lang.Object.toString() of a null object loaded from local variable 'result' Caused by:java.lang.NullPointerException:while trying to invoke the method java.lang.Object.toString() of a null object loaded from local variable 'result' at com.sap.b1wf.engine.msg.B1MessageHandler$ActivateTemplateCmd.execute(B1MessageHandler.java:514) at com.sap.b1wf.engine.msg.B1MessageHandler$ActivateTemplateCmd.execute(B1MessageHandler.java:416) at com.sap.b1wf.engine.command.CommandExecutor.execute(CommandExecutor.java:27) at com.sap.b1wf.engine.msg.B1MessageHandler.handleImpl(B1MessageHandler.java:127) at com.sap.b1wf.engine.msg.B1MessageHandler.handleFailedMessage(B1MessageHandler.java:88) at com.sap.b1wf.engine.threads.MessageQueueThread.run(MessageQueueThread.java:34)
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.