You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2009/03/06 16:43:56 UTC
[jira] Assigned: (ODE-544) Missing prefix declarations in literal
xml causes NAMESPACE_ERR: An attempt is made to create...
[ https://issues.apache.org/jira/browse/ODE-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert reassigned ODE-544:
---------------------------------
Assignee: Karthick Sankarachary
> Missing prefix declarations in literal xml causes NAMESPACE_ERR: An attempt is made to create...
> -------------------------------------------------------------------------------------------------
>
> Key: ODE-544
> URL: https://issues.apache.org/jira/browse/ODE-544
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3
> Reporter: Colin
> Assignee: Karthick Sankarachary
> Fix For: 1.3
>
> Attachments: HelloWorld2.zip
>
>
> Hey guys,
> I commented on https://issues.apache.org/jira/browse/ODE-536 which made no sense at all.
> I created a copy activity below:
> <bpws:copy>
> <bpws:from>
> <bpws:literal>
> <supercalifragilisticexpialidocious>
> <complexStuff xmlns="http://ode/bpel/unit-test-diff">
> <mytext>Initialised-supercalifragilisticexpialidocious</mytext>
> </complexStuff>
> </supercalifragilisticexpialidocious>
> </bpws:literal>
> </bpws:from>
> <bpws:to variable="supercalifragilisticexpialidocious"/>
> </bpws:copy>
> Note that the xml in the literal has no xml prefix declarations but it still valid. This seems to cause the following exception:
> ERROR - GeronimoLog.error(108) | Error while executing transaction
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.RuntimeException: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or c
> hange an object in a way which is incorrect with regard to namespaces.
> at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:409)
> at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:391)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
> at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect wit
> h regard to namespaces.
> at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
> at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
> at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:868)
> at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
> at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:221)
> at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:393)
> at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:399)
> ... 11 more
> Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
> at org.apache.xerces.dom.CoreDocumentImpl.checkDOMNSErr(Unknown Source)
> at org.apache.xerces.dom.ElementNSImpl.setName(Unknown Source)
> at org.apache.xerces.dom.ElementNSImpl.<init>(Unknown Source)
> at org.apache.xerces.dom.CoreDocumentImpl.createElementNS(Unknown Source)
> at org.apache.ode.utils.DOMUtils.cloneNode(DOMUtils.java:1155)
> at org.apache.ode.bpel.runtime.ASSIGN.replaceElement(ASSIGN.java:490)
> at org.apache.ode.bpel.runtime.ASSIGN.copy(ASSIGN.java:416)
> at org.apache.ode.bpel.runtime.ASSIGN.run(ASSIGN.java:81)
> at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
> ... 17 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.