File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes JBPM getFileDefinition always throw out nullPointException exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBPM getFileDefinition always throw out nullPointException exception" Watch "JBPM getFileDefinition always throw out nullPointException exception" New topic
Author

JBPM getFileDefinition always throw out nullPointException exception

Bo SunNZ
Greenhorn

Joined: Jul 31, 2007
Posts: 2
Hi there

have a problem in getting a JBPM definition file as below

ProcessDefinition def = graphSession.findLatestProcessDefinition(definitionName);

InputStream is = def.getFileDefinition().getInputStream(definitionName);

I tested def.getId and def.getName which return correct results in case. However, when invoking getFileDefinition, always get nullPointException.

Can anybody give me some suggestions? cheers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBPM getFileDefinition always throw out nullPointException exception
 
Similar Threads
JBpm
WorkFlow Engine
deploying jbpm to jboss
what is best BPM solution provider ?
Java Workflow Server