Note that there are some explanatory texts on larger screens.

plurals
  1. POConfigs loaded in Mule functional tests throw errors, but runs outside of a test
    primarykey
    data
    text
    <p>I have a strange situation where Mule configs loaded in Mule functional tests throw errors of the sort below from flows with vm's. The annoying thing is this flow runs perfect as a mule application and sometimes by tweaking with mule studio I can get the test to run, almost randomly.</p> <pre><code>&lt;flow name="simpleOutBoundFlow"&gt; &lt;vm:inbound-endpoint path="testV" name="test" /&gt; &lt;logger level="ERROR" message="blah #[payload]" /&gt; &lt;foo:outbound config-ref="fooOutbound" doc:name="baa" /&gt; &lt;/flow&gt; </code></pre> <p>the error occurs at the vm: line and says something like</p> <blockquote> <p>org.mule.api.config.ConfigurationException: Line 21 in XML document from URL [file:/D:/config.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 18; cvc-complex-type.2.4.a: Invalid content was found starting with element 'vm:inbound-endpoint'. One of '{"<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":annotations, "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":description, "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":abstract-message-source, "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":abstract-inbound-endpoint, "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":abstract-message-processor, "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":abstract-outbound-endpoint, "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":abstract-mixed-content-message-processor, "<a href="http://www.mulesoft.org/schema/mule/core" rel="nofollow">http://www.mulesoft.org/schema/mule/core</a>":response}' is expected. (org.mule.api.lifecycle.InitialisationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:52)</p> </blockquote> <p>Any ideas? Really strange one for me.</p> <p>nb: the foo:outbound comes from a devKit update site I generated with the maven devkit archtype</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload