mshahat / TIBCO_PSG18_API-led

TIBCO PSG 2018 Event | API Platform & API-led Integration track
1 stars 2 forks source link

JUnit test is failing #1

Open dev-mansonthomas opened 6 years ago

dev-mansonthomas commented 6 years ago

InitVoyage Code:

/**
 * @description 
 * @author tibco-vm
 */
rule Rules.CommandCenter.InitiateVoyage {
    attribute {
        priority = 5;
        forwardChain = true;
    }
    declare {
        Events.FleetUpdate newVoyage;
    }
    when {
        "At Departure" == XPath.evalAsString("xpath://<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xpath>\n <expr>$newVoyage/payload/tns:Voyage/CurrentLocation</expr>\n <namespaces>\n <namespace URI=\"http://www.w3.org/2001/XMLSchema\" pfx=\"xsd\"/>\n <namespace URI=\"www.tibco.com/be/ontology/Concepts/Voyage\" pfx=\"tns\"/>\n </namespaces>\n <variables>\n <variable>newVoyage</variable>\n </variables>\n</xpath>");
    }
    then {//Concepts.Voyage v = Instance.createInstance("xslt://{{/Concepts/Voyage}}");
Concepts.Voyage v = Instance.createInstance("xslt://{{/Concepts/Voyage}}<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" version=\"2.0\"><xsl:param name=\"v\"/><xsl:template name=\"Function\" match=\"/\"><createObject><object><xsl:copy-of select=\"$v/ancestor-or-self::*/namespace::node()\"/><xsl:copy-of select=\"$v/@*\"/><xsl:copy-of select=\"$v/node()\"/></object></createObject></xsl:template></xsl:stylesheet>");    
Event.consumeEvent(newVoyage);
System.debugOut("***** Voyage " + v@extId + " initiated");
System.debugOut(Instance.serializeUsingDefaults(v));
    }
}

Exception in the logs:

2018 Nov 05 17:46:23:892 GMT 0 cep-engine Info [main] - [runtime.service] BE engine CommandCenter initializing
2018 Nov 05 17:46:23:894 GMT 0 cep-engine Info [main] - [runtime.service] tibco.repourl -> /opt/projects/be/mtl.ear
2018 Nov 05 17:46:24:228 GMT 0 CommandCenter Warning [main] - [runtime.service] Could not load payload class:  com.tibco.cep.driver.tibrv.serializer.TibrvMsgPayload
Loading modules from :jar:file:/opt/tibco/cep/be/5.5/lib/cep-modules.jar!/cep-modules.xml
Ignoring module :file:/opt/tibco/cep/be/5.5/lib/cep-modules.jar!/cep-modules.xml already loaded from a different location
2018 Nov 05 17:46:24:325 GMT 0 CommandCenter Info [main] - [runtime.session] Starting BE engine in API mode
2018 Nov 05 17:46:24:325 GMT 0 CommandCenter Info [main] - [runtime.session] Loading catalog functions.
2018 Nov 05 17:46:24:328 GMT 0 CommandCenter Info [main] - [runtime.session] Loading the project from: /opt/projects/be/mtl.ear
2018 Nov 05 17:46:25:779 GMT 0 CommandCenter Info [main] - [runtime.session] Loaded the project successfully
2018 Nov 05 17:46:26:145 GMT 0 CommandCenter Info [Catalog-Functions-Loader] - [runtime.session] Loaded catalog functions.
2018 Nov 05 17:46:26:147 GMT 0 CommandCenter Info [main] - [runtime.session] Project XPATH version:2.0
2018 Nov 05 17:46:26:147 GMT 0 CommandCenter Info [main] - [runtime.session] Registering Ontology Classes...
2018 Nov 05 17:46:26:333 GMT 0 CommandCenter Info [main] - [runtime.session] Registered Ontology Classes
2018 Nov 05 17:46:26:356 GMT 0 CommandCenter Info [main] - [runtime.session] Loaded BE Jar catalog functions
2018 Nov 05 17:46:26:356 GMT 0 CommandCenter Info [main] - [runtime.session] EAR generated with:
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  be-functions.jar        : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  be-q.jar                : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  be-studiofunctions.jar  : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-analytics.jar       : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-as-channel.jar      : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-backingstore.jar    : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-base.jar            : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-common.jar          : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:357 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-container.jar       : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-datagrid-oracle.jar : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-datagrid-tibco.jar  : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-drivers.jar         : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-ftl.jar             : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-hawk-channel.jar    : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-interpreter.jar     : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-kernel.jar          : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-loadbalancer.jar    : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-maven.jar           : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-pattern.jar         : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-query.jar           : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-sb-channel.jar      : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:358 GMT 0 CommandCenter Info [main] - [runtime.session]  cep-security.jar        : Version 5.5.0.170, 2018-02-12 - 
2018 Nov 05 17:46:26:371 GMT 0 CommandCenter Info [main] - [runtime.session] [CommandCenter] Using ObjectManager type :com.tibco.cep.runtime.service.om.impl.mem.InMemoryObjectManager@7fe82967 Concurrent : false 
2018 Nov 05 17:46:26:384 GMT 0 CommandCenter Info [main] - [runtime.scheduler] [CommandCenter] Initialized thread pool [$default.be.mt$] with max [10] threads and max [1024] job queue size.
2018 Nov 05 17:46:26:606 GMT 0 CommandCenter Warning [main] - [runtime.session] [CommandCenter] The following rule(s) contain multiple equivalent join conditions, first equivalent condition will be used to produce join result. 
    Rules.CommandCenter.UpdateVoyage [existingVoyage, voyageUpdate]
