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

Summary: NPE from NavigationView after opening java file
Product: java Reporter: Marian Mirilovic <mmirilovic>
Component: UnsupportedAssignee: Jan Pokorsky <jpokorsky>
Status: CLOSED FIXED    
Severity: blocker Keywords: REGRESSION, T9Y
Priority: P1    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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