Bug #7420
closedОшибка при ctrl+shift+c
100%
Description
При попытке копирования/вставки текста в узлах Module Editor ничего не скопировалось. В Error log ошибка:
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product
org.eclipse.ui
Error
Fri Jul 22 17:11:00 MSK 2016
Unhandled event loop exception
org.eclipse.swt.SWTException: editor.getSelection() is null
at org.eclipse.swt.browser.WebBrowser$EvaluateFunction.function(WebBrowser.java:192)
at org.eclipse.swt.browser.External.invokeFunction(External.java:414)
at org.eclipse.swt.browser.External.callJava(External.java:108)
at org.eclipse.swt.internal.mozilla.XPCOM._JS_EvaluateUCScriptForPrincipals191(Native Method)
at org.eclipse.swt.internal.mozilla.XPCOM.JS_EvaluateUCScriptForPrincipals191(XPCOM.java:271)
at org.eclipse.swt.browser.Mozilla.execute(Mozilla.java:1512)
at org.eclipse.swt.browser.WebBrowser.evaluate(WebBrowser.java:434)
at org.eclipse.swt.browser.Browser.evaluate(Browser.java:614)
at com.unitesk.requality.eclipse.ui.editors.JSEditor.getSelectionText(JSEditor.java:142)
at com.unitesk.requality.eclipse.ui.editors.JSEditor.access$000(JSEditor.java:119)
at com.unitesk.requality.eclipse.ui.editors.JSEditor$BrowserKeyListener.keyReleased(JSEditor.java:166)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:174)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:782)
at org.eclipse.swt.browser.Mozilla.HandleEvent(Mozilla.java:4942)
at org.eclipse.swt.browser.Mozilla$20.method3(Mozilla.java:1310)
at org.eclipse.swt.internal.mozilla.XPCOMObject.callback3(XPCOMObject.java:272)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
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.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)