2018 Nov 05 17:46:26:656 GMT 0 CommandCenter Info [main] - [studio.core] Hot Deployment disabled
2018 Nov 05 17:46:26:668 GMT 0 CommandCenter Info [main] - [runtime.service] Registering all BE-Engine level Group MBeans...
2018 Nov 05 17:46:26:672 GMT 0 CommandCenter Info [main] - [runtime.service] All BE-Engine level Group MBeans SUCCESSFULLY registered
2018 Nov 05 17:46:26:672 GMT 0 CommandCenter None [main] - [runtime.session] BE Engine CommandCenter started
2018 Nov 05 17:46:26:672 GMT 0 CommandCenter Info [main] - [runtime.service] rule service provider configured
2018 Nov 05 17:46:26:677 GMT 0 CommandCenter Info [main] - [runtime.service] starting rule session CommandCenter
2018 Nov 05 17:46:26:681 GMT 0 CommandCenter Info [main] - [runtime.service] rule session CommandCenter started
2018 Nov 05 17:46:26:687 GMT 0 CommandCenter Info [main] - [runtime.service] resetting rule session CommandCenter
2018 Nov 05 17:46:26:690 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] reset rule session took 2
2018 Nov 05 17:46:26:690 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] rule session CommandCenter reset
Generating XSDs...... 
2018 Nov 05 17:46:27:415 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:422 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=4>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.lambda$assertEvents$0(BETestEngine.java:294)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvents(BETestEngine.java:292)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test1_FleetUpdatesForShip1(TestMarineTransportLogistics.java:70)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 39 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 40 more
2018 Nov 05 17:46:27:425 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:426 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=8
2018 Nov 05 17:46:27:433 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] resetting rule session CommandCenter
2018 Nov 05 17:46:27:434 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] reset rule session took 1
2018 Nov 05 17:46:27:435 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] rule session CommandCenter reset
2018 Nov 05 17:46:27:463 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:464 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=9>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.lambda$assertEvents$0(BETestEngine.java:294)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvents(BETestEngine.java:292)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test2_FleetUpdatesForShip1To5(TestMarineTransportLogistics.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 39 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 40 more
2018 Nov 05 17:46:27:466 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:467 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=26
2018 Nov 05 17:46:27:468 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:469 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=11>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.lambda$assertEvents$0(BETestEngine.java:294)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvents(BETestEngine.java:292)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test2_FleetUpdatesForShip1To5(TestMarineTransportLogistics.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 39 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 40 more
2018 Nov 05 17:46:27:472 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:473 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=27
2018 Nov 05 17:46:27:475 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:477 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=12>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.lambda$assertEvents$0(BETestEngine.java:294)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvents(BETestEngine.java:292)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test2_FleetUpdatesForShip1To5(TestMarineTransportLogistics.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 39 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 40 more
2018 Nov 05 17:46:27:480 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:481 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=28
2018 Nov 05 17:46:27:483 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:484 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=19>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.lambda$assertEvents$0(BETestEngine.java:294)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvents(BETestEngine.java:292)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test2_FleetUpdatesForShip1To5(TestMarineTransportLogistics.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 39 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 40 more
2018 Nov 05 17:46:27:486 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:486 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=29
2018 Nov 05 17:46:27:487 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:487 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=22>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.lambda$assertEvents$0(BETestEngine.java:294)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvents(BETestEngine.java:292)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test2_FleetUpdatesForShip1To5(TestMarineTransportLogistics.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 39 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 40 more
2018 Nov 05 17:46:27:489 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:489 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=30
2018 Nov 05 17:46:27:493 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] resetting rule session CommandCenter
2018 Nov 05 17:46:27:501 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] reset rule session took 5
2018 Nov 05 17:46:27:502 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] rule session CommandCenter reset
2018 Nov 05 17:46:27:516 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] ***** Disruption created : ID_Shanghai_Trade war
2018 Nov 05 17:46:27:521 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] <?xml version="1.0" encoding="UTF-8"?>

