java.lang.NullPointerException

MuleSoft JIRA | Dan Diephouse | 8 years ago
  1. 0

    I get this when running some CXF tests (like ProxyTestCase) java.lang.NullPointerException at org.mule.model.resolvers.AbstractEntryPointResolver.getCacheKeyForPayload(AbstractEntryPointResolver.java:112) at org.mule.model.resolvers.AbstractEntryPointResolver.getMethodByArguments(AbstractEntryPointResolver.java:93) at org.mule.model.resolvers.ReflectionEntryPointResolver.invoke(ReflectionEntryPointResolver.java:123) at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50) at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:208) at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83) at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74) at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133) at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161) at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929) at org.mule.model.seda.SedaService.doSend(SedaService.java:257) at org.mule.service.AbstractService.sendEvent(AbstractService.java:500) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175) at org.mule.transport.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:107) at org.mule.transport.vm.VMMessageDispatcher$2.doInTransaction(VMMessageDispatcher.java:125) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99) at org.mule.transport.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:128) at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:163) at org.mule.transport.AbstractConnector.send(AbstractConnector.java:2035) at org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:76) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:327) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:213) at org.mule.routing.outbound.AbstractOutboundRouter$2.doInTransaction(AbstractOutboundRouter.java:152) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:159) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:79) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:69) at org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:88) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45) at org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:93) at org.mule.service.AbstractService.sendToOutboundRouter(AbstractService.java:892) at org.mule.model.seda.SedaService.doSend(SedaService.java:258) at org.mule.service.AbstractService.sendEvent(AbstractService.java:500) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175) at org.mule.transport.cxf.MuleInvoker.invoke(MuleInvoker.java:108) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56) at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284) at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112) at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52) at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointReso... Also user trying out the latest 2.2.x tree also reported this same thing.

    MuleSoft JIRA | 8 years ago | Dan Diephouse
    java.lang.NullPointerException
  2. 0

    I get this when running some CXF tests (like ProxyTestCase) java.lang.NullPointerException at org.mule.model.resolvers.AbstractEntryPointResolver.getCacheKeyForPayload(AbstractEntryPointResolver.java:112) at org.mule.model.resolvers.AbstractEntryPointResolver.getMethodByArguments(AbstractEntryPointResolver.java:93) at org.mule.model.resolvers.ReflectionEntryPointResolver.invoke(ReflectionEntryPointResolver.java:123) at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50) at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:208) at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83) at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74) at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133) at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161) at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929) at org.mule.model.seda.SedaService.doSend(SedaService.java:257) at org.mule.service.AbstractService.sendEvent(AbstractService.java:500) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175) at org.mule.transport.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:107) at org.mule.transport.vm.VMMessageDispatcher$2.doInTransaction(VMMessageDispatcher.java:125) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99) at org.mule.transport.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:128) at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:163) at org.mule.transport.AbstractConnector.send(AbstractConnector.java:2035) at org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:76) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:327) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:213) at org.mule.routing.outbound.AbstractOutboundRouter$2.doInTransaction(AbstractOutboundRouter.java:152) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:159) at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:79) at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:69) at org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:88) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45) at org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:93) at org.mule.service.AbstractService.sendToOutboundRouter(AbstractService.java:892) at org.mule.model.seda.SedaService.doSend(SedaService.java:258) at org.mule.service.AbstractService.sendEvent(AbstractService.java:500) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175) at org.mule.transport.cxf.MuleInvoker.invoke(MuleInvoker.java:108) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56) at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284) at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112) at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52) at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointReso... Also user trying out the latest 2.2.x tree also reported this same thing.

    MuleSoft JIRA | 8 years ago | Dan Diephouse
    java.lang.NullPointerException
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.model.resolvers.AbstractEntryPointResolver.getCacheKeyForPayload()
    2. Mule Core
      DefaultMuleSession.sendEvent
      1. org.mule.model.resolvers.AbstractEntryPointResolver.getCacheKeyForPayload(AbstractEntryPointResolver.java:112)
      2. org.mule.model.resolvers.AbstractEntryPointResolver.getMethodByArguments(AbstractEntryPointResolver.java:93)
      3. org.mule.model.resolvers.ReflectionEntryPointResolver.invoke(ReflectionEntryPointResolver.java:123)
      4. org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
      5. org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:208)
      6. org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
      7. org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
      8. org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
      9. org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
      10. org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
      11. org.mule.model.seda.SedaService.doSend(SedaService.java:257)
      12. org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
      13. org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
      13 frames
    3. org.mule.routing
      DefaultInboundRouterCollection.route
      1. org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
      2. org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
      2 frames
    4. Mule Core
      AbstractMessageReceiver.routeMessage
      1. org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359)
      2. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
      3. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175)
      3 frames
    5. VM Transport
      VMMessageDispatcher$2.doInTransaction
      1. org.mule.transport.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:107)
      2. org.mule.transport.vm.VMMessageDispatcher$2.doInTransaction(VMMessageDispatcher.java:125)
      2 frames
    6. Mule Core
      TransactionTemplate.execute
      1. org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99)
      1 frame
    7. VM Transport
      VMMessageDispatcher.doSend
      1. org.mule.transport.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:128)
      1 frame
    8. Mule Core
      DefaultMuleSession.sendEvent
      1. org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:163)
      2. org.mule.transport.AbstractConnector.send(AbstractConnector.java:2035)
      3. org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:76)
      4. org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:327)
      5. org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:213)
      6. org.mule.routing.outbound.AbstractOutboundRouter$2.doInTransaction(AbstractOutboundRouter.java:152)
      7. org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99)
      8. org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:159)
      9. org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:79)
      10. org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:69)
      11. org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:88)
      12. org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45)
      13. org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:93)
      14. org.mule.service.AbstractService.sendToOutboundRouter(AbstractService.java:892)
      15. org.mule.model.seda.SedaService.doSend(SedaService.java:258)
      16. org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
      17. org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
      17 frames
    9. org.mule.routing
      DefaultInboundRouterCollection.route
      1. org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
      2. org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
      2 frames
    10. Mule Core
      AbstractMessageReceiver.routeMessage
      1. org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359)
      2. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
      3. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175)
      3 frames
    11. org.mule.transport
      MuleInvoker.invoke
      1. org.mule.transport.cxf.MuleInvoker.invoke(MuleInvoker.java:108)
      1 frame
    12. Apache CXF Core
      ChainInitiationObserver.onMessage
      1. org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
      2. org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
      3. org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
      4. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
      5. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
      5 frames
    13. org.mule.transport
      CxfServiceComponent.onCall
      1. org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284)
      2. org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112)
      2 frames
    14. Mule Core
      CallableEntryPointResolver.invoke
      1. org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
      1 frame