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 84568

Summary: Can't create any type of project
Product: java Reporter: tig <tig>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: mmirilovic, tig
Priority: P1    
Version: 5.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description tig 2006-09-09 20:07:53 UTC
I seem unable to create any type of project.

I have other projects running without problems, but when I first tried to create
a j2me project I noticed it didn't appear in the Explorer window. I then tried
to create a generic j2se java project, being unable to do so.

A "stop" signal prompts out in the lower right frame of the IDE window. This is
the error 

java.lang.ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException: -576
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.Converter.readInt(Converter.java:239)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.PrimaryIndex.getIfExists(PrimaryIndex.java:91)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.getRecord(BtreeDatabase.java:967)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.getIfExists(BtreeDatabase.java:725)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.get(BtreeDatabase.java:746)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeMDRSource.getPage(BtreeMDRSource.java:68)
	at
org.netbeans.mdr.persistence.btreeimpl.btreeindex.SinglevaluedBtree.getIfExistsInternal(SinglevaluedBtree.java:100)
	at
org.netbeans.mdr.persistence.btreeimpl.btreeindex.SinglevaluedBtree.getIfExists(SinglevaluedBtree.java:67)
	at
org.netbeans.mdr.storagemodel.MdrStorage.getContextOutermostPackage(MdrStorage.java:971)
	at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:306)
	at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:900)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:815)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:769)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 Marian Mirilovic 2006-09-11 09:57:38 UTC
It works for me.

tig,
could you provide your message.log file ? 
Thanks in advance.
Comment 2 Jan Becicka 2006-10-26 16:27:23 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 3 Quality Engineering 2007-09-20 12:37:46 UTC
Reorganization of java component