I attached a copy of the stack trace in file format for easier viewing.
On Thu, Jan 7, 2010 at 1:06 PM, eshvar60 <eshvar60(a)gmail.com> wrote:
Hello all,
I am currently working on extending/customizing the drools-eclipse project
for my company and I having some trouble getting the drools eclipse Guided
Rule Editor working inside my project. I have set my project to open a .brl
file using org.drools.eclipse.rulebuilder.editors.RuleEditor. When I open
this file inside my project I receive the following error which I have been
unable to decode:
org.eclipse.core.runtime.AssertionFailedException: assertion failed: at
org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) at
org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) at
org.eclipse.jface.text.source.AnnotationModel.disconnect(AnnotationModel.java:542)
at
org.eclipse.jface.text.source.AnnotationModel.removeAnnotationModel(AnnotationModel.java:986)
at
org.eclipse.jface.text.source.SourceViewer.disposeVisualAnnotationModel(SourceViewer.java:527)
at
org.eclipse.jface.text.source.SourceViewer.handleDispose(SourceViewer.java:669)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.handleDispose(ProjectionViewer.java:1362)
at org.eclipse.jface.text.TextViewer$2.widgetDisposed(TextViewer.java:1788)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185) at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1025) at
org.eclipse.swt.custom.StyledText.handleDispose(StyledText.java:5712) at
org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5540) at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1181) at
org.eclipse.swt.widgets.Widget.release(Widget.java:1044) at
org.eclipse.swt.widgets.Control.release(Control.java:3293) at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1185) at
org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:211) at
org.eclipse.swt.widgets.Widget.release(Widget.java:1047) at
org.eclipse.swt.widgets.Control.release(Control.java:3293) at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1185) at
org.eclipse.swt.widgets.Widget.release(Widget.java:1047) at
org.eclipse.swt.widgets.Control.release(Control.java:3293) at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1185) at
org.eclipse.swt.widgets.Widget.release(Widget.java:1047) at
org.eclipse.swt.widgets.Control.release(Control.java:3293) at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1185) at
org.eclipse.swt.widgets.Widget.release(Widget.java:1047) at
org.eclipse.swt.widgets.Control.release(Control.java:3293) at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1185) at
org.eclipse.swt.widgets.Widget.release(Widget.java:1047) at
org.eclipse.swt.widgets.Control.release(Control.java:3293) at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1185) at
org.eclipse.swt.widgets.Widget.release(Widget.java:1047) at
org.eclipse.swt.widgets.Control.release(Control.java:3293) at
org.eclipse.swt.widgets.Widget.dispose(Widget.java:446) at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:687)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313) at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209) at
org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608) at
org.eclipse.ui.internal.PartStack.add(PartStack.java:499) at
org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103) at
org.eclipse.ui.internal.PartStack.add(PartStack.java:485) at
org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112) at
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705) at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701) at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685) at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at
org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1151) at
es.gmv.flexplan.rules.editor.utils.RulesUtils.openRulesFilesInIDE(RulesUtils.java:186)
at
es.gmv.flexplan.rules.editor.views.RulesRepositoryListener.doubleClick(RulesRepositoryListener.java:146)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:821)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.runtime.Platform.run(Platform.java:888) at
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:819)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1419)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1195)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235) at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296) at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at
es.gmv.flexplan.rules.editor.RulesEditorApp.start(RulesEditorApp.java:39) at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at
org.eclipse.equinox.launcher.Main.run(Main.java:1311) at
org.eclipse.equinox.launcher.Main.main(Main.java:1287)
!ENTRY org.eclipse.ui 4 0 2010-01-07 11:46:53.466 *!MESSAGE Unable to
create editor ID i: assertion failed: * !STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed: at
org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) at
org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) at
org.eclipse.jface.text.source.AnnotationModel.connect(AnnotationModel.java:498)
at
org.eclipse.jface.text.source.AnnotationModel.connect(AnnotationModel.java:519)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:541)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:375)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:500)
at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3951)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3466)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:427)
at org.drools.eclipse.editors.AbstractRuleEditor.createPartControl(Unknown
Source) at
org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:242)
at org.eclipse.ui.forms.editor.FormEditor.addPage(FormEditor.java:319) at
org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:212)
at org.eclipse.ui.forms.editor.FormEditor.addPage(FormEditor.java:302) at
org.drools.eclipse.rulebuilder.editors.RuleEditor.addPages(Unknown Source)
at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:138)
at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313) at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209) at
org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608) at
org.eclipse.ui.internal.PartStack.add(PartStack.java:499) at
org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103) at
org.eclipse.ui.internal.PartStack.add(PartStack.java:485) at
org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112) at
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705) at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701) at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685) at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at
org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1151) at
es.gmv.flexplan.rules.editor.utils.RulesUtils.openRulesFilesInIDE(RulesUtils.java:186)
at
es.gmv.flexplan.rules.editor.views.RulesRepositoryListener.doubleClick(RulesRepositoryListener.java:146)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:821)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.runtime.Platform.run(Platform.java:888) at
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:819)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1419)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1195)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235) at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296) at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at
es.gmv.flexplan.rules.editor.RulesEditorApp.start(RulesEditorApp.java:39) at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at
org.eclipse.equinox.launcher.Main.run(Main.java:1311) at
org.eclipse.equinox.launcher.Main.main(Main.java:1287)
I have also attached my plug-in.xml and Manifest.MF files.
plug-in.xml <
http://n3.nabble.com/file/n112549/plug-in.xml>
Manifest.MF <
http://n3.nabble.com/file/n112549/Manifest.MF>
I will keep trying to make this work but if anyone has any ideas or has any
experience with developing this plug-in please let me know! Even a small
hint at what this could be would be great :) Thanks everyone!
------------------------------
View this message in context: Drools-Eclipse
Dev<http://n3.nabble.com/Drools-Eclipse-Dev-tp112549p112549.html>
Sent from the Drools - Dev mailing list
archive<http://n3.nabble.com/Drools-Dev-f62260.html>at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev