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 91844 - rollback exception and out of memory errors.
Summary: rollback exception and out of memory errors.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-04 17:33 UTC by nmatthews
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 nmatthews 2007-01-04 17:33:14 UTC
*********** Exception occurred ************ at 9:27 AM on Jan 4, 2007
java.lang.OutOfMemoryError: Java heap space
    at
org.netbeans.modules.classfile.ConstantPool.getConstantPoolEntry(ConstantPool.java:185)
    at org.netbeans.modules.classfile.ConstantPool.load(ConstantPool.java:157)
    at org.netbeans.modules.classfile.ConstantPool.<init>(ConstantPool.java:71)
    at org.netbeans.modules.classfile.ClassFile.loadClassHeader(ClassFile.java:189)
    at org.netbeans.modules.classfile.ClassFile.load(ClassFile.java:160)
    at org.netbeans.modules.classfile.ClassFile.<init>(ClassFile.java:118)
    at
org.netbeans.modules.javacore.scanning.ClassUpdater.getClassFile(ClassUpdater.java:235)
    at
org.netbeans.modules.javacore.scanning.ClassUpdater.updateResources(ClassUpdater.java:124)
    at
org.netbeans.modules.javacore.scanning.ClassUpdater.updateResources(ClassUpdater.java:98)
    at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:292)
    at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:249)
    at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:249)
    at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:249)
    at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:249)
    at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:249)
    at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:249)
    at org.netbeans.modules.javacore.scanning.FileScanner.scan(FileScanner.java:177)
    at org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:1183)
    at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:1097)
    at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:871)
    at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:821)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)



I'm also receiving this stacktrace as well:
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.resolveCodebases(JMManager.java:884)
    at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:821)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)



Both have happened multiple times in the past hour and a half, while netbeans
was scanning my classpath incessantly.
Comment 1 Tomas Zezula 2007-01-05 07:46:28 UTC
The MDR model was replaced by the javac based model.
Comment 2 Quality Engineering 2007-09-20 10:35:56 UTC
Reorganization of java component