BW 5.x : unexpected content {www.tibco.com/plugin/java/xmlSchema/com.lib.SimpleTagContent}SimpleTagContent; expected {http://xmlns.tibco.com/javaschema/com.lib.SimpleTagContent}SimpleTagContent

Hello,

I'm designing a simple process where I use an XMLTo Java activity to prepare an object reference input for a Java Code activity.

 

During the design everything works fine, and no validation error is there. But once I try to build the ear or test the process I get the described error. I don't check the box "Use Java Schema" because the first time I used it the package got incosistent each time I had to build it from the jenkins delivery server, and each time I had to drop and recreate the java schemas, so I decided not to use the Java Schema, but the designer seems to insist on that !

 

I even rewritten the whole process from scratch to make sure no namespace corruption will be triggered by checking and unchecking this box, but it didn't help.

 

Please help as the development of a new feature is stuck because of this unexplainable issue...

 

Below the stack trace:

 

<?xml version = "1.0" encoding = "UTF-8"?>

<ns0:ErrorReport xmlns:ns0 = "http://www.tibco.com/pe/EngineTypes">

    <StackTrace>Job-2000 Error in [LIB-EMAIL/Modules/MD_Async_Out_EMAIL/Action/SimpleContentReplacement.process/IterateSimpleTags/PrepareSimpleTag]

Input data invalid

    at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:562)

    at com.tibco.pe.core.Job.step(Job.java:729)

    at com.tibco.pe.core.Job.checkStep(Job.java:518)

    at com.tibco.pe.core.JobDispatcher$JobCourier.runx(JobDispatcher.java:249)

    at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)

caused by: org.xml.sax.SAXException: validation error:    ({com.tibco.xml.validation}COMPLEX_E_UNEXPECTED_CONTENT) at /ns2:XmlToJavaActivityInput[1]/ns1:SimpleTagContent[1]

com.tibco.xml.validation.exception.UnexpectedElementException: unexpected content "{www.tibco.com/plugin/java/xmlSchema/com.lib.SimpleTagContent}SimpleTagContent"; expected "{http://xmlns.tibco.com/javaschema/com.lib.SimpleTagContent}SimpleTagContent"

    at com.tibco.xml.validation.state.a.c.a(CMElementValidationState.java:476)

    at com.tibco.xml.validation.state.a.c.a(CMElementValidationState.java:270)

    at com.tibco.xml.validation.state.driver.ValidationJazz.c(ValidationJazz.java:993)

    at com.tibco.xml.validation.state.driver.ValidationJazz.b(ValidationJazz.java:898)

    at com.tibco.xml.validation.state.driver.ValidationJazz.endAttributes(ValidationJazz.java:783)

    at com.tibco.xml.validation.state.glue.XmlContentValidationDriver.d(XmlContentValidationDriver.java:326)

    at com.tibco.xml.validation.state.glue.XmlContentValidationDriver.startElement(XmlContentValidationDriver.java:95)

    at com.tibco.xml.transform.impl.expr.h.a(XslConditioningFilter3.java:616)

    at com.tibco.xml.transform.impl.expr.h.text(XslConditioningFilter3.java:363)

    at com.tibco.xml.transform.impl.expr.O.a(TmValueOfLegacyExpr.java:76)

    at com.tibco.xml.transform.impl.expr.O.execute(TmValueOfLegacyExpr.java:43)

    at com.tibco.xml.transform.impl.expr.ac.execute(TmLiteralResultElementExpr.java:141)

    at com.tibco.xml.transform.impl.expr.au.execute(XslContentExpr.java:136)

    at com.tibco.xml.transform.impl.expr.ac.execute(TmLiteralResultElementExpr.java:141)

    at com.tibco.xml.transform.impl.expr.ac.execute(TmLiteralResultElementExpr.java:141)

    at com.tibco.xml.transform.impl.expr.J.a(DefaultTemplateExpr.java:143)

    at com.tibco.xml.transform.impl.expr.u.a(DefaultModuleTransformExpr.java:289)

    at com.tibco.xml.transform.impl.expr.u.a(DefaultModuleTransformExpr.java:173)

    at com.tibco.xml.transform.trax.c.transform(TmTransformerImpl.java:318)

    at com.tibco.xml.xdata.bind.OnceOnlyBinding.stream(Unknown Source)

    at com.tibco.xml.xdata.bind.ReusableBinding.a(Unknown Source)

    at com.tibco.xml.xdata.bind.ReusableBinding.getXiNode(Unknown Source)

    at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:554)

    at com.tibco.pe.core.Job.step(Job.java:729)

    at com.tibco.pe.core.Job.checkStep(Job.java:518)

    at com.tibco.pe.core.JobDispatcher$JobCourier.runx(JobDispatcher.java:249)

    at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)

