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 84782 - Class View is broken in project, if project in time of parsing was closed before
Summary: Class View is broken in project, if project in time of parsing was closed before
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 11:22 UTC by Maria Tishkova
Modified: 2013-05-17 14:00 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 Maria Tishkova 2006-09-13 11:22:08 UTC
Close some project while it is parsing (I have used Python, 512 Mb were used to
run NB5.5).

Create new Samle Quote application.

Class View is broken: you will see "Loading" all the time, even if you will try
to close Class View and open it again.

Sometimes after calling code completion some nodes in Class View appears, but
they are magicallly disappear after closing and opening again Class View.

Sometimes code completion doesn't work
Comment 1 Vladimir Voskresensky 2006-09-14 15:17:36 UTC
With multithreading IDE hanges in some parsing threads => rising to P1
Comment 2 Vladimir Voskresensky 2006-09-14 15:22:14 UTC
parser hangs in the generated rules balanceCurlies when opening Python.
updated balance* rules with "greedy" as suggested by Egor:

cvs log:
Checking in cppparser.g;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/antlr2/cppparser.g,v
 <--  cppparser.g
new revision: 1.2.2.8; previous revision: 1.2.2.7
done
Comment 3 Alexander Simon 2006-09-14 16:40:25 UTC
class view model check project and parent node validity before new node adding.

CVS log:

Checking in classview/src/org/netbeans/modules/cnd/classview/model/ProjectNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/ProjectNode.java,v
 <--  ProjectNode.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in classview/src/org/netbeans/modules/cnd/classview/model/BaseNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/BaseNode.java,v
 <--  BaseNode.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in classview/src/org/netbeans/modules/cnd/classview/model/NPNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/NPNode.java,v
 <--  NPNode.java
new revision: 1.2.2.3; previous revision: 1.2.2.2
done
Checking in classview/src/org/netbeans/modules/cnd/classview/model/ObjectNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/ObjectNode.java,v
 <--  ObjectNode.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in
classview/src/org/netbeans/modules/cnd/classview/model/NamespaceNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/NamespaceNode.java,v
 <--  NamespaceNode.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in classview/src/org/netbeans/modules/cnd/classview/model/ClassNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/ClassNode.java,v
 <--  ClassNode.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in
classview/src/org/netbeans/modules/cnd/classview/model/EnumeratorNode.java;
/shared/data/ccvs/repository/cnd/classview/src/org/netbeans/modules/cnd/classview/model/EnumeratorNode.java,v
 <--  EnumeratorNode.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in
modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/structure/APTBuilder.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/structure/APTBuilder.java,v
 <--  APTBuilder.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done