0 Replies Latest reply on Apr 3, 2006 5:36 PM by sbhatti

    Found error while running Websale sample: couldn't parse pro

      I am trying to run examples for jbpm and found following error while running Websale example.
      16:21:53,732 [main] ERROR JpdlXmlReader : couldn't parse process definition
      org.dom4j.DocumentException: null Nested exception: null
      at org.dom4j.io.SAXReader.read(SAXReader.java:484)
      at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
      at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
      at WebsaleTest.deployProcess(WebsaleTest.java:35)
      at WebsaleTest.setUp(WebsaleTest.java:28)
      at junit.framework.TestCase.runBare(TestCase.java:125)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.textui.TestRunner.doRun(TestRunner.java:116)
      at junit.textui.TestRunner.doRun(TestRunner.java:109)
      at junit.textui.TestRunner.run(TestRunner.java:72)
      at junit.textui.TestRunner.run(TestRunner.java:57)
      at WebsaleTest.main(WebsaleTest.java:202)
      Nested exception:
      java.net.MalformedURLException
      at java.net.URL.(URL.java:571)
      at java.net.URL.(URL.java:434)
      at java.net.URL.(URL.java:383)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.dom4j.io.SAXReader.read(SAXReader.java:465)
      at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
      at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
      at WebsaleTest.deployProcess(WebsaleTest.java:35)
      at WebsaleTest.setUp(WebsaleTest.java:28)
      at junit.framework.TestCase.runBare(TestCase.java:125)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.textui.TestRunner.doRun(TestRunner.java:116)
      at junit.textui.TestRunner.doRun(TestRunner.java:109)
      at junit.textui.TestRunner.run(TestRunner.java:72)
      at junit.textui.TestRunner.run(TestRunner.java:57)
      at WebsaleTest.main(WebsaleTest.java:202)



      Thanks in advance.