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

Summary: NullPointerException at org.netbeans.api.project.ProjectUtils$BasicInformation.getDisplayName
Product: contrib Reporter: misterm <misterm>
Component: ScalaAssignee: _ dcaoyuan <dcaoyuan>
Status: NEW ---    
Severity: normal CC: bht, irdam, mikegryz, robertjava
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191537
Attachments: stacktrace

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