aspose 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.
 
Don't get me started about those stupid light bulbs.
 
subject: JBPM getFileDefinition always throw out nullPointException exception