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 27306

Summary: Error when attempting to launch NetBeans
Product: platform Reporter: Richard <rpreston>
Component: -- Other --Assignee: David Strupl <dstrupl>
Status: CLOSED WORKSFORME    
Severity: blocker Keywords: RANDOM
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log file

Description Richard 2002-09-13 14:31:00 UTC
When I attempted to start NetBeans by double clicking on 
the icon, an error message appeared with the following 
stack trace below.  Attached is the ide.log file as 
requested.

Fri Sep 13 09:12:20 EDT 2002: 
java.lang.ArrayIndexOutOfBoundsException: <no message>
java.io.IOException
        at org.openide.loaders.DataLoader.findDataObject
(DataLoader.java:230)
        at 
org.openide.loaders.DataLoaderPool.findDataObject
(DataLoaderPool.java:363)
        at org.openide.loaders.FolderList.createBoth
(FolderList.java:576)
        at org.openide.loaders.FolderList.getObjects
(FolderList.java:395)
        at org.openide.loaders.FolderList.access$200
(FolderList.java:43)
        at org.openide.loaders.FolderList$ListTask.run
(FolderList.java:743)
        at org.openide.util.Task.run(Task.java:152)
[catch] at 
org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:622)
Fri Sep 13 09:12:20 EDT 2002: 
java.lang.ArrayIndexOutOfBoundsException: <no message>
java.lang.ArrayIndexOutOfBoundsException
        at java.lang.String.startsWith(String.java:1065)
        at java.lang.String.startsWith(String.java:1088)
        at java.security.AccessController.doPrivileged
(Native Method)
        at java.io.FilePermission.init
(FilePermission.java:206)
        at java.io.FilePermission.<init>
(FilePermission.java:256)
        at 
sun.net.www.protocol.file.FileURLConnection.getPermission
(FileURLConnection.java:236)
        at sun.net.www.protocol.jar.JarFileFactory.get
(JarFileFactory.java:101)
        at 
sun.net.www.protocol.jar.JarURLConnection.connect
(JarURLConnection.java:88)
        at 
sun.net.www.protocol.jar.JarURLConnection.getInputStream
(JarURLConnection.java:108)
        at java.net.URL.openStream(URL.java:798)
        at 
org.openide.filesystems.XMLFileSystem$FileObjRef.getInputSt
ream(XMLFileSystem.java:818)
        at 
org.openide.filesystems.XMLFileSystem.getInputStream
(XMLFileSystem.java:287)
        at org.openide.filesystems.XMLFileSystem.access$300
(XMLFileSystem.java:89)
        at 
org.openide.filesystems.XMLFileSystem$Impl.inputStream
(XMLFileSystem.java:624)
        at 
org.openide.filesystems.AbstractFileObject.getInputStream
(AbstractFileObject.java:165)
        at 
org.openide.filesystems.MIMESupport$CachedFileObject.getInp
utStream(MIMESupport.java:154)
        at 
org.netbeans.core.filesystems.DefaultParser.parse
(DefaultParser.java:104)
        at 
org.netbeans.core.filesystems.XMLMIMEComponent$SniffingPars
er.sniff(XMLMIMEComponent.java:236)
        at 
org.netbeans.core.filesystems.XMLMIMEComponent.acceptFileOb
ject(XMLMIMEComponent.java:55)
        at 
org.netbeans.core.filesystems.MIMEResolverImpl$FileElement.
resolve(MIMEResolverImpl.java:392)
        at 
org.netbeans.core.filesystems.MIMEResolverImpl$FileElement.
access$000(MIMEResolverImpl.java:375)
        at 
org.netbeans.core.filesystems.MIMEResolverImpl$Impl.findMIM
EType(MIMEResolverImpl.java:107)
        at 
org.openide.filesystems.MIMESupport$CachedFileObject.resolv
eMIME(MIMESupport.java:137)
        at 
org.openide.filesystems.MIMESupport$CachedFileObject.getMIM
EType(MIMESupport.java:126)
        at org.openide.filesystems.MIMESupport.findMIMEType
(MIMESupport.java:51)
        at org.openide.filesystems.FileUtil.getMIMEType
(FileUtil.java:586)
        at 
org.openide.filesystems.AbstractFileObject.getMIMEType
(AbstractFileObject.java:147)
        at 
org.openide.filesystems.MultiFileObject.getMIMEType
(MultiFileObject.java:441)
        at 
org.openide.filesystems.MultiFileObject.getMIMEType
(MultiFileObject.java:441)
        at org.openide.loaders.ExtensionList.isRegistered
(ExtensionList.java:130)
        at 
org.openide.loaders.UniFileLoader.findPrimaryFile
(UniFileLoader.java:62)
        at 
org.apache.tools.ant.module.loader.AntProjectDataLoader.fin
dPrimaryFile(AntProjectDataLoader.java:111)
        at 
org.openide.loaders.MultiFileLoader.findPrimaryFileImpl
(MultiFileLoader.java:232)
        at 
org.openide.loaders.MultiFileLoader.handleFindDataObject
(MultiFileLoader.java:65)
        at org.openide.loaders.DataLoader.findDataObject
(DataLoader.java:220)
        at 
org.openide.loaders.DataLoaderPool.findDataObject
(DataLoaderPool.java:363)
        at org.openide.loaders.FolderList.createBoth
(FolderList.java:576)
        at org.openide.loaders.FolderList.getObjects
(FolderList.java:395)
        at org.openide.loaders.FolderList.access$200
(FolderList.java:43)
        at org.openide.loaders.FolderList$ListTask.run
(FolderList.java:743)
        at org.openide.util.Task.run(Task.java:152)
[catch] at 
org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:622)
Comment 1 Richard 2002-09-13 14:31:56 UTC
Created attachment 7413 [details]
ide.log file
Comment 2 Jan Becicka 2002-09-13 14:37:12 UTC
Not a beans module bug
Comment 3 Marian Mirilovic 2002-09-27 09:39:55 UTC
Reassigne to David S.
Comment 4 David Strupl 2003-01-14 09:19:44 UTC
I am marking this issue as worksforme. The reported exception is very
strange. Any chance to try a newer JDK? Did you change anything in
default permission file? If you can see it again please reopen the issue.
Comment 5 rpreston4 2003-07-08 14:58:06 UTC
I updated JDK and NetBeans and the issue is no longer 
reproducable.