<ns0:Disruption xmlns:ns0="www.tibco.com/be/ontology/Concepts/Disruption" Id="34" extId="ID_Shanghai_Trade war" type="www.tibco.com/be/ontology/Concepts/Disruption">
    <Type>Trade war</Type>
    <Description>Forbidden to dock. Redirect to Hong-Kong SAR</Description>
    <Source>Shanghai</Source>
    <AlternativePort>Hong Kong</AlternativePort>
</ns0:Disruption>
2018 Nov 05 17:46:27:525 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] ***** Disruption created : ID_Montreal_Iceberg drifting
2018 Nov 05 17:46:27:525 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] <?xml version="1.0" encoding="UTF-8"?>

<ns0:Disruption xmlns:ns0="www.tibco.com/be/ontology/Concepts/Disruption" Id="36" extId="ID_Montreal_Iceberg drifting" type="www.tibco.com/be/ontology/Concepts/Disruption">
    <Type>Iceberg drifting</Type>
    <Description>Detour required</Description>
    <Source>Montreal</Source>
    <AlternativePort>Montreal</AlternativePort>
</ns0:Disruption>
2018 Nov 05 17:46:27:525 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] ***** Disruption created : ID_New York_Weather alert
2018 Nov 05 17:46:27:526 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] <?xml version="1.0" encoding="UTF-8"?>

<ns0:Disruption xmlns:ns0="www.tibco.com/be/ontology/Concepts/Disruption" Id="38" extId="ID_New York_Weather alert" type="www.tibco.com/be/ontology/Concepts/Disruption">
    <Type>Weather alert</Type>
    <Description>Detour required</Description>
    <Source>New York</Source>
    <AlternativePort>New York</AlternativePort>
</ns0:Disruption>
2018 Nov 05 17:46:27:527 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] resetting rule session CommandCenter
2018 Nov 05 17:46:27:528 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] reset rule session took 0
2018 Nov 05 17:46:27:528 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] rule session CommandCenter reset
2018 Nov 05 17:46:27:529 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] ***** Disruption created : ID_Shanghai_Trade war
2018 Nov 05 17:46:27:529 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] <?xml version="1.0" encoding="UTF-8"?>

<ns0:Disruption xmlns:ns0="www.tibco.com/be/ontology/Concepts/Disruption" Id="43" extId="ID_Shanghai_Trade war" type="www.tibco.com/be/ontology/Concepts/Disruption">
    <Type>Trade war</Type>
    <Description>Forbidden to dock. Redirect to Hong-Kong SAR</Description>
    <Source>Shanghai</Source>
    <AlternativePort>Hong Kong</AlternativePort>
</ns0:Disruption>
2018 Nov 05 17:46:27:529 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] ***** Disruption created : ID_Montreal_Iceberg drifting
2018 Nov 05 17:46:27:530 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] <?xml version="1.0" encoding="UTF-8"?>

<ns0:Disruption xmlns:ns0="www.tibco.com/be/ontology/Concepts/Disruption" Id="45" extId="ID_Montreal_Iceberg drifting" type="www.tibco.com/be/ontology/Concepts/Disruption">
    <Type>Iceberg drifting</Type>
    <Description>Detour required</Description>
    <Source>Montreal</Source>
    <AlternativePort>Montreal</AlternativePort>
