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 193684 - [70cat] NullPointerException at org.netbeans.modules.debugger.ui.models.BreakpointGroup.isSubProjectOf
Summary: [70cat] NullPointerException at org.netbeans.modules.debugger.ui.models.Break...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-21 10:53 UTC by aldobrucale
Modified: 2011-01-06 09:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 175226


Attachments
stacktrace (1.28 KB, text/plain)
2010-12-21 10:53 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2010-12-21 10:53:08 UTC
Build: NetBeans IDE Dev (Build 201012150001)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
aldobrucale: Selecting the "Breakpoints" tab




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.ui.models.BreakpointGroup.isSubProjectOf(BreakpointGroup.java:432)
   at org.netbeans.modules.debugger.ui.models.BreakpointGroup.isDependentOnAnOpened(BreakpointGroup.java:406)
   at org.netbeans.modules.debugger.ui.models.BreakpointGroup.isOpened(BreakpointGroup.java:390)
   at org.netbeans.modules.debugger.ui.models.BreakpointGroup.createGroups(BreakpointGroup.java:185)
   at org.netbeans.modules.debugger.ui.models.BreakpointsTreeModel.getChildren(BreakpointsTreeModel.java:113)
   at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildren(Models.java:1511)
Comment 1 aldobrucale 2010-12-21 10:53:11 UTC
Created attachment 104344 [details]
stacktrace
Comment 2 Martin Entlicher 2010-12-27 10:52:30 UTC
Some Breakpoint.GroupProperties returned a null element from getProjects() method.
Comment 3 Martin Entlicher 2010-12-27 12:39:59 UTC
Fixed in changeset:   185472:5f60e4ff111e
We count with null elements in the projects array now.
http://hg.netbeans.org/main/rev/5f60e4ff111e
Comment 4 Quality Engineering 2011-01-06 09:11:04 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5f60e4ff111e
User: mentlicher@netbeans.org
Log: #193684 Handle null element in an array of projects returned from Breakpoint.GroupProperties.getProjects()