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 85081 - CC is not work again
Summary: CC is not work again
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-16 12:19 UTC by wulgar
Modified: 2007-09-26 09:14 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 wulgar 2006-09-16 12:19:34 UTC
Build: 200609160000
JDK: 1.6

I started with clean mdrstorage. After short time the Exception occured and CC
stops working.

[org.netbeans.mdr.Logger] INFORMATIONAL *********** Exception occurred
************ at 1:11 PM on Sep 16, 2006
java.lang.Exception: mofId:
E4CDC159-456E-11DB-94D0-0F61743FAA77:0000000000000535, class:
org.netbeans.jmi.javamodel.JavaClass$Impl
	at org.netbeans.mdr.handlers.InstanceHandler.refDelete(InstanceHandler.java:313)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.deleteCollection(SemiPersistentElement.java:489)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.processMembers(SemiPersistentElement.java:524)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.JavaClassImpl.matchPersistent(JavaClassImpl.java:593)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.updatePersistent(SemiPersistentElement.java:371)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.matchMember(SemiPersistentElement.java:663)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.processMembers(SemiPersistentElement.java:554)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.matchPersistent(ResourceImpl.java:212)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.updatePersistent(SemiPersistentElement.java:371)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.updateMetadata(ResourceImpl.java:767)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.directUpdate(ResourceImpl.java:760)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:650)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.updateFromFileObject(ResourceImpl.java:455)
	at
org.netbeans.modules.javacore.ExclusiveMutex.parseIfNeeded(ExclusiveMutex.java:285)
	at org.netbeans.modules.javacore.ExclusiveMutex.enter(ExclusiveMutex.java:177)
	at org.netbeans.mdr.NBMDRepositoryImpl.beginTrans(NBMDRepositoryImpl.java:234)
	at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:272)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
Comment 1 wulgar 2006-09-16 12:21:23 UTC
Before this, I try to refactor (rename) private field in class, and:

[org.netbeans.javacore] INFORMATIONAL *********** Exception occurred
************ at 12:48 PM on Sep 16, 2006
java.lang.Exception: rollback!!!
	at org.netbeans.modules.javacore.ExclusiveMutex.leave(ExclusiveMutex.java:346)
	at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:255)
	at org.netbeans.modules.javacore.JMManager.cleanUpCodebases(JMManager.java:945)
	at org.netbeans.modules.javacore.JMManager.access$400(JMManager.java:110)
	at org.netbeans.modules.javacore.JMManager$4.run(JMManager.java:1333)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
*********** Exception occurred ************ at 12:49 PM on Sep 16, 2006
java.lang.NullPointerException
	at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:205)
	at org.netbeans.modules.javacore.JMManager.cleanUpCodebases(JMManager.java:897)
	at org.netbeans.modules.javacore.JMManager.access$400(JMManager.java:110)
[catch] at org.netbeans.modules.javacore.JMManager$4.run(JMManager.java:1333)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 2 Jiri Prox 2006-09-19 09:31:51 UTC
Can you provide fragment of code? Do you use inner classes?
Comment 3 Jiri Prox 2007-09-12 10:59:59 UTC
The MDR module (which caused this exception) was removed in the upcoming version. This should not happen any more.
Comment 4 Quality Engineering 2007-09-20 09:59:09 UTC
Reorganization of java component