Michael Wagner [
http://community.jboss.org/people/michael.wagner] created the discussion
"Create new bpmn processes"
To view the discussion, visit:
http://community.jboss.org/message/613462#613462
--------------------------------------------------------------
Hi,
if I create a new bpmn process in guvnor with tree nodes(hello world example) and an id
and package name "defaultPackage" and then build the project whithin guvnor I
get "unable to parse xml : Exception class java.lang.NullPointerException :
null".
From the log:
2011-07-05 13:31:28,738 ERROR [STDERR]
(http-localhost%2F127.0.0.1-8080-10) java.lang.NullPointerException 2011-07-05
13:31:28,738 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jbpm.bpmn2.xml.di.BPMNPlaneHandler.end(BPMNPlaneHandler.java:75) 2011-07-05
13:31:28,738 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.xml.ExtensibleXmlParser.endElement(ExtensibleXmlParser.java:414) 2011-07-05
13:31:28,738 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) 2011-07-05
13:31:28,738 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source) 2011-07-05
13:31:28,738 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source) 2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2011-07-05 13:31:28,832
ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2011-07-05 13:31:28,832
ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2011-07-05 13:31:28,832 ERROR
[STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 2011-07-05 13:31:28,832
ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) 2011-07-05 13:31:28,832 ERROR
[STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:293) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:172) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:249)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:516) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:529) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.compile(BPMN2ProcessHandler.java:211)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.builder.PackageAssemblerBase.compile(PackageAssemblerBase.java:67)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.builder.PackageAssemblerBase.buildAsset(PackageAssemblerBase.java:56)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.builder.PackageAssembler.addAsset(PackageAssembler.java:99)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.builder.PackageAssembler.loadAllButDRLAssets(PackageAssembler.java:83)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.builder.PackageAssembler.loadAssets(PackageAssembler.java:73)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.builder.PackageAssembler.buildPackage(PackageAssembler.java:65)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.builder.PackageAssembler.compile(PackageAssembler.java:55)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.RepositoryPackageOperations.buildPackage(RepositoryPackageOperations.java:524)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.RepositoryPackageOperations.buildPackage(RepositoryPackageOperations.java:480)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.RepositoryPackageService.buildPackage(RepositoryPackageService.java:299)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011-07-05 13:31:28,832 ERROR
[STDERR] (http-localhost%2F127.0.0.1-8080-10) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
java.lang.reflect.Method.invoke(Method.java:597) 2011-07-05 13:31:28,832 ERROR [STDERR]
(http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.util.Reflections.invoke(Reflections.java:22) 2011-07-05 13:31:28,832 ERROR
[STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.RepositoryPackageService_$$_javassist_9.buildPackage(RepositoryPackageService_$$_javassist_9.java)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:282)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2011-07-05 13:31:28,832 ERROR
[STDERR] (http-localhost%2F127.0.0.1-8080-10) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
java.lang.reflect.Method.invoke(Method.java:597) 2011-07-05 13:31:28,832 ERROR [STDERR]
(http-localhost%2F127.0.0.1-8080-10) at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) 2011-07-05
13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 2011-07-05 13:31:28,832 ERROR
[STDERR] (http-localhost%2F127.0.0.1-8080-10) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 2011-07-05 13:31:28,832 ERROR
[STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42) 2011-07-05 13:31:28,832
ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) 2011-07-05 13:31:28,832
ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2011-07-05 13:31:28,832 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2011-07-05 13:31:28,925 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2011-07-05 13:31:28,925 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
2011-07-05 13:31:28,925 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) 2011-07-05
13:31:28,925 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2011-07-05 13:31:28,925 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2011-07-05 13:31:29,035 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 2011-07-05
13:31:29,035 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 2011-07-05
13:31:29,035 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2011-07-05 13:31:29,035 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2011-07-05 13:31:29,035 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) 2011-07-05
13:31:29,129 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) 2011-07-05
13:31:29,129 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
2011-07-05 13:31:29,129 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 2011-07-05
13:31:29,129 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-10) at
java.lang.Thread.run(Thread.java:662)
If I import the process into eclipse it shows no error.
Michael
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/613462#613462]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]