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 80825 - Exception occurred when project was closed
Summary: Exception occurred when project was closed
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 14:24 UTC by soldatov
Modified: 2007-08-13 18:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2006-07-21 14:24:04 UTC
Open big project (CLucene or LiteSQL)
Close project while it is parsing

*********** Exception occurred ************ at 4:52 PM on Jul 21, 2006
java.lang.NullPointerException
        at
org.netbeans.modules.cnd.classview.model.ObjectNode.getObject(ObjectNode.java:64)
        at
org.netbeans.modules.cnd.classview.model.CVUtil$NamespaceNodesComparator.compare(CVUtil.java:100)
        at
org.netbeans.modules.cnd.classview.model.ProjectNode$ProjectNodeComparator.compare(ProjectNode.java:73)
        at java.util.Arrays.mergeSort(Arrays.java:1284)
        at java.util.Arrays.mergeSort(Arrays.java:1295)
        at java.util.Arrays.mergeSort(Arrays.java:1295)
        at java.util.Arrays.mergeSort(Arrays.java:1295)
        at java.util.Arrays.mergeSort(Arrays.java:1295)
        at java.util.Arrays.sort(Arrays.java:1223)
        at java.util.Collections.sort(Collections.java:159)
        at org.openide.nodes.Children$SortedArray$SAE.nodes(Children.java:1778)
        at org.openide.nodes.Children.refreshEntry(Children.java:1078)
        at org.openide.nodes.Children$Array.refreshImpl(Children.java:1357)
        at org.openide.nodes.Children$2.run(Children.java:1374)
        at org.openide.util.Mutex.postRequest(Mutex.java:1113)
        at org.openide.util.Mutex.postWriteRequest(Mutex.java:483)
        at org.openide.nodes.Children$Array.refresh(Children.java:1372)
        at org.openide.nodes.Children$Array.remove(Children.java:1436)
        at
org.netbeans.modules.cnd.classview.model.ProjectNode.removeLoadingNode(ProjectNode.java:151)
        at
org.netbeans.modules.cnd.classview.model.ProjectNode.access$000(ProjectNode.java:51)
        at
org.netbeans.modules.cnd.classview.model.ProjectNode$2.run(ProjectNode.java:101)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.CodeModelRequestProcessor$1.run(CodeModelRequestProcessor.java:57)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 Vladimir Kvashin 2006-07-24 10:50:27 UTC
Fixed.

Checking in ProjectNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/Attic/ProjectNode.java,v
 <--  ProjectNode.java
new revision: 1.1.2.9; previous revision: 1.1.2.8
done
Comment 2 dnikitin 2007-08-13 18:14:58 UTC
Verified in NB 5.5.1u1 CND build 20070808