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 217920 - NullPointerException at org.netbeans.api.project.ProjectUtils$BasicInformation.getDisplayName
Summary: NullPointerException at org.netbeans.api.project.ProjectUtils$BasicInformatio...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-05 23:53 UTC by misterm
Modified: 2013-02-28 14:14 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191537


Attachments
stacktrace (1.48 KB, text/plain)
2012-09-05 23:53 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2012-09-05 23:53:34 UTC
Build: NetBeans IDE Dev (Build 20120903-b205afccf642)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

User Comments:
bht: startup

bht: startup

bht: On startup




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.project.ProjectUtils$BasicInformation.getDisplayName(ProjectUtils.java:244)
   at org.netbeans.api.project.ProjectUtils$AnnotateIconProxyProjectInformation.getDisplayName(ProjectUtils.java:344)
   at org.netbeans.modules.project.ui.problems.BrokenReferencesImpl.showCustomizer(BrokenReferencesImpl.java:183)
   at org.netbeans.api.project.ui.ProjectProblems.showCustomizer(ProjectProblems.java:108)
   at org.netbeans.spi.java.project.support.ui.BrokenReferencesSupport.showAlert(BrokenReferencesSupport.java:167)
   at org.netbeans.modules.scala.project.J2SEProject$ProjectOpenedHookImpl.projectOpened(J2SEProject.java:639)
Comment 1 misterm 2012-09-05 23:53:37 UTC
Created attachment 123968 [details]
stacktrace
Comment 2 Milos Kleint 2012-09-06 06:38:08 UTC
from what I can tell the problem is at
Project.getProjectDirectory() being null for scala's project type