Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JBPM getFileDefinition always throw out nullPointException exception  RSS feed

Bo SunNZ
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!