ava.lang.NullPointerException

Stack Overflow | Caio Incau | 5 months ago
  1. 0

    EntityManager Null on Producer

    Stack Overflow | 5 months ago | Caio Incau
    ava.lang.NullPointerException
  2. 0

    GitHub comment 87#6093942

    GitHub | 5 years ago | danielstieger
    ava.lang.NullPointerException
  3. 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. ava.lang.NullPointerException

      No message provided

      at ninja.caio.restaurantes.infra.RestaurantDao.save()
    2. ninja.caio.restaurantes
      RestaurantDao$Proxy$_$$_WeldClientProxy.save
      1. ninja.caio.restaurantes.infra.RestaurantDao.save(RestaurantDao.java:28)
      2. ninja.caio.restaurantes.infra.RestaurantDao$Proxy$_$$_WeldClientProxy.save(Unknown Source)
      2 frames
    3. br.com.caelum
      IndexController$Proxy$_$$_WeldClientProxy.index
      1. br.com.caelum.vraptor.controller.IndexController.index(IndexController.java:32)
      2. br.com.caelum.vraptor.controller.IndexController$Proxy$_$$_WeldClientProxy.index(Unknown Source)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Mirror
      MethodHandlerByMethod.withArgs
      1. net.vidageek.mirror.provider.java.PureJavaMethodReflectionProvider.invoke(PureJavaMethodReflectionProvider.java:38)
      2. net.vidageek.mirror.invoke.MethodHandlerByMethod.withArgs(MethodHandlerByMethod.java:54)
      2 frames
    6. br.com.caelum
      ExecuteMethod.execute
      1. br.com.caelum.vraptor.core.DefaultReflectionProvider.invoke(DefaultReflectionProvider.java:42)
      2. br.com.caelum.vraptor.core.DefaultReflectionProvider$Proxy$_$$_WeldClientProxy.invoke(Unknown Source)
      3. br.com.caelum.vraptor.observer.ExecuteMethod$1.call(ExecuteMethod.java:82)
      4. br.com.caelum.vraptor.observer.ExecuteMethod$1.call(ExecuteMethod.java:72)
      5. br.com.caelum.vraptor.core.Try.run(Try.java:18)
      6. br.com.caelum.vraptor.observer.ExecuteMethod.execute(ExecuteMethod.java:72)
      6 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. Weld Implementation
      EventImpl.fire
      1. org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)
      2. org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)
      3. org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
      4. org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)
      5. org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)
      6. org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:165)
      7. org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:119)
      8. org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:112)
      9. org.jboss.weld.event.EventImpl.fire(EventImpl.java:83)
      9 frames
    9. br.com.caelum
      ToInstantiateInterceptorHandler$1.call
      1. br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:78)
      2. br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:98)
      3. br.com.caelum.vraptor.interceptor.FlashInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)
      4. br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler$1.call(ToInstantiateInterceptorHandler.java:71)
      5. br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler$1.call(ToInstantiateInterceptorHandler.java:68)
      5 frames