[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] NullPointer exception

Greetings,

This is the first time I've tried to use Photran, and I'm also a newbie
at using Eclipse.
I just today downloaded and installed Photran: photran40b4-master.zip
Eclipse Version: 3.4.1 Build id: M20080911-1700

Every time I try to open a FORTRAN .f file, I get this:

"Could not open the editor.  An unexpected exception was thrown."

java.lang.NullPointerException
	at
org.eclipse.photran.internal.ui.editor_vpg.contentassist.FortranCompleti
onProcessor.setup(FortranCompletionProcessor.java:39)
	at
org.eclipse.photran.internal.ui.editor_vpg.FortranVPGSourceViewerConfigu
rationFactory$1.getContentAssistant(FortranVPGSourceViewerConfigurationF
actory.java:36)
	at
org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:3
70)
	at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractT
extEditor.java:3233)
	at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextE
ditor.java:53)
	at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(
AbstractDecoratedTextEditor.java:394)
	at
org.eclipse.photran.internal.ui.editor.AbstractFortranEditor.createPartC
ontrol(AbstractFortranEditor.java:173)
	at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference
.java:661)
	at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:
428)
	at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartRefe
rence.java:594)
	at
org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
	at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Present
ablePart.java:180)
	at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(
PresentablePartFolder.java:270)
	at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(Le
ftToRightTabOrder.java:65)
	at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selec
tPart(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(EditorSashContaine
r.java:63)
	at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.ja
va:217)
	at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java
:207)
	at
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java
:779)
	at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorMan
ager.java:678)
	at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:639)
	at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPag
e.java:2817)
	at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:
2729)
	at
org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
	at
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
	at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668
)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652
)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635
)
	at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1146)
	at
org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFil
eAction.java:107)
	at
org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFil
eAction.java:76)
	at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
	at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.j
ava:229)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:583)
	at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut
ionItem.java:500)
	at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont
ributionItem.java:411)
	at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
	at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
	at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
	at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
	at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
288)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:4
88)
	at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat
ion.java:113)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j
ava:193)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:110)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.java:79)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
386)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

My system is 64-bit OpenSUSE, running on a quad-core AMD processor:
ACML@mako54:~/acmlbugs/Jarvis> uname -a
Linux mako54 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC x86_64
x86_64 x86_64 GNU/Linux

Jim Conyngham