This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 47291 - NPE from NavigationView after opening java file
Summary: NPE from NavigationView after opening java file
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: REGRESSION, T9Y
: 47286 47321 47492 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-17 06:27 UTC by Marian Mirilovic
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-08-17 06:27:05 UTC
[nb_dev](200408161800), [jdk1.5.0](b63)

Steps to reproduce:
- run IDE with new userdir
- create new project
-> NPE after scan finished
- create new file
-> NPE 

P1- regression

java.lang.NullPointerException
        at
org.netbeans.modules.java.ui.NavigationView.findElement(NavigationView.java:520)
        at
org.netbeans.modules.java.ui.NavigationView.findElementNode(NavigationView.java:469)
        at
org.netbeans.modules.java.ui.NavigationView.findNode(NavigationView.java:380)
        at
org.netbeans.modules.java.ui.NavigationView.selectNodeImpl(NavigationView.java:352)
        at
org.netbeans.modules.java.ui.NavigationView.access$100(NavigationView.java:63)
        at
org.netbeans.modules.java.ui.NavigationView$2.run(NavigationView.java:309)
        at org.openide.util.Task.run(Task.java:136)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 1 Jan Becicka 2004-08-17 07:24:00 UTC
My fault. Already hotfixed by psuk.
Comment 2 Marian Mirilovic 2004-08-18 07:11:52 UTC
verified in [nb_dev](200408171800)
Comment 3 rmatous 2004-08-18 08:44:04 UTC
*** Issue 47286 has been marked as a duplicate of this issue. ***
Comment 4 psuk 2004-08-20 09:03:13 UTC
*** Issue 47492 has been marked as a duplicate of this issue. ***
Comment 5 ehucka 2004-08-30 10:02:34 UTC
*** Issue 47321 has been marked as a duplicate of this issue. ***
Comment 6 Quality Engineering 2007-09-20 12:47:51 UTC
Reorganization of java component