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 97694 - A org.netbeans.mdr.persistence.StoragePersistentDataException exception has occurred.
Summary: A org.netbeans.mdr.persistence.StoragePersistentDataException exception has o...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: HP Windows XP
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 00:27 UTC by xsteve
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 xsteve 2007-03-13 00:27:52 UTC
I am developing an application that involves bluetooth connectivity. I am 
using the avetanaBluetooth library to handle the bluetooth stack.


   My application was working fine untill yesterday, but today Netbeans 
wouldn't load up my upplication. It doesn't nothing but "scanning for project 
classpath" it stuck at 66% of the hole proccess and and at 33% of scanning the 
de.avetana.bluetooth.stack package.
    


here is part of the log file.. hope it helps



org.netbeans.modules.javacore.jmiimpl.javamodel.GeneralException: Bad Magic 
Number 0 in header at offset 6,510
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement._delete
(SemiPersistentElement.java:865)
	at org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl._delete
(FeatureImpl.java:696)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.BehavioralFeatureImpl._delete
(BehavioralFeatureImpl.java:492)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.CallableFeatureImpl._delete
(CallableFeatureImpl.java:445)
	at org.netbeans.mdr.handlers.InstanceHandler.refDelete
(InstanceHandler.java:312)
	at org.netbeans.modules.javacore.scanning.ClassUpdater.removePersisted
(ClassUpdater.java:365)
	at org.netbeans.modules.javacore.scanning.ClassUpdater.newClassesNeeded
(ClassUpdater.java:324)
	at org.netbeans.modules.javacore.scanning.ClassUpdater.updateClasses
(ClassUpdater.java:266)
	at org.netbeans.modules.javacore.scanning.ClassUpdater.updateResources
(ClassUpdater.java:155)
	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.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)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:932)



kind regards


xsteve
Comment 1 Tomas Zezula 2007-03-13 08:28:20 UTC
MDR model was replaced by the javac based model in NetBeans 6.0. In the NetBeans
5.x you can resolve the problem by deleting the mdr cache
(nbuserdir/var/cache/mdrstorage).
Comment 2 Quality Engineering 2007-09-20 12:46:52 UTC
Reorganization of java component