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 193189 - [70cat] AssertionError: Entries: 5; vis. entries: 5; Infos: 5; entriesSize: 0; entryToInfoSize: 0
Summary: [70cat] AssertionError: Entries: 5; vis. entries: 5; Infos: 5; entriesSize: 0...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 193159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-09 18:42 UTC by gholmer
Modified: 2011-01-09 06:24 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174874


Attachments
stacktrace (4.18 KB, text/plain)
2010-12-09 18:42 UTC, gholmer
Details
screenshot (44.29 KB, image/png)
2010-12-09 18:49 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2010-12-09 18:42:10 UTC
This bug was originally marked as duplicate of bug 191249, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-6298-on-101209)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
gholmer: Expanded a package node in the "Source Packages" node of a project.

yardus: opening a package in projects view

riversy: I'm going to my folder in tab 'Projects' and catched this error

quanghung.b: Warning : as NB suggested automatically to report the problem, I am doing it but I not sure that I could reproduce exactly the problem

1. Create a Java EE 6 Web application
2. Doing some tests by following the TS JUnit 68  : add test library, remove the test class, create test class, etc.. without opening the java file (NewServlet.java)
3. Click on the java file --> popup error suggesting to report the problem

GUEST: In the Projects view I opened up a package, containing multiple Java class files.
A simple action.




Stacktrace: 
java.lang.AssertionError: Entries: 5; vis. entries: 5; Infos: 5; entriesSize: 0; entryToInfoSize: 0
   at org.openide.nodes.EntrySupport$Lazy.setEntries(EntrySupport.java:1359)
   at org.openide.nodes.FilterNode$Children$LazySupport.updateEntries(FilterNode.java:1828)
   at org.openide.nodes.FilterNode$Children$LazySupport.update(FilterNode.java:1803)
   at org.openide.nodes.FilterNode$Children.addNotifyImpl(FilterNode.java:1477)
   at org.openide.nodes.FilterNode$Children.addNotify(FilterNode.java:1470)
   at org.openide.nodes.Children.callAddNotify(Children.java:568)
Comment 1 gholmer 2010-12-09 18:42:14 UTC
Created attachment 103899 [details]
stacktrace
Comment 2 gholmer 2010-12-09 18:47:52 UTC
When I got this error, I was expanding a source package node in a project, and the source files were displayed over top of the package nodes without the package node opening. I'll attach a screenshot.
Comment 3 gholmer 2010-12-09 18:49:50 UTC
Created attachment 103900 [details]
screenshot

This was for duplicate 451040 of report 174874:
http://statistics.netbeans.org/analytics/detail.do?id=174874
Comment 4 Jaroslav Tulach 2011-01-08 11:14:24 UTC
*** Bug 193159 has been marked as a duplicate of this bug. ***
Comment 5 Jaroslav Tulach 2011-01-08 11:18:11 UTC
ergonomics#dc7a82dd70ec
Comment 6 Quality Engineering 2011-01-09 06:24:38 UTC
Integrated into 'main-golden', will be available in build *201101090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dc7a82dd70ec
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #193189: Guard access to entries and entryToInfo fiels by Children.MUTEX.isWriteAccess