</ns0:Disruption>
2018 Nov 05 17:46:27:534 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] ***** Disruption created : ID_New York_Weather alert
2018 Nov 05 17:46:27:535 GMT 0 CommandCenter Info [main] - [user] [CommandCenter] <?xml version="1.0" encoding="UTF-8"?>

<ns0:Disruption xmlns:ns0="www.tibco.com/be/ontology/Concepts/Disruption" Id="47" extId="ID_New York_Weather alert" type="www.tibco.com/be/ontology/Concepts/Disruption">
    <Type>Weather alert</Type>
    <Description>Detour required</Description>
    <Source>New York</Source>
    <AlternativePort>New York</AlternativePort>
</ns0:Disruption>
2018 Nov 05 17:46:27:562 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:563 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=49>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvent(BETestEngine.java:278)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test4_BusinessDisruptions(TestMarineTransportLogistics.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 37 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 38 more
2018 Nov 05 17:46:27:565 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:27:566 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=66
2018 Nov 05 17:46:37:568 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:37:569 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=51>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvent(BETestEngine.java:278)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test4_BusinessDisruptions(TestMarineTransportLogistics.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 37 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 38 more
2018 Nov 05 17:46:37:570 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:37:571 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=67
2018 Nov 05 17:46:42:572 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:42:573 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=52>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvent(BETestEngine.java:278)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test4_BusinessDisruptions(TestMarineTransportLogistics.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 37 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 38 more
2018 Nov 05 17:46:42:574 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:46:42:575 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=68
2018 Nov 05 17:47:17:583 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:47:17:584 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=59>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvent(BETestEngine.java:278)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test4_BusinessDisruptions(TestMarineTransportLogistics.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 37 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 38 more
2018 Nov 05 17:47:17:585 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:47:17:586 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=69
2018 Nov 05 17:47:32:595 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:47:32:596 GMT 0 CommandCenter Error [main] - [runtime.service] [CommandCenter] Got runtime exception while executing Rule be.gen.Rules.CommandCenter.InitiateVoyage(Rules.CommandCenter.InitiateVoyage) Action be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a@41bfa9e9 Objects <be.gen.Events.FleetUpdate@id=62>
java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:200)
    at com.tibco.be.functions.object.ObjectHelper.createInstance2(SourceFile:158)
    at be.gen.Rules.CommandCenter.InitiateVoyage$InitiateVoyage_a.execute(InitiateVoyage.java:51)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:401)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:377)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1729)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1452)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:315)
    at com.tibco.cep.runtime.service.tester.core.TesterRun.assertObject(TesterRun.java:281)
    at com.tibco.cep.runtime.service.tester.beunit.BETestEngine.assertEvent(BETestEngine.java:278)
    at com.tibco.tn18.be.TestMarineTransportLogistics.test4_BusinessDisruptions(TestMarineTransportLogistics.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:321)
    at com.tibco.be.functions.object.ObjectHelper.createInstance(SourceFile:196)
    ... 37 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 21; A pseudo attribute name is expected. 
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:613)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:458)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:948)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:770)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:443)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    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:643)
    at com.tibco.xml.datamodel.parse.DefaultXiParser.parse(DefaultXiParser.java:120)
    at com.tibco.be.util.TraxSupport.getXiNode(TraxSupport.java:192)
    at com.tibco.be.util.TraxSupport.makeTransformerSource(TraxSupport.java:136)
    at com.tibco.be.util.TraxSupport.makeTAP(TraxSupport.java:104)
    at com.tibco.be.util.EngineTraxSupport.makeTAP(EngineTraxSupport.java:37)
    at com.tibco.be.util.EngineTraxSupport$TAPSync.init(EngineTraxSupport.java:54)
    at com.tibco.be.util.EngineTraxSupport.getTemplates(EngineTraxSupport.java:19)
    at com.tibco.be.functions.object.ObjectHelper.transform2Instance(SourceFile:331)
    at com.tibco.be.functions.object.ObjectHelper.createInstance3(SourceFile:315)
    ... 38 more
