Description
When edit SQL or Wait for SQL in a workflow, Hop web gives following stacktrace
Type Exception ReportType Exception Report Message Servlet execution threw an exception Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception javax.servlet.ServletException: Servlet execution threw an exception org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)Root Cause java.lang.NoSuchMethodError: 'int org.eclipse.swt.widgets.Text.getCaretLineNumber()' org.apache.hop.ui.core.widget.StyledTextComp.getLineNumber(StyledTextComp.java:245) org.apache.hop.workflow.actions.waitforsql.ActionWaitForSqlDialog.setPosition(ActionWaitForSqlDialog.java:667) org.apache.hop.workflow.actions.waitforsql.ActionWaitForSqlDialog.lambda$open$4(ActionWaitForSqlDialog.java:522) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:202) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:687) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594) org.eclipse.swt.widgets.Text.setText(Text.java:186) org.apache.hop.ui.core.widget.StyledTextComp.setText(StyledTextComp.java:120) org.apache.hop.workflow.actions.waitforsql.ActionWaitForSqlDialog.getData(ActionWaitForSqlDialog.java:714) org.apache.hop.workflow.actions.waitforsql.ActionWaitForSqlDialog.open(ActionWaitForSqlDialog.java:577) org.apache.hop.ui.hopgui.file.workflow.delegates.HopGuiWorkflowActionDelegate.editAction(HopGuiWorkflowActionDelegate.java:233) org.apache.hop.ui.hopgui.file.workflow.HopGuiWorkflowGraph.editAction(HopGuiWorkflowGraph.java:2712) org.apache.hop.ui.hopgui.file.workflow.HopGuiWorkflowGraph.mouseUp(HopGuiWorkflowGraph.java:687) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:242) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:687) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594) org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1217) org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1198) org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1181) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1173) org.eclipse.rap.rwt.application.AbstractEntryPoint.createUI(AbstractEntryPoint.java:69) org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177) org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:290) java.base/java.lang.Thread.run(Thread.java:829) org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:107)Note The full stack trace of the root cause is available in the server logs.