java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • WS Consumer response type, org.mule.module.ws.consumer.NamespaceRestorerXMLStreamReader , is not able to be sent to the new HTTP Connector endpoint in the response phase. Previously WSC responses could be seen as a string representation of the XML when sent to the old http connector (see screenshot-1 and screenshot-2) The new HTTP consumer now throws an exception. It appears as if it's unable to find an appropriate transformer (see screenshot-3 and 4). The stack trace is: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Started app 'deltalab' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WARN 2015-01-21 13:41:22,018 [[deltalab].HTTP_Listener_Configuration.worker.01] org.jetel.exception.ConfigurationStatus: Issue in component [XML WRITER:EXT_XML_WRITER0] Invalid mapping (Port binding to a root element may produce invalid XML file. Set 'Records per file' or 'Max number of records' component attributes to '1'.) ERROR 2015-01-21 13:41:23,032 [[deltalab].HTTP_Listener_Configuration.worker.01] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : This transformer needs a valid endpoint (java.lang.IllegalStateException) Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. This transformer needs a valid endpoint (java.lang.IllegalStateException) org.mule.transport.jms.transformers.AbstractJmsTransformer:203 (null) 2. This transformer needs a valid endpoint (java.lang.IllegalStateException) (org.mule.api.transformer.TransformerException) org.mule.transport.jms.transformers.AbstractJmsTransformer:79 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalStateException: This transformer needs a valid endpoint at org.mule.transport.jms.transformers.AbstractJmsTransformer.getSession(AbstractJmsTransformer.java:203) at org.mule.transport.jms.transformers.AbstractJmsTransformer.transformToMessage(AbstractJmsTransformer.java:65) at org.mule.transport.jms.transformers.ObjectToJMSMessage.transformMessage(ObjectToJMSMessage.java:54) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************
    via by Josh Rosso,
  • Mule Issues List (Jira)
    via by Unknown author,
  • Mule Issues List (Jira)
    via by Unknown author,
  • WS Consumer response type, org.mule.module.ws.consumer.NamespaceRestorerXMLStreamReader , is not able to be sent to the new HTTP Connector endpoint in the response phase. Previously WSC responses could be seen as a string representation of the XML when sent to the old http connector (see screenshot-1 and screenshot-2) The new HTTP consumer now throws an exception. It appears as if it's unable to find an appropriate transformer (see screenshot-3 and 4). The stack trace is: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Started app 'deltalab' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WARN 2015-01-21 13:41:22,018 [[deltalab].HTTP_Listener_Configuration.worker.01] org.jetel.exception.ConfigurationStatus: Issue in component [XML WRITER:EXT_XML_WRITER0] Invalid mapping (Port binding to a root element may produce invalid XML file. Set 'Records per file' or 'Max number of records' component attributes to '1'.) ERROR 2015-01-21 13:41:23,032 [[deltalab].HTTP_Listener_Configuration.worker.01] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : This transformer needs a valid endpoint (java.lang.IllegalStateException) Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. This transformer needs a valid endpoint (java.lang.IllegalStateException) org.mule.transport.jms.transformers.AbstractJmsTransformer:203 (null) 2. This transformer needs a valid endpoint (java.lang.IllegalStateException) (org.mule.api.transformer.TransformerException) org.mule.transport.jms.transformers.AbstractJmsTransformer:79 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalStateException: This transformer needs a valid endpoint at org.mule.transport.jms.transformers.AbstractJmsTransformer.getSession(AbstractJmsTransformer.java:203) at org.mule.transport.jms.transformers.AbstractJmsTransformer.transformToMessage(AbstractJmsTransformer.java:65) at org.mule.transport.jms.transformers.ObjectToJMSMessage.transformMessage(ObjectToJMSMessage.java:54) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************
    via by Josh Rosso,
    • java.lang.IllegalStateException: This transformer needs a valid endpoint at org.mule.transport.jms.transformers.AbstractJmsTransformer.getSession(AbstractJmsTransformer.java:203) at org.mule.transport.jms.transformers.AbstractJmsTransformer.transformToMessage(AbstractJmsTransformer.java:65) at org.mule.transport.jms.transformers.ObjectToJMSMessage.transformMessage(ObjectToJMSMessage.java:54)

    Users with the same issue

    Unknown visitor3 times, last one,
    Unknown visitor1 times, last one,