Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 3.0.0-RC1
  • Fix Version/s: 3.0.0-RC1
  • Component/s: Examples / Tutorials
  • Labels:
    None
  • Environment:

    Windows/Linux JDK6

  • User impact:
    High
  • Similar Issues:
    None

Description

Steps to reproduce:
Go to the webap example (requires that you build most of the other examples first)
Run mvn
Go to http://localhost:8090/mule-examples/
Try running any of the examples. You will see the following stack trace for the first few examples:
java.lang.IllegalArgumentException: The required object/property "muleContext" is null
at org.mule.DefaultMuleMessage.setMuleContext(DefaultMuleMessage.java:274)
at org.mule.DefaultMuleMessage.<init>(DefaultMuleMessage.java:150)
at org.mule.DefaultMuleMessage.<init>(DefaultMuleMessage.java:145)
at org.mule.DefaultMuleMessage.<init>(DefaultMuleMessage.java:140)
at org.mule.exception.AbstractMessagingExceptionStrategy.handleStandardException(AbstractMessagingExceptionStrategy.java:124)
at org.mule.exception.AbstractMessagingExceptionStrategy.handleLifecycleException(AbstractMessagingExceptionStrategy.java:110)
at org.mule.exception.AbstractMessagingExceptionStrategy.handleException(AbstractMessagingExceptionStrategy.java:73)
at org.mule.processor.ExceptionHandlingMessageProcessor.process(ExceptionHandlingMessageProcessor.java:26)
at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingChainCompositeMessageProcessor.process(InterceptingChainMessageProcessorBuilder.java:249)
at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingMessageProcessorAdapter.process(InterceptingChainMessageProcessorBuilder.java:191)
at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingChainCompositeMessageProcessor.process(InterceptingChainMessageProcessorBuilder.java:249)
at org.mule.endpoint.DefaultOutboundEndpoint.process(DefaultOutboundEndpoint.java:88)
at org.mule.module.client.MuleClient.send(MuleClient.java:641)
at org.mule.module.client.MuleClient.send(MuleClient.java:617)
at org.mule.module.client.MuleClient.send(MuleClient.java:570)
at org.apache.jsp.helloworld_jsp._jspService(org.apache.jsp.helloworld_jsp:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

The loanbroker fails with:
java.lang.NullPointerException
at org.mule.processor.ExceptionHandlingMessageProcessor.process(ExceptionHandlingMessageProcessor.java:26)
at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingChainCompositeMessageProcessor.process(InterceptingChainMessageProcessorBuilder.java:249)
at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingMessageProcessorAdapter.process(InterceptingChainMessageProcessorBuilder.java:191)
at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingChainCompositeMessageProcessor.process(InterceptingChainMessageProcessorBuilder.java:249)
at org.mule.endpoint.DefaultOutboundEndpoint.process(DefaultOutboundEndpoint.java:88)
at org.mule.module.client.RemoteDispatcher.requestWireFormat(RemoteDispatcher.java:112)
at org.mule.module.client.RemoteDispatcher.<init>(RemoteDispatcher.java:105)
at org.mule.module.client.MuleClient.getRemoteDispatcher(MuleClient.java:985)
at org.mule.example.loanbroker.AbstractLoanBrokerApp.init(AbstractLoanBrokerApp.java:52)
at org.mule.example.loanbroker.AbstractLoanBrokerApp.<init>(AbstractLoanBrokerApp.java:40)
at org.mule.example.loanbroker.esn.LoanBrokerApp.<init>(LoanBrokerApp.java:45)
at org.apache.jsp.loanbroker_jsp._jspService(org.apache.jsp.loanbroker_jsp:70)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

Stockquote fails with:
[08-16 22:12:14] ERROR DefaultServiceExceptionStrategy [25911937@qtp-7607272-2]:

********************************************************************************

Message : Cannot process event as "connector.VM.0" is stopped
Code : MULE_ERROR-70167
--------------------------------------------------------------------------------

Exception stack is:
1. Cannot process event as "connector.VM.0" is stopped (org.mule.api.lifecycle.L
ifecycleException)
org.mule.lifecycle.processor.ProcessIfStartedMessageProcessor:42 (http://www.m
ulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/LifecycleExcepti
on.html)
--------------------------------------------------------------------------------

Root Exception stack trace:
org.mule.api.lifecycle.LifecycleException: Cannot process event as "connector.VM
.0" is stopped
at org.mule.lifecycle.processor.ProcessIfStartedMessageProcessor.handleU
naccepted(ProcessIfStartedMessageProcessor.java:42)
at org.mule.processor.AbstractFilteringMessageProcessor.process(Abstract
FilteringMessageProcessor.java:34)
at org.mule.processor.ExceptionHandlingMessageProcessor.process(Exceptio
nHandlingMessageProcessor.java:22)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for ev
erything)
********************************************************************************

[08-16 22:12:14] ERROR DefaultServiceExceptionStrategy [25911937@qtp-7607272-2]:
The Default Service Exception Strategy has been invoked but there is no current
service on the context. Please report this to dev@mule.codehaus.org
[08-16 22:12:14] ERROR DefaultServiceExceptionStrategy [25911937@qtp-7607272-2]:
The object that failed was:

org.mule.DefaultMuleMessage

{ id=78a2ffd5-3661-49eb-bd3c-11f66ec66b97 payload=java.lang.String correlationId=<not set> correlationGroup=-1 correlationSeq=-1 encoding=UTF-8 exceptionPayload=<not set> Message properties: INVOCATION scoped properties: INBOUND scoped properties: OUTBOUND scoped properties: MULE_REMOTE_SYNC=true SESSION scoped properties: }

[08-16 22:12:14] ERROR DefaultServiceExceptionStrategy [25911937@qtp-7607272-2]:
The Default Service Exception Strategy has been invoked but there is no current
service on the context. Please report this to dev@mule.codehaus.org

Activity

Hide
Daniel Feist added a comment -

A number of issue here:

  • Missing servlet transport dependency for webapp example
  • A couple of inbound endpoints with wrong EP
  • HttpRequestToParameter looking for "payload" property in the wrong scope.
Show
Daniel Feist added a comment - A number of issue here:
  • Missing servlet transport dependency for webapp example
  • A couple of inbound endpoints with wrong EP
  • HttpRequestToParameter looking for "payload" property in the wrong scope.
Hide
Daniel Zapata added a comment -

all good now

Show
Daniel Zapata added a comment - all good now

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: