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 45577 - StorageBadRequestException: Index file has bad magic number
Summary: StorageBadRequestException: Index file has bad magic number
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-25 14:02 UTC by Marian Mirilovic
Modified: 2006-03-24 10:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (29.34 KB, text/plain)
2004-06-25 14:03 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-06-25 14:02:28 UTC
[nb_dev](200406241800), [jdk1.5.0](b51)

I have this exception on the screenshot during
performance testing on Win2K, and exception causes
fail of all performance tests on Win 2K
(see attached stack trace)
Comment 1 Marian Mirilovic 2004-06-25 14:03:45 UTC
Created attachment 16004 [details]
stack trace
Comment 2 Martin Matula 2004-06-27 15:50:26 UTC
There was a bug causing that if the b-tree files were corrupted, the
storage was unable to recover from it on windows (not reproducible on
linux) because after the attempt to open the corrupted files, the
streams remained open and subsequent attempts to re-create the files
failed because of system locks. I believe I fixed this, but it needs
to be tested on Windows. Please do so and reopen this if it still
occurs. I have also enhanced the error output, so please attach the
new console output in case you will need reopen this.

Checking in
src/org/netbeans/mdr/persistence/btreeimpl/btreestorage/BtreeDatabase.java;
/cvs/mdr/src/org/netbeans/mdr/persistence/btreeimpl/btreestorage/BtreeDatabase.java,v
 <--  BtreeDatabase.java
new revision: 1.15; previous revision: 1.14
done
Comment 3 Marian Mirilovic 2004-06-28 10:50:10 UTC
verified in [nb_dev](200406271800)

Thanks ;)