Error while executing Java Service...!
Hi Experts,
I am getting the following error while executing the Java Service in a Stateless Process.
2016-11-02T12:16:14.890 DEBUG [Tpool-498-thread-4] [com.documentum.bps.outbound.bof.runtime.BofModuleService:84] Creating module cc_odcardinstructionse from docbase
2016-11-02T12:16:14.897 WARN [Tpool-498-thread-4] [com.documentum.bpm.engine.runtime.AutomaticWorkitemHandler:74]
java.lang.Exception: java.lang.NullPointerException
at com.documentum.bps.outbound.AbstractService.execute(AbstractService.java:98)
at com.documentum.bpm.engine.utils.InvokeOutboundService.executeService(InvokeOutboundService.java:116)
at com.documentum.bpm.engine.utils.InvokeOutboundService.invokeService(InvokeOutboundService.java:71)
at com.documentum.bpm.engine.model.activity.OutboundActivityTaskHandler.executeWorkitem(OutboundActivityTaskHandler.java:48)
at com.documentum.bpm.engine.runtime.AutomaticWorkitemHandler.executeService(AutomaticWorkitemHandler.java:256)
at com.documentum.bpm.engine.runtime.AutomaticWorkitemHandler.execute(AutomaticWorkitemHandler.java:119)
at com.documentum.bpm.engine.runtime.AutomaticWorkitemHandler.run(AutomaticWorkitemHandler.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.documentum.bps.outbound.bof.runtime.DataNodeCache$ParamTypeCache.addToCache(DataNodeCache.java:137)
at com.documentum.bps.outbound.bof.runtime.DataNodeCache$ParamTypeCache.access$200(DataNodeCache.java:109)
at com.documentum.bps.outbound.bof.runtime.DataNodeCache.addToCache(DataNodeCache.java:37)
at com.documentum.bps.outbound.bof.runtime.DataNodeCache.<init>(DataNodeCache.java:29)
at com.documentum.bps.outbound.bof.runtime.BofModuleService.initServiceData(BofModuleService.java:115)
at com.documentum.bps.outbound.bof.runtime.BofModuleService.initServiceData(BofModuleService.java:29)
at com.documentum.bps.outbound.AbstractService.execute(AbstractService.java:65)
Thanks In advance.
-Hasan.
Best Answer
-
Thanks for your reply Lily, I got the error solved. The error was throwing from the Bean Class. There was strange error for Camel Case attributes. I changed the naming convention from Camel Case(attributeNames) to underscore (attribute_names). After changing this it stopped throwing nullPointerException.
Though it sounds strange but it is working....!!!!
0
Answers
-
The stateless process is executed on the xcp application server side.
You can turn on these trace in the application log4j to help you gather more information:
log4j.logger.com.emc.xcp.rest.core.process =DEBUG
log4j.logger.com.emc.xcp.services.process=DEBUG
log4j.logger.com.documentum.bps.bof=DEBUG
0 -
Thanks for your reply Lily, I got the error solved. The error was throwing from the Bean Class. There was strange error for Camel Case attributes. I changed the naming convention from Camel Case(attributeNames) to underscore (attribute_names). After changing this it stopped throwing nullPointerException.
Though it sounds strange but it is working....!!!!
0
Categories
- All Categories
- 108 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management