Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Unable to restart my AUT (Elexis)
Unable to restart my AUT (Elexis) [message #1801203] Tue, 15 January 2019 09:49 Go to next message
Niklaus Giger is currently offline Niklaus GigerFriend
Messages: 30
Registered: August 2011
Member
My test-case from https://github.com/elexis/elexis-uitest/blob/master/KernFunktionen/Fehler/RestartElexis.test is simply
restart-aut
wait-until-eclipse-is-ready


But if fails with the following log entries
org.eclipse.swt.SWTException: Invalid thread access
        at org.eclipse.swt.SWT.error(SWT.java:4533) ~[na:na]
        at org.eclipse.swt.SWT.error(SWT.java:4448) ~[na:na]
        at org.eclipse.swt.SWT.error(SWT.java:4419) ~[na:na]
        at org.eclipse.swt.widgets.Display.error(Display.java:1289) ~[na:na]
        at org.eclipse.swt.widgets.Display.checkDevice(Display.java:820) ~[na:na]
        at org.eclipse.swt.widgets.Display.getFocusControl_aroundBody8(Display.java:2315) ~[na:na]
        at org.eclipse.swt.widgets.Display$AjcClosure9.run(Display.java:1) ~[na:na]
        at org.eclipse.rcptt.tesla.swt.aspects.DisplayAspect.ajc$around$org_eclipse_rcptt_tesla_swt_aspects_DisplayAspect$17$8b24bfadproceed(DisplayAspect.aj:507) ~[na:na]
        at org.eclipse.rcptt.tesla.swt.aspects.DisplayAspect.ajc$around$org_eclipse_rcptt_tesla_swt_aspects_DisplayAspect$17$8b24bfad(DisplayAspect.aj:515) ~[na:na]
        at org.eclipse.swt.widgets.Display.getFocusControl(Display.java:2315) ~[na:na]
        at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2149) ~[na:na]
        at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:278) ~[na:na]
        at org.eclipse.ui.internal.SaveablesList.saveModels(SaveablesList.java:676) ~[na:na]
        at org.eclipse.ui.internal.WorkbenchPage.saveAll(WorkbenchPage.java:3690) ~[na:na]
        at org.eclipse.ui.internal.Workbench.saveAllEditors(Workbench.java:1391) ~[na:na]
        at org.eclipse.ui.internal.Workbench.saveAllEditors(Workbench.java:1370) ~[na:na]
        at org.eclipse.rcptt.tesla.ecl.internal.impl.commands.RestartAutService.service(RestartAutService.java:26) ~[na:na]
        at org.eclipse.rcptt.ecl.internal.core.AbstractSession.internalDoExecute(AbstractSession.java:83) ~[org.eclipse.rcptt.ecl.core_2.4.0.201806290314.jar:na]
        at org.eclipse.rcptt.ecl.internal.core.Session$1.run(Session.java:48) [org.eclipse.rcptt.ecl.core_2.4.0.201806290314.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) [org.eclipse.core.jobs_3.9.3.v20180115-1757.jar:na]


Has anybody an idea what could be the cause for this problem?

Thanks in advance.

[Updated on: Tue, 15 January 2019 09:50]

Report message to a moderator

Re: Unable to restart my AUT (Elexis) [message #1801670 is a reply to message #1801203] Thu, 24 January 2019 13:45 Go to previous messageGo to next message
Vasili Gulevich is currently offline Vasili GulevichFriend
Messages: 28
Registered: July 2009
Junior Member
Stacktrace seem to indicate there is a bug in RCPTT.

Test case:

  • Take any AUT
  • Create a test:

    • Open an editor
    • Make it dirty by editing something
    • Restart

  • Run the test





Re: Unable to restart my AUT (Elexis) [message #1801837 is a reply to message #1801203] Mon, 28 January 2019 09:12 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello, Niklaus

We have fixed this in nightly versions for Eclipse 2018-09 or older.
Could you please verify it?

Thanks.


Yours sincerely,
Olga.
Re: Unable to restart my AUT (Elexis) [message #1801866 is a reply to message #1801837] Mon, 28 January 2019 16:15 Go to previous message
Niklaus Giger is currently offline Niklaus GigerFriend
Messages: 30
Registered: August 2011
Member
Thanks. My Jenkins-CI build reported the now a success when restarting Elexis! Thanks a lot!
Previous Topic:RCPTT : some questions
Next Topic:"Generic" item selection from a tree
Goto Forum:
  


Current Time: Tue Feb 27 21:24:52 GMT 2024

Powered by FUDForum. Page generated in 0.02354 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top