[mule-jira] (MULE-6307) The for each element should work with org.apache.xerces.dom.DocumentImpl
|
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
3.3.0 |
|
Assignee:
|
Unassigned |
|
Components:
|
Core: Components |
|
Created:
|
20/Jun/12 06:19 PM
|
|
Description:
|
If you send a org.w3c.dom.Document to the mp foreach and you try to split it using an xpath expression you will obtain the following exception
8328[Thread-2]ERROR (DispatchingLogger.java:341) -
********************************************************************************
Message : null (java.lang.NullPointerException). Message payload is of type: DocumentImpl
Code : MULE_ERROR-29999
--------------------------------------------------------------------------------
Exception stack is:
1. null (java.lang.NullPointerException)
org.mule.routing.ExpressionSplitter:97 (null)
2. null (java.lang.NullPointerException). Message payload is of type: DocumentImpl (org.mule.api.MessagingException)
org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:35 (http:--------------------------------------------------------------------------------
Root Exception stack trace:
java.lang.NullPointerException
at org.mule.routing.ExpressionSplitter.splitMessage(ExpressionSplitter.java:97)
at org.mule.routing.AbstractSplitter.splitMessageIntoSequence(AbstractSplitter.java:37)
at org.mule.routing.outbound.AbstractMessageSequenceSplitter.process(AbstractMessageSequenceSplitter.java:60)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
|
|
Project:
|
Mule
|
|
Labels:
|
foreach
|
|
Priority:
|
To be reviewed
|
|
Reporter:
|
Alberto Aresca
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I created this as a custom sql statement strategy, but I am pretty sure that this can easily be integrated in the Mule code. I was using Mule 3.2.2 EE when I created this strategy