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.
[200501241900] The exception and many other exception were thrown when I add import statement to source code using SHIFT + ALT + i.
Created attachment 19979 [details] exceptions
It has nothing to do with refactoring.
Please attach the source code if possible. Thanks.
Created attachment 20056 [details] the dealer.java source
The exception was thrown again today. I don't know how to reproduce it. What I did? I added TreeMap treemap = TreeMap months declaration to the Dealer.java I will add another log. There are also other exceptions when I was doing synchronization of interface of class : public class MonthComparator implements Comparator { /** Creates a new instance of MonthComparator */ public MonthComparator() { } } It throws exception : Document already locked. On second time it works correctly. I also don't know how to reproduce it:(. Is it possible to add more loggings to the ide.log?
Created attachment 20057 [details] ide.log
[org.netbeans.javacore] INFORMATIONAL *********** Exception occurred ************ at 10:57 AM on Jan 29, 2005 [catch]java.lang.Exception: ***** Info is null for element: warehouse/Dealer.java (instanceof: org.netbeans.jmi.javamodel.Resource$Impl MOFID: BAE8A40D-7046-11D9-8A7F-4AFA968BAA77:0000000000000F4C) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersistentElement.java:190) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.initChildren(ResourceImpl.java:298) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.initChildren(ResourceImpl.java:292) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:138) . . [org.netbeans.javacore] isChanged: true, alreadyChecking: true [org.netbeans.javacore] isValid: true [org.netbeans.javacore] alreadyChecking stacktrace: [org.netbeans.javacore] INFORMATIONAL *********** Exception occurred ************ at 10:57 AM on Jan 29, 2005 java.lang.RuntimeException [catch] at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.resetAST(ResourceImpl.java:455) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.parseResource(ResourceImpl.java:840) at org.netbeans.modules.javacore.ExclusiveMutex.notifyElements(ExclusiveMutex.java:503) at org.netbeans.modules.javacore.ExclusiveMutex.leave(ExclusiveMutex.java:364) at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:248)
The listeners in src hierarchy bridge should not be registered on multipart ids returned from getTypeName(). Dan, please fix it.
Fixed in trunk. Checking in FieldElementImpl.java; /cvs/java/src/org/netbeans/modules/java/bridge/FieldElementImpl.java new revision: 1.14; previous revision: 1.13 Checking in MethodElementImpl.java; /cvs/java/src/org/netbeans/modules/java/bridge/MethodElementImpl.java new revision: 1.12; previous revision: 1.11
v
Reorganization of java component