java.lang.NullPointerException: null

GitHub | mcbeelen | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    WebBeans context with scope type annotation @Singleton does not exist within current thread

    openwebbeans-user | 4 years ago | Mike Olson
    javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @Singleton does not exist within current thread
  2. 0

    [jira] [Created] (TOMEE-1453) IllegalStateException: A home reference must never be invalidated!

    tomee-commits | 2 years ago | Matthias We├čendorf (JIRA)
    java.lang.IllegalStateException: A home reference must never be invalidated!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 301#241392599

    GitHub | 6 months ago | cocorossello
    org.apache.webbeans.exception.WebBeansDeploymentException: Error while sending SystemEvent to a CDI Extension! org.apache.webbeans.portable.events.discovery.AfterDeploymentValidationImpl@32ace167

    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

      null

      at org.mybatis.cdi.SerializableMapperProxy.getMapper()
    2. org.mybatis.cdi
      MyBatisBean.create
      1. org.mybatis.cdi.SerializableMapperProxy.getMapper(SerializableMapperProxy.java:61)
      2. org.mybatis.cdi.SerializableMapperProxy.<init>(SerializableMapperProxy.java:47)
      3. org.mybatis.cdi.MyBatisBean.create(MyBatisBean.java:117)
      3 frames
    3. OpenWebBeans Core
      InjectionTargetImpl.inject
      1. org.apache.webbeans.component.third.ThirdpartyBeanImpl.create(ThirdpartyBeanImpl.java:96)
      2. org.apache.webbeans.context.DependentContext.getInstance(DependentContext.java:68)
      3. org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:125)
      4. org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:754)
      5. org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:628)
      6. org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:95)
      7. org.apache.webbeans.inject.InjectableField.doInjection(InjectableField.java:65)
      8. org.apache.webbeans.portable.InjectionTargetImpl.injectFields(InjectionTargetImpl.java:208)
      9. org.apache.webbeans.portable.InjectionTargetImpl.inject(InjectionTargetImpl.java:194)
      10. org.apache.webbeans.portable.InjectionTargetImpl.inject(InjectionTargetImpl.java:184)
      10 frames
    4. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.cdi.CdiEjbBean$EjbInjectionTargetImpl.inject(CdiEjbBean.java:388)
      2. org.apache.openejb.BeanContext.inject(BeanContext.java:1660)
      3. org.apache.openejb.BeanContext.newInstance(BeanContext.java:1489)
      4. org.apache.openejb.core.stateless.StatelessInstanceManager.createInstance(StatelessInstanceManager.java:207)
      5. org.apache.openejb.core.stateless.StatelessInstanceManager.getInstance(StatelessInstanceManager.java:199)
      6. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:186)
      7. org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:317)
      8. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:312)
      9. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:92)
      10. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:325)
      10 frames
    5. xx.xx.xx
      MessageRouter.routeMessageToProcessor
      1. xx.xx.xx.xx.transaction.TransactionStartedMessageOrchestrator.doProcess(TransactionStartedMessageOrchestrator.java:42)[1 skipped]
      2. xx.xx.xx.xx.transaction.TransactionStartedMessageOrchestrator.doProcess(TransactionStartedMessageOrchestrator.java:26)
      3. xx.xx.xx.xx.AbstractMessageOrchestrator.process(AbstractMessageOrchestrator.java:10)
      4. xx.xx.xx.xx.MessageProcessorFactory.buildProcessorAndStartProcessing(MessageProcessorFactory.java:59)
      5. xx.xx.xx.xx.MessageRouter.unmarshalMessageAndRouteToProcessor(MessageRouter.java:90)
      6. xx.xx.xx.xx.MessageRouter.routeMessageToProcessor(MessageRouter.java:72)
      6 frames
    6. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)[4 skipped]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)
      3. org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181)
      4. org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:100)
      5. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)[4 skipped]
      6. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)
      7. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85)
      8. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:227)
      9. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:194)
      10. org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:317)
      11. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:312)
      12. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:92)
      13. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:325)
      13 frames
    7. xx.xx.xx
      Receiver.onMessage
      1. xx.xx.xx.xx.MessageRouter$$LocalBeanProxy.routeMessageToProcessor(xx.xx.xx.xx.xx/MessageRouter.java)
      2. xx.xx.xx.xx.Receiver.processMessageText(Receiver.java:82)
      3. xx.xx.xx.xx.Receiver.onMessage(Receiver.java:69)
      3 frames
    8. OpenEJB :: OSGi :: Core
      EndpointHandler.invoke
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)[4 skipped]
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)
      3. org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181)
      4. org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:100)
      5. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192)[4 skipped]
      6. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173)
      7. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85)
      8. org.apache.openejb.core.mdb.MdbContainer._invoke(MdbContainer.java:402)
      9. org.apache.openejb.core.mdb.MdbContainer.invoke(MdbContainer.java:373)
      10. org.apache.openejb.core.mdb.EndpointHandler.deliverMessage(EndpointHandler.java:228)
      11. org.apache.openejb.core.mdb.EndpointHandler.invoke(EndpointHandler.java:169)
      11 frames
    9. xx.xx.xx
      Receiver$$LocalBeanProxy.onMessage
      1. xx.xx.xx.xx.Receiver$$LocalBeanProxy.onMessage(xx.xx.xx.xx.xx/Receiver.java)
      1 frame
    10. ActiveMQ :: RA
      MessageEndpointProxy.onMessage
      1. org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
      2. org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
      2 frames
    11. ActiveMQ :: Core
      ActiveMQSession.run
      1. org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:994)
      1 frame
    12. ActiveMQ :: RA
      ServerSessionImpl.run
      1. org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
      1 frame
    13. Geronimo TxManager :: Connector
      NamedRunnable.run
      1. org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:366)
      2. org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
      2 frames
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames