permaculture playing cards*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
wood burning stoves
 
subject: JBPM getFileDefinition always throw out nullPointException exception