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 94571 - Inconsistency in LightAttrList: innerList.size()
Summary: Inconsistency in LightAttrList: innerList.size()
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 00:09 UTC by _ krystyna
Modified: 2010-09-23 09:15 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 _ krystyna 2007-02-06 00:09:59 UTC
>> I filed a bug in the palette (6314795) today and saw this same exception at 
random times. However, I also saw this exception several times today when I was 
working with opening/closing projects. Does this exception have a larger scope 
than the palette? It might help if I can reproduce it, so I'll try to find 
those steps unless the issue is known? Thanks.
>>
>> [catch]java.lang.Exception: Inconsistency in LightAttrList: innerList.size() 
== 6 while hardReferences.size() == 1. Fixing...
>>    at 
org.netbeans.modules.javacore.jmiimpl.javamodel.LightAttrList$LightAttrListItera
tor.testModCount(LightAttrList.java:362)
>>    at 
org.netbeans.modules.javacore.jmiimpl.javamodel.LightAttrList$LightAttrListItera
tor.hasNext(LightAttrList.java:423)
>>    at 
org.netbeans.modules.javacore.jmiimpl.javamodel.FeaturesList$FeatureListIterator
.hasNext(FeaturesList.java:445)
>>    at org.netbeans.modules.java.bridge.ObjectsCollection.getElements
(ObjectsCollection.java:108)
>>    at org.netbeans.modules.java.bridge.ClassesCollection.getClasses
(ClassesCollection.java:76)
>>    at org.netbeans.modules.java.bridge.ClassElementImpl.getClasses
(ClassElementImpl.java:593)
>>    at org.openide.src.ClassElement.getClasses(ClassElement.java:632)
>>    at org.netbeans.modules.java.bridge.SourceElementImpl.addAllClasses
(SourceElementImpl.java:155)
>>    at org.netbeans.modules.java.bridge.SourceElementImpl.getAllClasses
(SourceElementImpl.java:148)
>>    at org.netbeans.modules.java.bridge.SrcElementImpl.getAllClasses
(SrcElementImpl.java:200)
>>    at org.openide.src.SourceElement.getAllClasses(SourceElement.java:236)
>>    at org.netbeans.modules.java.codesync.SourceConnectionSupport.refreshLinks
(SourceConnectionSupport.java:350)
>>    at org.netbeans.modules.java.codesync.SourceConnectionSupport.access$000
(SourceConnectionSupport.java:44)
>>    at org.netbeans.modules.java.codesync.SourceConnectionSupport$2.run
(SourceConnectionSupport.java:230)
>>    at org.openide.util.Task.run(Task.java:189)
>>    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
>>    at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:721)
>> java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
>>    at java.util.ArrayList.add(ArrayList.java:369)
>>    at 
org.netbeans.modules.java.bridge.ObjectsCollection$FeaturesListener.doAdd
(ObjectsCollection.java:764)
>>    at 
org.netbeans.modules.java.bridge.ObjectsCollection$FeaturesListener.doChange
(ObjectsCollection.java:662)
>>    at org.netbeans.modules.java.bridge.ElementImpl$ElementListener.change
(ElementImpl.java:1252)
>>    at org.netbeans.mdr.util.EventNotifier$EventsDelivery.run
(EventNotifier.java:270)
>>    at java.lang.Thread.run(Thread.java:595)
>> [org.netbeans.mdr.Logger] INFORMATIONAL *********** Exception occurred 
************ at 2:07 PM on Aug 23, 2005
>> java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
>>    at java.util.ArrayList.add(ArrayList.java:369)
>>    at 
org.netbeans.modules.java.bridge.ObjectsCollection$FeaturesListener.doAdd
(ObjectsCollection.java:764)
>>    at 
org.netbeans.modules.java.bridge.ObjectsCollection$FeaturesListener.doChange
(ObjectsCollection.java:662)
>>    at org.netbeans.modules.java.bridge.ElementImpl$ElementListener.change
(ElementImpl.java:1252)
>> [catch] at org.netbeans.mdr.util.EventNotifier$EventsDelivery.run
(EventNotifier.java:270)
>>    at java.lang.Thread.run(Thread.java:595)
>>
>

Evaluation:
- bug I filed for record keeping


> I am trying to get info to the netbeans team to find out why this is 
happening.  It does not seem to hurt, but we should log a bug for this and make 
it low priority.
>
Comment 1 David Strupl 2010-09-23 09:15:29 UTC
I am closing all reports in category Java/Unsupported as wontfix. These should
be dead issues --- if the reported cases are against some live part of the
NetBeans IDE please reopen and we can discuss to which category they belong.