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 46150 - Inconsistent storage - feature types do not match
Summary: Inconsistent storage - feature types do not match
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 15:20 UTC by Jan Pokorsky
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (1.88 KB, text/plain)
2004-07-14 15:21 UTC, Jan Pokorsky
Details
AnnTypeTest.java (647 bytes, text/plain)
2004-07-14 16:46 UTC, Jan Pokorsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Pokorsky 2004-07-14 15:20:21 UTC
I get message "Inconsistent storage - feature
types do not match. Recovering..." in my console.
It is reproducible.

* add inner class with superclass eg
java.awt.Component via customizer
* undo it in editor
Comment 1 Jan Pokorsky 2004-07-14 15:21:37 UTC
Created attachment 16252 [details]
stack trace
Comment 2 Martin Matula 2004-07-14 15:45:46 UTC
Lowering priority (P2->P3) - the message is harmless, but we
definitely need to fix the source of the inconsistency.
Comment 3 Martin Matula 2004-07-14 15:53:11 UTC
I am not able to reproduce it. Could you provide more detailed steps
(and build number) please? 
Comment 4 Jan Pokorsky 2004-07-14 16:45:06 UTC
my own build from today's sources. BTW the source file contains ann.
types declaration.
Comment 5 Jan Pokorsky 2004-07-14 16:46:07 UTC
Created attachment 16255 [details]
AnnTypeTest.java
Comment 6 Pavel Flaska 2004-09-16 14:51:34 UTC
Not reproducible in current builds. The declaration of AnnotationType
inside the class was the reason of the problem, thanks for warning. On
2004-07-15, we have added class AnnotationTypeInfoMeasure for correct
matching of annotation type. Before that, when features were matched,
AnnotationType did not have measure class, so it was the cause of the
problem.
Comment 7 Pavel Flaska 2004-09-16 14:54:19 UTC
Closing as FIXED.

See details in logs:
User: pflaska 
Date: 04/07/15 09:13:55

Modified:    javacore/src/org/netbeans/modules/javacore/parser
                        ArrayMapper.java
Added:       javacore/src/org/netbeans/modules/javacore/parser
                        AnnotationTypeInfoMeasure.java
Log:
AnnotationTypeInfoMeasure added to correctly match annotation types.
  
http://java.netbeans.org/source/browse/java/javacore/src/org/netbeans/modules/javacore/parser/ArrayMapper.java.diff?r1=1.4&r2=1.5
Comment 8 Jan Pokorsky 2004-09-21 17:48:46 UTC
verified
Comment 9 Quality Engineering 2007-09-20 09:57:29 UTC
Reorganization of java component