SQL Results error when removing results [message #1121383] |
Mon, 30 September 2013 15:10 |
d jailer Messages: 4 Registered: August 2013 |
Junior Member |
|
|
I am using Kepler Release Build id: 20130606-0932 straight from the download site. The only mods I did involve the creation of my database connection. I used the same values which did not cause errors in Ganymede -> Juno. I used a new blank workspace.
When I try to either remove a single line or all ines I see this message in the Error Log - along with the stacktrace.
java.lang.UnsupportedOperationException: This IndexReader cannot make any changes to the index (it was opened with readOnly = true)
at org.apache.lucene.index.ReadOnlySegmentReader.noWrite(ReadOnlySegmentReader.java:23)
at org.apache.lucene.index.ReadOnlyDirectoryReader.acquireWriteLock(ReadOnlyDirectoryReader.java:43)
at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:1339)
at org.apache.lucene.index.IndexReader.deleteDocuments(IndexReader.java:1375)
at org.eclipse.datatools.sqltools.result.internal.index.ResultHistoryLuceneIndex.removeResults(ResultHistoryLuceneIndex.java:184)
at org.eclipse.datatools.sqltools.result.internal.index.ResultHistoryLuceneIndex.removeResult(ResultHistoryLuceneIndex.java:155)
at org.eclipse.datatools.sqltools.result.internal.index.HistoryIndexListener.resultInstanceRemoved(HistoryIndexListener.java:34)
at org.eclipse.datatools.sqltools.result.ResultManager.fireRemoved(ResultManager.java:117)
at org.eclipse.datatools.sqltools.result.ResultManager.removeResultInstance(ResultManager.java:200)
at org.eclipse.datatools.sqltools.result.internal.ui.actions.RemoveResultAction.run(RemoveResultAction.java:100)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Session Data:
eclipse.buildId=4.3.0.I20130530-1430
java.version=1.7.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.reporting.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.reporting.product
I am not able to remove any lines normally. If I want to remove a row I need to choose one of the Remove options, which results in the above Error Log entry but seems to have no visible effect. I then enter any character in the filter. I use a space. The Results will disappear - I assume since the search for " " doesn't match any result. Then I backspace and the Result is now gone.
I haven't been able to find anything like this error anywhere so far, except in some bug reports - which since I am not using the command line and not calling any connection objects via java code doesn't help me much.
[Updated on: Mon, 30 September 2013 15:11] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05287 seconds