validation error: no declaration for element "{www.tibco.com/plugin/java/xmlSchema/com.lib.SimpleTagContent}SimpleTagContent"   ({com.tibco.xml.validation}COMPLEX_E_MISSING_ELEMENT_DECLARATION) at /ns2:XmlToJavaActivityInput[1]/ns1:SimpleTagContent[1]

com.tibco.xml.validation.exception.MissingDeclarationException: no declaration for element "{www.tibco.com/plugin/java/xmlSchema/com.lib.SimpleTagContent}SimpleTagContent"

    at com.tibco.xml.validation.state.driver.ValidationJazz.b(ValidationJazz.java:906)

    at com.tibco.xml.validation.state.driver.ValidationJazz.endAttributes(ValidationJazz.java:783)

    at com.tibco.xml.validation.state.glue.XmlContentValidationDriver.d(XmlContentValidationDriver.java:326)

    at com.tibco.xml.validation.state.glue.XmlContentValidationDriver.startElement(XmlContentValidationDriver.java:95)

    at com.tibco.xml.transform.impl.expr.h.a(XslConditioningFilter3.java:616)

    at com.tibco.xml.transform.impl.expr.h.text(XslConditioningFilter3.java:363)

    at com.tibco.xml.transform.impl.expr.O.a(TmValueOfLegacyExpr.java:76)

    at com.tibco.xml.transform.impl.expr.O.execute(TmValueOfLegacyExpr.java:43)

    at com.tibco.xml.transform.impl.expr.ac.execute(TmLiteralResultElementExpr.java:141)

    at com.tibco.xml.transform.impl.expr.au.execute(XslContentExpr.java:136)

    at com.tibco.xml.transform.impl.expr.ac.execute(TmLiteralResultElementExpr.java:141)

    at com.tibco.xml.transform.impl.expr.ac.execute(TmLiteralResultElementExpr.java:141)

    at com.tibco.xml.transform.impl.expr.J.a(DefaultTemplateExpr.java:143)

    at com.tibco.xml.transform.impl.expr.u.a(DefaultModuleTransformExpr.java:289)

    at com.tibco.xml.transform.impl.expr.u.a(DefaultModuleTransformExpr.java:173)

    at com.tibco.xml.transform.trax.c.transform(TmTransformerImpl.java:318)

    at com.tibco.xml.xdata.bind.OnceOnlyBinding.stream(Unknown Source)

    at com.tibco.xml.xdata.bind.ReusableBinding.a(Unknown Source)

    at com.tibco.xml.xdata.bind.ReusableBinding.getXiNode(Unknown Source)

    at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:554)

    at com.tibco.pe.core.Job.step(Job.java:729)

    at com.tibco.pe.core.Job.checkStep(Job.java:518)

    at com.tibco.pe.core.JobDispatcher$JobCourier.runx(JobDispatcher.java:249)

    at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)

    at com.tibco.xml.xdata.bind.BindingRemarkHandler.assertNoErrors(Unknown Source)

    at com.tibco.xml.xdata.bind.OnceOnlyBinding.assertNoErrors(Unknown Source)

    at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:556)

    at com.tibco.pe.core.Job.step(Job.java:729)

    at com.tibco.pe.core.Job.checkStep(Job.java:518)

    at com.tibco.pe.core.JobDispatcher$JobCourier.runx(JobDispatcher.java:249)

    at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)

    </StackTrace>

    <Msg>Input data invalid</Msg>

    <FullClass>com.tibco.pe.core.BindException</FullClass>

    <Class>BindException</Class>

    <ProcessStack>LIB-EMAIL/Tests/UnitTests/TestAsyncMail.process/Send mail>LIB-EMAIL/Modules/MD_Async_Out_EMAIL/Action/AsyncMailSender.process/Iterate on recipients by mail/Replace subject content>LIB-EMAIL/Modules/MD_Async_Out_EMAIL/Action/SimpleContentReplacement.process/IterateSimpleTags/PrepareSimpleTag</ProcessStack>

    <MsgCode>BWENGINE-100030</MsgCode>

</ns0:ErrorReport>

 

Attachments

AttachmentSize
Image icon binderror.png30.33 KB
Login