1 Reply Latest reply on Aug 31, 2014 2:20 PM by Prabakar Singaram

    BPMN2 process import error

    Prabakar Singaram Newbie

      Hi,

      I imported bpmn2 file into JBDS, compilation fails due to the following error.. any help will be appreciated.(bpmn file attached)..

       

      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

      SLF4J: Defaulting to no-operation (NOP) logger implementation

      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

      java.lang.IllegalArgumentException: Unknown gateway direction: Mixed

          at org.jbpm.bpmn2.xml.ExclusiveGatewayHandler.createNode(ExclusiveGatewayHandler.java:39)

          at org.jbpm.bpmn2.xml.AbstractNodeHandler.start(AbstractNodeHandler.java:104)

          at org.drools.core.xml.ExtensibleXmlParser.startElement(ExtensibleXmlParser.java:390)

          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)

          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:749)

          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

          at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

          at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)

          at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332)

          at org.drools.core.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:301)

          at org.drools.core.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:180)

          at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)

          at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:276)

          at org.drools.compiler.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:700)

          at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.buildResources(CompositeKnowledgeBuilderImpl.java:149)

          at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:86)

          at org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:219)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.createKieBase(KieContainerImpl.java:387)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:347)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:499)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:470)

          at com.sample.ProcessTest.main(ProcessTest.java:17)

      java.lang.IllegalArgumentException: No interfaces found

          at org.jbpm.bpmn2.xml.ServiceTaskHandler.handleNode(ServiceTaskHandler.java:52)

          at org.jbpm.bpmn2.xml.TaskHandler.end(TaskHandler.java:168)

          at org.drools.core.xml.ExtensibleXmlParser.endElement(ExtensibleXmlParser.java:422)

          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)

          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidator.java:863)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1781)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2957)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

          at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

          at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)

          at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332)

          at org.drools.core.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:301)

          at org.drools.core.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:180)

          at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)

          at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:276)

          at org.drools.compiler.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:700)

          at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.buildResources(CompositeKnowledgeBuilderImpl.java:149)

          at org.drools.compiler.compiler.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:86)

          at org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:219)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.createKieBase(KieContainerImpl.java:387)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:347)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:499)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:470)

          at com.sample.ProcessTest.main(ProcessTest.java:17)

      java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=process/KYCProcess.bpmn, line=-1, column=0

         text=unable to parse xml : Exception class java.lang.IllegalArgumentException : Unknown gateway direction: Mixed], Message [id=2, level=ERROR, path=process/InitialProjectPlan.bpmn, line=-1, column=0

         text=unable to parse xml : Exception class java.lang.IllegalArgumentException : No interfaces found]]

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:350)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:499)

          at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:470)

          at com.sample.ProcessTest.main(ProcessTest.java:17)


      NOTE: this has been imported from ibm blueworks live to bpmn2 file,