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 167198 - NullPointerException at org.netbeans.api.project.ProjectUtils.getInformation
Summary: NullPointerException at org.netbeans.api.project.ProjectUtils.getInformation
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Victor Vasilyev
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 07:35 UTC by ihsiak
Modified: 2009-09-18 02:21 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150393


Attachments
stacktrace (6.00 KB, text/plain)
2009-06-17 07:35 UTC, ihsiak
Details
stacktrace (8.19 KB, text/plain)
2009-07-10 09:59 UTC, raulfonseca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ihsiak 2009-06-17 07:35:41 UTC
Build: NetBeans IDE 6.7 RC1 (Build 200905282243)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
GUEST: Alt-Shift+o Go to file...

GUEST: paste a class name into the GoToFile dialog search text field

GUEST: alt-shift-o lookup of php file in project.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.api.project.ProjectUtils.getInformation(ProjectUtils.java:83)
        at org.netbeans.modules.jumpto.file.FileDescription.initProjectInfo(FileDescription.java:208)
        at org.netbeans.modules.jumpto.file.FileDescription.getProjectName(FileDescription.java:126)
        at org.netbeans.modules.jumpto.file.FileDescription$Renderer.getListCellRendererComponent(FileDescription.java:412)
        at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:195)
        at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:304)
Comment 1 ihsiak 2009-06-17 07:35:46 UTC
Created attachment 83668 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-06-17 12:53:51 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=150393
Comment 3 Milos Kleint 2009-06-17 13:21:04 UTC
reassigning - org.netbeans.modules.jumpto.file.FileDescription is the problem spot.
Comment 4 raulfonseca 2009-07-10 09:59:45 UTC
Build: NetBeans IDE Dev (Build 200906230201)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows Vista, 6.0, x86

User Comments: 
using the Goto File function and typing the class name first characters

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.api.project.ProjectUtils.getInformation(ProjectUtils.java:83)
        at org.netbeans.modules.jumpto.file.FileDescription.initProjectInfo(FileDescription.java:208)
        at org.netbeans.modules.jumpto.file.FileDescription.getProjectName(FileDescription.java:126)
        at org.netbeans.modules.jumpto.file.FileDescription$Renderer.getListCellRendererComponent(FileDescription.java:412)
        at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:195)
        at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:304)
Comment 5 raulfonseca 2009-07-10 09:59:50 UTC
Created attachment 84579 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-07-10 09:59:55 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=150393
Comment 7 Exceptions Reporter 2009-09-04 14:04:00 UTC
This issue already has 14 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=150393
Comment 8 Victor Vasilyev 2009-09-18 02:21:59 UTC
Fixed in the main trunk
http://hg.netbeans.org/main/rev/a2003a596e4e