Linux Eclipse 3.0.2, Epic 0.3.10, No Editor

kitzykitt wrote on Wed Jun 15 19:55:08 MEST 2005:
I just upgraded from Eclipse 2.1.1 to Eclipse 3.0.2 so that I could install
the Epic plugin.

I installed it via the update manager (both version 0.3.0 and 0.3.10), reinstalled
eclipse 3.0.2, tried only 0.3.0, then only 0.3.10 and each time got the
exact same errors.

If I try to open a perl file, I get a pop-up box saying "Editor could not
be initialized."  There isn't a details box to click on.

If I goto Window >> Preferences >> Perl EPIC
1.) Clicking on Editor pops up a box saying "The currently displayed page
contains invalid values".  And doesn't show the page.  If I click on something
else then click back on Editor, it pulls up the page, all values are empty
including the box "Appearance color options:"

2.) Clicking on Templates gives me the exact same results as clicking on
"Editor" did.  If I click on "New..." or "Edit..." from inside this menu,
nothing happens.

I am not sure where to start debugging this problem, have searched for answers
and come up empty handed. 

Thanks for all your help in advance.
kitzykitt wrote on Mon Jun 20 17:46:16 MEST 2005:
I tried to install Eclipse 3.1RC3 on a different machine.  It was a copy
of what existed before.  I then installed Epic 0.3.0, and got the same results
as before, but this time it gave me a java error:

 java.lang.NullPointerException
at cbg.editor.jedit.CatalogReader.read(CatalogReader.java:31)
at cbg.editor.Modes.loadCatalog(Modes.java:63)
at cbg.editor.Modes.getModeList(Modes.java:56)
at cbg.editor.Modes.filenameToModeName(Modes.java:41)
at cbg.editor.Modes.getModeForFilename(Modes.java:35)
at cbg.editor.Modes.getModeFor(Modes.java:29)
at cbg.editor.ColoringPartitionScanner.(ColoringPartitionScanner.java:57)
at cbg.editor.ColoringDocumentProvider.createPartitioner(ColoringDocumentProvider.java:34)
at cbg.editor.ColoringDocumentProvider.initializeDocument(ColoringDocumentProvider.java:27)
at cbg.editor.ColoringDocumentProvider.createDocument(ColoringDocumentProvider.java:21)
at org.epic.perleditor.editors.PerlDocumentProvider.createDocument(PerlDocumentProvider.java:38)
at org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:679)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:398)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:3008)
at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1303)
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:262)
at org.epic.perleditor.editors.PerlEditor.doSetInput(PerlEditor.java:285)
at org.eclipse.ui.texteditor.AbstractTextEditor$16.run(AbstractTextEditor.java:2360)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2134)
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2378)
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2405)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:773)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:572)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2321)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2254)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2246)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2232)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2227)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2208)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:120)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:326)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:650)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:409)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2851)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2556)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)




I reverted back to my version of Eclipse platform 2.1.2 and SDK 2.1.1 and
then installed Epic via the update link http://e-p-i-c.sourceforge.net/updates_0.2.0
.  The editor still wouldn't open, and the prefernces pages for the Epic
editor and templates where still blank as they had been before.  I think
I might be missing something somewhere, but can't figure out where.

Any help would be greatly appriciated.

Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.