Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » NoSuchMethodError when using Eclipse 4.2
NoSuchMethodError when using Eclipse 4.2 [message #924945] Thu, 27 September 2012 08:57 Go to next message
Michael Werter is currently offline Michael WerterFriend
Messages: 4
Registered: May 2012
Junior Member
Hello Jubula-Forum,

we updated our RCP application to use Eclipse 4.2 instead of Eclipse Indigo.

Unfortunately, testing our application with Jubula is not possible any more. Simple actions like choosing entries from the menu bar fail, since Jubula does not recognize any new open sub menu (ub_mbr_selectEntry_byTextpath for "Window/Open Perspective/Other..." fails with the action error "The submenu for 'Window' did not appear". Nevertheless, that submenu was visible after the successful performed mouse click to the menu entry "Window").

Also, when performing some manual tests for different actions (in general actions causing a new editor tab to be opened) an error message appears. The corresponding log entries are similar to the following:

java.lang.NoSuchMethodError: org.eclipse.ui.internal.PartPane.getToolBar()Lorg/eclipse/swt/widgets/Control;
at org.eclipse.jubula.rc.rcp.accessor.Startup$PartNamingListener.partOpened(Startup.java:465)
...


Searching the bug database I found for example bug 379217 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=379217). It seems the problem occurred due to the usage of internal Eclipse APIs by Jubula not available in Eclipse Juno any more. Unfortunately I could not find any comment about a fix in Jubula or whether the problem will be fixed. Is it possible to say whether this issue will be fixed and when? Are there any workarounds to the problem?

Best regards,
Michael Werter
Re: NoSuchMethodError when using Eclipse 4.2 [message #924953 is a reply to message #924945] Thu, 27 September 2012 09:05 Go to previous messageGo to next message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

There are a few problems when using Jubula with 4.2. Menus don't work at the moment due to a bug in e4 event propagation. This should be fixed with Juno SR1. There are probably more problems which we haven't found/addressed because the menu bug stopped most of our regression tests.

There will be some work on e4, especially w/o compatibility layer, starting in the near future. Feel free to enter Bugzilla entries for every problem you find.

Achim
Re: NoSuchMethodError when using Eclipse 4.2 [message #925012 is a reply to message #924953] Thu, 27 September 2012 10:04 Go to previous messageGo to next message
Michael Werter is currently offline Michael WerterFriend
Messages: 4
Registered: May 2012
Junior Member
Hello Achim,

thank you very much for your quick response.
Does this mean the problems will be fixed due to changes in Eclipse, but not due to changes in Jubula? This would mean, to get the Jubula tests working again, an update of our application to Juno SR1 is mandatory?

Kind regards,
Michael Werter
Re: NoSuchMethodError when using Eclipse 4.2 [message #925069 is a reply to message #925012] Thu, 27 September 2012 10:41 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

The menu problem is caused by an e4 problem. It should go away when the AUT is updated to SR1. Other problems might lurk because we haven't tested e4 extensively. Native e4 is not supported at all at the moment because we can't get at the necessary information for tests without some work on the internals of Jubula RC.

Achim

Previous Topic:Test scenario: is Jubula the right GUI test framework to use?
Next Topic:How to use partial data for stored variable in jubula
Goto Forum:
  


Current Time: Fri Apr 26 10:31:12 GMT 2024

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

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

Back to the top