Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBPM getFileDefinition always throw out nullPointException exception

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