java.lang.NullPointerException

MuleSoft JIRA | Daniel Zapata | 6 years ago
  1. 0

    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

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    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

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    java.lang.NullPointerException
  4. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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. java.lang.NullPointerException

      No message provided

      at org.mule.processor.ExceptionHandlingMessageProcessor.process()
    2. Mule Core
      ExceptionHandlingMessageProcessor.process
      1. org.mule.processor.ExceptionHandlingMessageProcessor.process(ExceptionHandlingMessageProcessor.java:26)
      1 frame
    3. org.mule.processor
      InterceptingChainMessageProcessorBuilder$InterceptingChainCompositeMessageProcessor.process
      1. org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingChainCompositeMessageProcessor.process(InterceptingChainMessageProcessorBuilder.java:249)
      2. org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingMessageProcessorAdapter.process(InterceptingChainMessageProcessorBuilder.java:191)
      3. org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingChainCompositeMessageProcessor.process(InterceptingChainMessageProcessorBuilder.java:249)
      3 frames
    4. Mule Core
      DefaultOutboundEndpoint.process
      1. org.mule.endpoint.DefaultOutboundEndpoint.process(DefaultOutboundEndpoint.java:88)
      1 frame
    5. Mule Client
      MuleClient.getRemoteDispatcher
      1. org.mule.module.client.RemoteDispatcher.requestWireFormat(RemoteDispatcher.java:112)
      2. org.mule.module.client.RemoteDispatcher.<init>(RemoteDispatcher.java:105)
      3. org.mule.module.client.MuleClient.getRemoteDispatcher(MuleClient.java:985)
      3 frames
    6. org.mule.example
      LoanBrokerApp.<init>
      1. org.mule.example.loanbroker.AbstractLoanBrokerApp.init(AbstractLoanBrokerApp.java:52)
      2. org.mule.example.loanbroker.AbstractLoanBrokerApp.<init>(AbstractLoanBrokerApp.java:40)
      3. org.mule.example.loanbroker.esn.LoanBrokerApp.<init>(LoanBrokerApp.java:45)
      3 frames
    7. org.apache.jsp
      loanbroker_jsp._jspService
      1. org.apache.jsp.loanbroker_jsp._jspService(org.apache.jsp.loanbroker_jsp:70)
      1 frame
    8. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    10. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
      3 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame