Project

General

Profile

bug #8500

DistributionStatusUI: Error while detaching UI from session

Added by Andreas Kohlbecker about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
New
Assignee:
-
Category:
cdm-vaadin
Target version:
Start date:
08/29/2019
Due date:
% Done:

0%

Severity:
normal
Found in Version:
Tags:

Description

[flora-cuba] 2019-08-29 10:12:43,276 WARN [org.eclipse.jetty.server.session.HashSessionManager@5330da99Timer] [org.springframework.beans.factory.support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with n
ame 'vaadinNavigator': org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'navigationUriFragmentManager': Scope 'vaadin-ui' is not active for the current thread; consider defining a scoped pro
xy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: Current VaadinSession is not open
Aug 29, 2019 10:12:43 AM com.vaadin.ui.UI setSession
WARNING: Error while detaching UI from session
com.vaadin.event.ListenerMethod$MethodException: Invocation of method detach in eu.etaxonomy.cdm.vaadin.ui.DistributionStatusUI$$Lambda$180/630566897 failed.
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:533)
        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200)
        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163)
        at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1015)
        at com.vaadin.server.AbstractClientConnector.detach(AbstractClientConnector.java:644)
        at com.vaadin.ui.AbstractComponent.detach(AbstractComponent.java:701)
        at com.vaadin.ui.UI.detach(UI.java:1307)
        at com.vaadin.ui.UI.setSession(UI.java:462)
        at com.vaadin.server.VaadinSession.removeUI(VaadinSession.java:873)
        at com.vaadin.server.VaadinService$1$1.run(VaadinService.java:483)
        at com.vaadin.ui.UI.accessSynchronously(UI.java:1392)
        at com.vaadin.server.VaadinService$1.run(VaadinService.java:471)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at com.vaadin.server.VaadinService.runPendingAccessTasks(VaadinService.java:1859)
        at com.vaadin.server.VaadinSession.unlock(VaadinSession.java:994)
        at com.vaadin.server.VaadinService.ensureAccessQueuePurged(VaadinService.java:1822)
        at com.vaadin.server.VaadinService.accessSession(VaadinService.java:1788)
        at com.vaadin.server.VaadinSession.access(VaadinSession.java:1399)
        at com.vaadin.server.VaadinService.fireSessionDestroy(VaadinService.java:460)
        at com.vaadin.server.VaadinSession.valueUnbound(VaadinSession.java:324)
        at org.eclipse.jetty.server.session.AbstractSession.unbindValue(AbstractSession.java:607)
        at org.eclipse.jetty.server.session.MemSession.clearAttributes(MemSession.java:117)
        at org.eclipse.jetty.server.session.AbstractSession.doInvalidate(AbstractSession.java:338)
        at org.eclipse.jetty.server.session.HashedSession.doInvalidate(HashedSession.java:96)
        at org.eclipse.jetty.server.session.AbstractSession.timeout(AbstractSession.java:317)
        at org.eclipse.jetty.server.session.HashSessionManager.scavenge(HashSessionManager.java:358)
        at org.eclipse.jetty.server.session.HashSessionManager$Scavenger.run(HashSessionManager.java:84)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'viewCache': Scope 'vaadin-ui' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: Current VaadinSession is not open
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:355)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:351)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:332)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1066)
        at com.vaadin.spring.internal.ViewScopeImpl$BeanFactoryContextViewCacheRetrievalStrategy.getViewCache(ViewScopeImpl.java:132)
        at com.vaadin.spring.navigator.SpringViewProvider.getViewFromApplicationContext(SpringViewProvider.java:438)
        at com.vaadin.spring.navigator.SpringViewProvider.getView(SpringViewProvider.java:405)
        at eu.etaxonomy.cdm.vaadin.ui.DistributionStatusUI.lambda$init$8954eeae$1(DistributionStatusUI.java:91)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
        ... 34 more
Caused by: java.lang.IllegalStateException: Current VaadinSession is not open
        at com.vaadin.spring.internal.UIScopeImpl$VaadinSessionBeanStoreRetrievalStrategy.getVaadinSession(UIScopeImpl.java:132)
        at com.vaadin.spring.internal.UIScopeImpl$VaadinSessionBeanStoreRetrievalStrategy.getUIStore(UIScopeImpl.java:139)
        at com.vaadin.spring.internal.UIScopeImpl$VaadinSessionBeanStoreRetrievalStrategy.getBeanStore(UIScopeImpl.java:168)
        at com.vaadin.spring.internal.UIScopeImpl.getBeanStore(UIScopeImpl.java:105)
        at com.vaadin.spring.internal.UIScopeImpl.get(UIScopeImpl.java:81)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:340)
        ... 47 more

History

#1 Updated by Andreas Kohlbecker about 1 year ago

  • Assignee deleted (Andreas Kohlbecker)
  • Target version changed from Reviewed Next Major Release to Unassigned CDM tickets

back to unassigned ....

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)