[Pydev-users] [pydev - Users] Unable to open an "external" Python source
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2007-07-17 08:46:19
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4416037 By: sweinst Hi, I'm currently using "Pydev" + "Pydev extensions" 1.3.7 with Eclipse 3.3. Every time, I try to open a Python source which is not in an Eclipse project with "File/Open", I get the following error: java.lang.NullPointerException at org.python.pydev.debug.ui.actions.AbstractBreakpointRulerAction.isInSameExte rnalEditor(AbstractBreakpointRulerAction.java:188) at org.python.pydev.debug.ui.actions.AbstractBreakpointRulerAction.getMarkersFr omEditorResource(AbstractBreakpointRulerAction.java:315) at org.python.pydev.debug.ui.actions.BreakpointRulerAction.getMarkersFromCurren tFile(BreakpointRulerAction.java:78) at org.python.pydev.debug.ui.actions.BreakpointRulerAction.update(BreakpointRul erAction.java:63) at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.update(AbstractRulerAc tionDelegate.java:133) at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.setActiveEditor(Abstra ctRulerActionDelegate.java:90) at org.eclipse.ui.internal.EditorPluginAction.editorChanged(EditorPluginAction. java:75) at org.eclipse.ui.internal.EditorPluginAction.<init>(EditorPluginAction.java:34 ) at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java: 256) at org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:170) at org.eclipse.ui.internal.ViewerActionBuilder.createActionDescriptor(ViewerAct ionBuilder.java:53) at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder. java:158) at org.eclipse.ui.internal.ViewerActionBuilder.readElement(ViewerActionBuilder. java:88) at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader. java:138) at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(Registry Reader.java:127) at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder. java:141) at org.eclipse.ui.internal.ViewerActionBuilder.readElement(ViewerActionBuilder. java:88) at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader. java:138) at org.eclipse.ui.internal.registry.RegistryReader.readExtension(RegistryReader .java:149) at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader. java:170) at org.eclipse.ui.internal.PluginActionBuilder.readContributions(PluginActionBu ilder.java:112) at org.eclipse.ui.internal.ViewerActionBuilder.readViewerContributions(ViewerAc tionBuilder.java:106) at org.eclipse.ui.internal.PopupMenuExtender.readStaticActionsFor(PopupMenuExte nder.java:452) at org.eclipse.ui.internal.PopupMenuExtender.<init>(PopupMenuExtender.java:132) at org.eclipse.ui.internal.PartSite.registerContextMenu(PartSite.java:118) at org.eclipse.ui.internal.EditorSite.registerContextMenu(EditorSite.java:165) at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextE ditor.java:3307) at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEdito r.java:53) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(Abst ractDecoratedTextEditor.java:378) at org.python.pydev.editor.codefolding.PyEditProjection.createPartControl(PyEdi tProjection.java:70) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.jav a:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReferenc e.java:592) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.ja va:2721) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633 ) at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2539) at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1090) at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAct ion.java:105) at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAct ion.java:75) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java: 229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Action ContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionI tem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribu tionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication. java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: 153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication( EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp pLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) Any idea on how to solve that? Thanks Serge Weinstock ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |