This content has been marked as final.
Show 2 replies
-
1. Re: Null Exception when identity.db.xml is not null????
aguizar Jan 9, 2006 12:20 AM (in response to forjbpm)I guess the JBPM_HOME substring stands for an absolute path in your file system, right? In that case the form of parseEntitiesResource() that takes a String is not the right one to use, because the string identifies a resource in your classpath. Try this instead
InputStream entitiesStream = new BufferedInputStream(new FileInputStream("JBPM_HOME/jbpm/src/resources/hsqldb/identity.db.xml")); Entity[] entities = IdentityXmlParser.parseEntitiesResource(entitiesStream); entitiesStream.close();
-
2. Re: Null Exception when identity.db.xml is not null????
forjbpm Jan 10, 2006 4:41 PM (in response to forjbpm)This worked!
But Just FYI Even If I provide full path like
"/home/jbpm-starters-kit-3.0.2/..." I get same error in previous case but solution you have provided works perfect in either case.
Thanks Again!