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 150310 - NullPointerException at org.netbeans.modules.scala.editing.ast.AstItem.getName
Summary: NullPointerException at org.netbeans.modules.scala.editing.ast.AstItem.getName
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 03:44 UTC by misterm
Modified: 2008-10-19 17:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 82903


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2008-10-16 03:44:26 UTC
Build: NetBeans IDE Dev (Build 200807251401)
VM: Java HotSpot(TM) Client VM, 12.0-b01, Java(TM) SE Runtime Environment, 1.7.0-ea-b24
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.scala.editing.ast.AstItem.getName(AstItem.java:92)
        at org.netbeans.modules.scala.editing.ast.AstDef.getName(AstDef.java:102)
        at 
org.netbeans.modules.scala.editing.ScalaStructureAnalyzer$ScalaStructureItem.getName(ScalaStructureAnalyzer.java:274)
        at 
org.netbeans.modules.scala.editing.ScalaStructureAnalyzer$ScalaStructureItem.getSortText(ScalaStructureAnalyzer.java:27
8)
        at 
org.netbeans.modules.gsfret.navigation.ElementNode$Description$DescriptionComparator.compare(ElementNode.java:376)
        at 
org.netbeans.modules.gsfret.navigation.ElementNode$Description$DescriptionComparator.compare(ElementNode.java:362)
        at java.util.Arrays.mergeSort(Arrays.java:1283)
        at java.util.Arrays.sort(Arrays.java:1223)
        at java.util.Collections.sort(Collections.java:176)
        at org.netbeans.modules.gsfret.navigation.ClassMemberFilters.filter(ClassMemberFilters.java:140)
Comment 1 _ dcaoyuan 2008-10-19 17:07:33 UTC
Fixed. contrib/rev/3646b78af496