#744 Can't navigate project in Package Explorer

1.3.18
open-accepted
nobody
None
5
2008-08-04
2008-07-01
Arve Knudsen
No

In PyDev 1.3.17-1.3.18 I can't navigate my project in the PyDev perspective (it shows, but as a lone top level node), even though it is indeed a PyDev project. I get a couple of backtraces in the error log that might be related to the problem, see the attachment.

Discussion

  • Arve Knudsen
    Arve Knudsen
    2008-07-01

    Backtraces

     
    Attachments
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-07-28

    • milestone: --> 1.3.18
    • status: open --> closed-fixed
     
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-07-28

    Logged In: YES
    user_id=617340
    Originator: NO

    I think I was able to fix it (for 1.3.19), although, it would be nice if you could attach your project (or a sample with the same symptoms) so that I can see if it really worked.

     
  • Arve Knudsen
    Arve Knudsen
    2008-08-03

    Logged In: YES
    user_id=1522083
    Originator: YES

    I'm attaching a test project that exhibits problems in my Eclipse installation at least.
    File Added: PyDevTest.tar

     
  • Arve Knudsen
    Arve Knudsen
    2008-08-03

    Test Eclipse project for both C++ and PyDev

     
    Attachments
  • Arve Knudsen
    Arve Knudsen
    2008-08-03

    • status: closed-fixed --> open-fixed
     
  • Arve Knudsen
    Arve Knudsen
    2008-08-03

    Logged In: YES
    user_id=1522083
    Originator: YES

    The problems remains in 1.3.19.

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-08-04

    • status: open-fixed --> pending-accepted
     
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-08-04

    Logged In: YES
    user_id=617340
    Originator: NO

    I still cannot reproduce it, so, let me see if there's something I'm missing:
    - Which Eclipse version are you using?
    - Which filters/custom filters do you have turned on?
    - Are you using the "pydev package explorer" or the "project explorer"?
    - What content is selected in the menu "customize view" -> "Content"?
    - What's your O.S?
    - After installing 1.3.19, did you get new entries in your error log?

     
  • Arve Knudsen
    Arve Knudsen
    2008-08-04

    • status: pending-accepted --> open-accepted
     
  • Arve Knudsen
    Arve Knudsen
    2008-08-04

    Logged In: YES
    user_id=1522083
    Originator: YES

    1. Ganymede, 3.4.0, Java version 1.6.0_06
    2. None, this was a clean project, except I added two Python modules
    3. pydev package explorer
    4. Both entries are selected
    5. Ubuntu Hardy 64bit at home, Feisty 32bit at work
    6. There is an error that I see a lot of in the log, not sure if it's particular to the latest version though:

    !ENTRY org.python.pydev 4 4 2008-08-03 21:04:29.197
    !MESSAGE No message gotten.
    !STACK 0
    java.lang.NullPointerException
    at org.python.pydev.outline.OutlineHideImportsAction$1.select(OutlineHideImportsAction.java:36)
    at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51)
    at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:640)
    at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:602)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2567)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1856)
    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:711)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1831)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1787)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1773)
    at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1430)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365)
    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:397)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1428)
    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
    at org.python.pydev.outline.PyOutlinePage.refreshItems(PyOutlinePage.java:152)
    at org.python.pydev.outline.ParsedModel.setRoot(ParsedModel.java:159)
    at org.python.pydev.outline.ParsedModel$1$2.run(ParsedModel.java:69)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
    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:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    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:382)
    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: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)