2018 Nov 05 17:47:32:596 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.InitiateVoyage@3b545206
2018 Nov 05 17:47:32:597 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] Calling queue object for >>> AdvisoryEvent@id=70
2018 Nov 05 17:47:52:601 GMT 0 CommandCenter Info [main] - [runtime.service] [CommandCenter] provider CommandCenter shutting down
com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl@1772102816 is being shutdown by thread [main]. Trace follows.
    com.tibco.cep.runtime.service.tester.core.TesterRuleServiceProvider.shutdown(TesterRuleServiceProvider.java:267)
    com.tibco.cep.runtime.service.tester.beunit.BETestEngine.shutdown(BETestEngine.java:439)
    com.tibco.tn18.be.TestMarineTransportLogistics.tearDownAfterClass(TestMarineTransportLogistics.java:49)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
    org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

2018 Nov 05 17:47:52:602 GMT 0 CommandCenter Info [main] - [runtime.session] [CommandCenter] Deactivating channels ...
2018 Nov 05 17:47:52:602 GMT 0 CommandCenter Info [main] - [runtime.session] [CommandCenter] RuleServiceProvider CommandCenter is shutting down.
2018 Nov 05 17:47:57:543 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.EvictDisruption@77bb48d5
2018 Nov 05 17:47:57:546 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [user] [CommandCenter] ***** Disruption evicted : ID_Shanghai_Trade war
2018 Nov 05 17:47:57:547 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.EvictDisruption@77bb48d5
2018 Nov 05 17:47:57:548 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Concepts.Disruption@id=43@extId=ID_Shanghai_Trade war&v=0
2018 Nov 05 17:47:57:548 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Events.DisruptorEviction@id=44
2018 Nov 05 17:47:57:549 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.EvictDisruption@77bb48d5
2018 Nov 05 17:47:57:550 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [user] [CommandCenter] ***** Disruption evicted : ID_Montreal_Iceberg drifting
2018 Nov 05 17:47:57:550 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.EvictDisruption@77bb48d5
2018 Nov 05 17:47:57:550 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Concepts.Disruption@id=45@extId=ID_Montreal_Iceberg drifting&v=0
2018 Nov 05 17:47:57:551 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Events.DisruptorEviction@id=46
2018 Nov 05 17:47:57:551 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.EvictDisruption@77bb48d5
2018 Nov 05 17:47:57:551 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [user] [CommandCenter] ***** Disruption evicted : ID_New York_Weather alert
2018 Nov 05 17:47:57:552 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Rules.CommandCenter.EvictDisruption@77bb48d5
2018 Nov 05 17:47:57:552 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Concepts.Disruption@id=47@extId=ID_New York_Weather alert&v=0
2018 Nov 05 17:47:57:553 GMT 0 CommandCenter Info [CommandCenter.HiResTimer] - [runtime.service] [CommandCenter] Calling queue object for >>> be.gen.Events.DisruptorEviction@id=48
2018 Nov 05 17:47:57:606 GMT 0 CommandCenter Info [main] - [runtime.session] [CommandCenter] Rulesessions shutdown successfully
2018 Nov 05 17:47:57:606 GMT 0 CommandCenter Info [main] - [runtime.session] Shutting down ChannelManager ...
2018 Nov 05 17:47:57:607 GMT 0 CommandCenter Info [main] - [runtime.session] Shutting down RuleAdministrator ...
2018 Nov 05 17:47:57:607 GMT 0 CommandCenter Info [main] - [runtime.session] Stopping modules ...
2018 Nov 05 17:47:57:607 GMT 0 CommandCenter Info [main] - [runtime.session] Stopping services ...
2018 Nov 05 17:47:57:608 GMT 0 CommandCenter Info [main] - [runtime.session] Stopped services.
2018 Nov 05 17:47:57:608 GMT 0 CommandCenter Info [main] - [runtime.service] provider CommandCenter shut down
mshahat commented 6 years ago

thanks @dev-mansonthomas . Hi @sergebagi , we've this error with a few students, is it possible to give us some suggestions? That's Lab 1 Thanks,

sergebagi commented 5 years ago

Hi guys, the error above is an xml parser error. I see two things you can check:

1/ Your v concept Instance.createInstance() is wrong. In the xpath formula builder you are using the variable v to create v itself. v should be created out of variable newVoyage which come from the coming event (see original project)

2/ Double check your FleetUpdate_Ship1.eventtestdata (and the other data files probably), they might have got corrupted somehow. Make sure you get the original ones from the project.