mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\eclipsenew\m asonprojects\Mule30SplitterAggregator\system\in\sample.xml ERROR 2011-01-03 13:12:05,617 [http://mule-split].flow.fileFlow.1 org.mule.processor. OptionalAsyncInterceptingMessageProcessor: Work caused exception on 'workComplet ed'. Work being executed was: org.mule.processor.AsyncInterceptingMessageProcess or$AsyncMessageProcessorWorker@5d8440 Exception in thread "mule-split.flow.fileFlow.1" org.mule.api.MuleRuntimeExcep tion: An exception occurred while invoking message processor "DefaultMessageProc essorChain '(inner iterating chain) of null' ...

MuleSoft JIRA | D Henton | 6 years ago
  1. 0

    Configuration is below: <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:mxml="http://www.mulesoft.org/schema/mule/xml" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xmlns:file="http://www.mulesoft.org/schema/mule/file" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/3.1/mule-file.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.1/mule-vm.xsd http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.1/mule-jms.xsd http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/3.1/mule-xml.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.1/mule-vm.xsd"> <mxml:xml-to-dom-transformer ignoreBadInput="false" returnClass="org.w3c.dom.Document" name="xmlToDom" /> <file:connector name="inboundFileConnector" autoDelete="true" streaming="true" pollingFrequency="2000" /> <global-property name="systemLocation" value="/eclipsenew/MasonProjects/Mule30SplitterAggregator/system" /> <flow name="fileFlow"> <file:inbound-endpoint connector-ref="inboundFileConnector" address="file://${systemLocation}/in"> <file:filename-wildcard-filter pattern="*.xml" /> </file:inbound-endpoint> <transformer ref="xmlToDom"/> <splitter evaluator="xpath" expression="//item" /> <log-component></log-component> </flow> </mule> Here's a sample file: <?xml version="1.0" encoding="UTF-8"?> <items> <item>alpha</item> <item>beta</item> <item>gamma</item> </items> Here's the error INFO 2011-01-03 13:12:05,601 [http://mule-split].inboundFileConnector.receiver.1 org .mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\eclipsenew\m asonprojects\Mule30SplitterAggregator\system\in\sample.xml ERROR 2011-01-03 13:12:05,617 [http://mule-split].flow.fileFlow.1 org.mule.processor. OptionalAsyncInterceptingMessageProcessor: Work caused exception on 'workComplet ed'. Work being executed was: org.mule.processor.AsyncInterceptingMessageProcess or$AsyncMessageProcessorWorker@5d8440 Exception in thread "mule-split.flow.fileFlow.1" org.mule.api.MuleRuntimeExcep tion: An exception occurred while invoking message processor "DefaultMessageProc essorChain '(inner iterating chain) of null' ... at org.mule.work.WorkerContext.run(WorkerContext.java:309) ... 3 more Caused by: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a dif ferent document than the one that created it. at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source) at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source) at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source) at org.mule.module.xml.expression.XPathNodeExpressionEvaluator.extractRe sultFromNode(XPathNodeExpressionEvaluator.java:55) at org.mule.module.xml.expression.AbstractXPathExpressionEvaluator.extra ctResultsFromNodes(AbstractXPathExpressionEvaluator.java:188) at org.mule.module.xml.expression.AbstractXPathExpressionEvaluator.evalu ate(AbstractXPathExpressionEvaluator.java:124) ... 16 more This is from post in the forums: http://forums.mulesoft.org/thread.jspa?threadID=4509&tstart=0

    MuleSoft JIRA | 6 years ago | D Henton
    mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\eclipsenew\m asonprojects\Mule30SplitterAggregator\system\in\sample.xml ERROR 2011-01-03 13:12:05,617 [http://mule-split].flow.fileFlow.1 org.mule.processor. OptionalAsyncInterceptingMessageProcessor: Work caused exception on 'workComplet ed'. Work being executed was: org.mule.processor.AsyncInterceptingMessageProcess or$AsyncMessageProcessorWorker@5d8440 Exception in thread "mule-split.flow.fileFlow.1" org.mule.api.MuleRuntimeExcep tion: An exception occurred while invoking message processor "DefaultMessageProc essorChain '(inner iterating chain) of null' ...
  2. 0

    Configuration is below: <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:mxml="http://www.mulesoft.org/schema/mule/xml" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xmlns:file="http://www.mulesoft.org/schema/mule/file" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/3.1/mule-file.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.1/mule-vm.xsd http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.1/mule-jms.xsd http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/3.1/mule-xml.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.1/mule-vm.xsd"> <mxml:xml-to-dom-transformer ignoreBadInput="false" returnClass="org.w3c.dom.Document" name="xmlToDom" /> <file:connector name="inboundFileConnector" autoDelete="true" streaming="true" pollingFrequency="2000" /> <global-property name="systemLocation" value="/eclipsenew/MasonProjects/Mule30SplitterAggregator/system" /> <flow name="fileFlow"> <file:inbound-endpoint connector-ref="inboundFileConnector" address="file://${systemLocation}/in"> <file:filename-wildcard-filter pattern="*.xml" /> </file:inbound-endpoint> <transformer ref="xmlToDom"/> <splitter evaluator="xpath" expression="//item" /> <log-component></log-component> </flow> </mule> Here's a sample file: <?xml version="1.0" encoding="UTF-8"?> <items> <item>alpha</item> <item>beta</item> <item>gamma</item> </items> Here's the error INFO 2011-01-03 13:12:05,601 [http://mule-split].inboundFileConnector.receiver.1 org .mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\eclipsenew\m asonprojects\Mule30SplitterAggregator\system\in\sample.xml ERROR 2011-01-03 13:12:05,617 [http://mule-split].flow.fileFlow.1 org.mule.processor. OptionalAsyncInterceptingMessageProcessor: Work caused exception on 'workComplet ed'. Work being executed was: org.mule.processor.AsyncInterceptingMessageProcess or$AsyncMessageProcessorWorker@5d8440 Exception in thread "mule-split.flow.fileFlow.1" org.mule.api.MuleRuntimeExcep tion: An exception occurred while invoking message processor "DefaultMessageProc essorChain '(inner iterating chain) of null' ... at org.mule.work.WorkerContext.run(WorkerContext.java:309) ... 3 more Caused by: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a dif ferent document than the one that created it. at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source) at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source) at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source) at org.mule.module.xml.expression.XPathNodeExpressionEvaluator.extractRe sultFromNode(XPathNodeExpressionEvaluator.java:55) at org.mule.module.xml.expression.AbstractXPathExpressionEvaluator.extra ctResultsFromNodes(AbstractXPathExpressionEvaluator.java:188) at org.mule.module.xml.expression.AbstractXPathExpressionEvaluator.evalu ate(AbstractXPathExpressionEvaluator.java:124) ... 16 more This is from post in the forums: http://forums.mulesoft.org/thread.jspa?threadID=4509&tstart=0

    MuleSoft JIRA | 6 years ago | D Henton
    mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\eclipsenew\m asonprojects\Mule30SplitterAggregator\system\in\sample.xml ERROR 2011-01-03 13:12:05,617 [http://mule-split].flow.fileFlow.1 org.mule.processor. OptionalAsyncInterceptingMessageProcessor: Work caused exception on 'workComplet ed'. Work being executed was: org.mule.processor.AsyncInterceptingMessageProcess or$AsyncMessageProcessorWorker@5d8440 Exception in thread "mule-split.flow.fileFlow.1" org.mule.api.MuleRuntimeExcep tion: An exception occurred while invoking message processor "DefaultMessageProc essorChain '(inner iterating chain) of null' ...
  3. 0

    Trailing new line results in 'org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. '

    GitHub | 2 years ago | pawelprazak
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JAX-WS trouble at handling the response message on the client side

    Stack Overflow | 5 years ago | matteo84
    org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.
  6. 0

    XSLT transformation does not work in server start mode in WID 6.1.2

    Google Groups | 7 years ago | suraj...@in.ibm.com
    javax.xml.transform.TransformerException: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.w3c.dom.DOMException

      WRONG_DOCUMENT_ERR: A node is used in a dif ferent document than the one that created it.

      at org.apache.xerces.dom.ParentNode.internalInsertBefore()
    2. Xerces2-j
      NodeImpl.appendChild
      1. org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
      2. org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
      3. org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source)
      4. org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
      4 frames