java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Vaadin breaks spring-boot-devtools reload
    via Stack Overflow by M. Trojahn
    ,
    • java.lang.NullPointerException: null at com.vaadin.spring.internal.DefaultViewCache.destroy(DefaultViewCache.java:196)[vaadin-spring-1.2.0.jar:1.2.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_112] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_112] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_112] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_112] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:325)[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:154)[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE] at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE] at org.springframework.beans.factory.support.DisposableBeanAdapter.run(DisposableBeanAdapter.java:246)[spring-beans-4.3.6.RELEASE.jar:4.3.6.RELEASE] at com.vaadin.spring.internal.BeanStore.destroy(BeanStore.java:101)[vaadin-spring-1.2.0.jar:1.2.0] at com.vaadin.spring.internal.SessionLockingBeanStore.destroy(SessionLockingBeanStore.java:66)[vaadin-spring-1.2.0.jar:1.2.0] at com.vaadin.spring.internal.UIScopeImpl$UIStore.destroy(UIScopeImpl.java:237)[vaadin-spring-1.2.0.jar:1.2.0] at com.vaadin.spring.internal.UIScopeImpl$UIStore.serviceDestroy(UIScopeImpl.java:247)[vaadin-spring-1.2.0.jar:1.2.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_112] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_112] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_112] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_112] at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)[vaadin-server-7.6.8.jar:7.6.8] at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)[vaadin-server-7.6.8.jar:7.6.8] at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)[vaadin-server-7.6.8.jar:7.6.8] at com.vaadin.server.VaadinService.destroy(VaadinService.java:1893)[vaadin-server-7.6.8.jar:7.6.8] at com.vaadin.server.VaadinServlet.destroy(VaadinServlet.java:1360)[vaadin-server-7.6.8.jar:7.6.8] at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1340)[tomcat-embed-core-8.5.11.jar:8.5.11] at org.apache.catalina.core.StandardWrapper.stopInternal(StandardWrapper.java:1671)[tomcat-embed-core-8.5.11.jar:8.5.11] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)[tomcat-embed-core-8.5.11.jar:8.5.11] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5399)[tomcat-embed-core-8.5.11.jar:8.5.11] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)[tomcat-embed-core-8.5.11.jar:8.5.11] at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1435)[tomcat-embed-core-8.5.11.jar:8.5.11] at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1424)[tomcat-embed-core-8.5.11.jar:8.5.11] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_112] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_112]
    No Bugmate found.