KitzyKitt - 2005-07-05

I get the following exception when I try to open the perl editor on a perl file:

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.<init>(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:332)
    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:2325)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178)
    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:2867)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
    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)

Environment:

Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=I20050627-1435
eclipse.commands=-os
linux
-ws
gtk
-arch
x86
-launcher
...

*** Features:
org.epic.feature.main (0.3.10) "Perl Editor Plug-in"
...

*** Plug-in Registry:
org.epic.debug (0.3.0) "Debug Plug-in" [Resolved]
org.epic.ext.cbg.editor (0.3.1) "Syntax Coloring  Editor Plugin" [Active]
org.epic.perleditor (0.2.0) "Perl Editor Plug-in" [Active]
org.epic.regexp (0.1.3) "Regexp Plug-in" [Resolved]
...

Epic Project 0.3.10
Plugins:
    org.ecip.ext.cbg.editor - 0.3.1
    org.epic.perleditor - 0.2.0
    org.epic.regexp - 0.1.3
    org.epic.debug - 0.3.0