[RAP] [E4] UIThreadTerminatedError in LoginLifecycle [message #1385418] |
Fri, 06 June 2014 10:08 |
Christian Mohr Messages: 34 Registered: June 2012 |
Member |
|
|
Hi,
I tested the rap on e4 demo application and just noticed, that an exception is thrown, that prevents users from reloading the logindialog:
Problem
org.eclipse.e4.core.di.InjectionException: org.eclipse.rap.rwt.internal.lifecycle.UIThread$UIThreadTerminatedError
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:62)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:225)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:244)
at org.eclipse.rap.e4.E4EntryPointFactory.createWorkbench(E4EntryPointFactory.java:63)
at org.eclipse.rap.e4.E4EntryPointFactory.access$0(E4EntryPointFactory.java:60)
at org.eclipse.rap.e4.E4EntryPointFactory$1.createUI(E4EntryPointFactory.java:51)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:172)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:284)
at java.lang.Thread.run(Unknown Source)
at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:105)
Caused by: org.eclipse.rap.rwt.internal.lifecycle.UIThread$UIThreadTerminatedError
at org.eclipse.rap.rwt.internal.lifecycle.UIThread.handleInterruptInSwitchThread(UIThread.java:94)
at org.eclipse.rap.rwt.internal.lifecycle.UIThread.switchThread(UIThread.java:65)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLifeCycle.java:227)
at org.eclipse.swt.widgets.Display.sleep(Display.java:1253)
at org.eclipse.rap.e4.demo.lifecycle.LoginLifcecycle.login(LoginLifcecycle.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 11 more
Way to reproduce:
1. open the logindialog in browser
2. reload the site (infinite loading and exception)
3. on chrome it's not possible to access the logindialog again, without temporarily switching to a different website (or new tab), on FF its possible to chancel the reload and then reload and access the site again.
Do you have any ideas what causes this error and how to prevent it? Thanks for any help.
Greets Chris
[Updated on: Fri, 06 June 2014 10:10] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03412 seconds