]
Andrej Podhradsky closed JBTIS-842.
-----------------------------------
pushed to master
Improve the stability of SwitchYard debugger tests
--------------------------------------------------
Key: JBTIS-842
URL:
https://issues.jboss.org/browse/JBTIS-842
Project: JBoss Tools Integration Stack
Issue Type: Bug
Components: QE, switchyard
Affects Versions: 4.3.1.Final
Reporter: Andrej Podhradsky
Assignee: Andrej Podhradsky
Fix For: 4.3.1.Final
It seems that the Breakpoints view sometimes disable the button 'Remove All
Breakpoints' even if there is at least one breakpoint. The stacktrace is as follows
{code}
org.jboss.reddeer.swt.exception.SWTLayerException: SWT Shell passed to constructor is
null. The following shells are available
class org.eclipse.swt.widgets.Shell with text 'Debug -
org.switchyard.handlers.ValidateHandler - JBoss Developer Studio'
at org.jboss.reddeer.swt.impl.shell.AbstractShell.<init>(AbstractShell.java:34)
at org.jboss.reddeer.swt.impl.shell.DefaultShell.<init>(DefaultShell.java:24)
at
org.jboss.tools.switchyard.reddeer.debug.BreakpointsView.removeAllBreakpoints(BreakpointsView.java:47)
at
org.jboss.tools.switchyard.ui.bot.test.DebuggerDebuggingTest.removeAllBreakpoints(DebuggerDebuggingTest.java:86)
{code}
To workaround this just close and reopen the Breakpoints view.