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 48497 - StorageBadRequestException on Ide Start
Summary: StorageBadRequestException on Ide Start
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-05 20:12 UTC by thsch
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide messages.log (33.76 KB, text/plain)
2004-09-05 20:14 UTC, thsch
Details
Complete Directory after project creation (6.82 KB, application/zip)
2004-09-07 22:39 UTC, thsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thsch 2004-09-05 20:12:58 UTC
Getting:
org.netbeans.mdr.persistence.StorageBadRequestException:
Incorrect key at offset 12.269

during startup of the ide 
See attached ide log.

might be duplicate of 47751
Comment 1 thsch 2004-09-05 20:14:19 UTC
Created attachment 17376 [details]
ide messages.log
Comment 2 thsch 2004-09-05 20:41:17 UTC
Note, that on the UI, you will see only the NullPointer Exception at
the very end of the log File:

java.lang.NullPointerException
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceClassImpl.resolveResource(ResourceClassImpl.java:127)
	at
org.netbeans.modules.javacore.scanning.ClassUpdater.getSuperCodes(ClassUpdater.java:162)
	at
org.netbeans.modules.javacore.scanning.ClassUpdater.updateResources(ClassUpdater.java:102)
	at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:185)
	at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:170)
	at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:170)
	at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:170)
	at
org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:170)
	at
org.netbeans.modules.javacore.scanning.FileScanner.scan(FileScanner.java:117)
	at org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:888)
	at
org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:799)
	at
org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:710)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:685)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)

The Message vanishes from the UI, whithin the next 10 seconds.(!)
Comment 3 thsch 2004-09-05 22:06:28 UTC
Found, that clearing the cache in .netbeans\4.0beta1\var\cache helped:
The problem vanished. It remains to find out, what caused the cache
corruption.

Comment 4 Milan Kubec 2004-09-06 09:08:46 UTC
Reassigning for evaluation.
Comment 5 thsch 2004-09-07 22:39:17 UTC
Created attachment 17449 [details]
Complete Directory after project creation
Comment 6 Martin Matula 2004-10-07 08:17:29 UTC
We had a bug in MDR caches that caused storage files to get badly
corrupted. This should be now fixed.
Comment 7 Quality Engineering 2007-09-20 09:51:02 UTC
Reorganization of java component