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 178554

Summary: Stack overflow, NB wont start
Product: platform Reporter: charlweed <charlweed>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Log of stack overflow.

Description charlweed 2009-12-13 21:16:45 UTC
Created attachment 92487 [details]
Log of stack overflow.

Working with Java app. Could not rebuild app, as some file was open. Tried restarinng NB, would not launch.
Rebooting PC did not help.
The project in question was imported from Eclipse.
The launcher has determined that the parent process has a console and will reuse it for its own console output. Closing the console will result in termination of the running program.
Use '--console suppress' to suppress console output.
Use '--console new' to create a separate console window.
-------------------------------------------------------------------------------
>Log Session: Sunday, December 13, 2009 8:01:36 PM PST
>System Info:
  Product Version         = NetBeans IDE Dev (Build 091205-01b8b3192cac) (#01b8b3192cac)
  Operating System        = Windows 7 version 6.1 running on amd64
  Java; VM; Vendor        = 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_17-b04
  Java Home               = Q:\sdk\jdk-64-1.6.0_17\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory          = C:\Users\chymes
  Current Directory       = Q:\bin\netbeans64\bin
  User Directory          = Q:\projects\workspaces\nb64dev_test
  Installation            = Q:\bin\netbeans64\nb6.8
                            Q:\bin\netbeans64\ergonomics2
                            Q:\bin\netbeans64\ide12
                            Q:\bin\netbeans64\java3
                            Q:\bin\netbeans64\apisupport1
                            Q:\bin\netbeans64\websvccommon1
                            Q:\bin\netbeans64\enterprise6
                            Q:\bin\netbeans64\mobility8
                            Q:\bin\netbeans64\profiler3
                            Q:\bin\netbeans64\ruby2
                            Q:\bin\netbeans64\php1
                            Q:\bin\netbeans64\identity2
                            Q:\bin\netbeans64\harness
                            Q:\bin\netbeans64\cnd3
                            Q:\bin\netbeans64\dlight2
                            Q:\bin\netbeans64\groovy2
                            Q:\bin\netbeans64\extra
                            Q:\bin\netbeans64\platform11
  Boot & Ext. Classpath   = Q:\sdk\jdk-64-1.6.0_17\jre\lib\resources.jar;Q:\sdk\jdk-64-1.6.0_17\jre\lib\rt.jar;Q:\sdk\jdk-64-1.6.0_17\jre\lib\sunrsasign.jar;Q:\sdk\jdk-64-1.6.0_17\jre\lib\jsse.jar;Q:\sdk\jdk-64-1.6.0_17\jre\lib\jce.jar;Q:\sdk\jdk-64-1.6.0_17\jre\lib\charsets.jar;Q:\sdk\jdk-64-1.6.0_17\jre\classes;Q:\sd
k\jdk-64-1.6.0_17\jre\lib\ext\dnsns.jar;Q:\sdk\jdk-64-1.6.0_17\jre\lib\ext\localedata.jar;Q:\sdk\jdk-64-1.6.0_17\jre\lib\ext\sunjce_provider.jar
  Application Classpath   = Q:\bin\netbeans64\platform11\lib\boot.jar;Q:\bin\netbeans64\platform11\lib\org-openide-modules.jar;Q:\bin\netbeans64\platform11\lib\org-openide-util.jar;Q:\sdk\jdk-64-1.6.0_17\lib\dt.jar;Q:\sdk\jdk-64-1.6.0_17\lib\tools.jar
  Startup Classpath       = Q:\bin\netbeans64\platform11\core\core.jar;Q:\bin\netbeans64\platform11\core\org-openide-filesystems.jar;Q:\bin\netbeans64\nb6.8\core\org-netbeans-upgrader.jar;Q:\bin\netbeans64\nb6.8\core\locale\core_nb.jar
-------------------------------------------------------------------------------
java.lang.StackOverflowError
        at java.io.InputStream.<init>(InputStream.java:28)
        at java.io.FileInputStream.<init>(FileInputStream.java:96)
        at org.netbeans.Stamps.asByteBuffer(Stamps.java:201)
        at org.netbeans.Stamps.asMappedByteBuffer(Stamps.java:146)
        at org.netbeans.core.startup.layers.LayerCacheManager.loadCache(LayerCacheManager.java:108)
        at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(ModuleLayeredFileSystem.java:104)
        at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(ModuleLayeredFileSystem.java:100)
        at org.netbeans.core.startup.layers.SystemFileSystem.create(SystemFileSystem.java:231)
        at org.netbeans.core.startup.layers.SessionManager.create(SessionManager.java:96)
        at org.netbeans.core.startup.NbRepository.createDefaultFileSystem(NbRepository.java:139)
        at org.netbeans.core.startup.NbRepository.<init>(NbRepository.java:67)
        at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.openide.util.lookup.MetaInfServicesLookup$P.createInstance(MetaInfServicesLookup.java:556)
        at org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:450)
        at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:413)
        at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:205)
        at org.openide.filesystems.Repository.initialize(Repository.java:114)
        at org.openide.filesystems.Repository.getDefault(Repository.java:286)
        at org.openide.filesystems.FileUtil.getConfigFile(FileUtil.java:2098)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.computeDelegates(RecognizeInstanceFiles.java:131)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.<init>(RecognizeInstanceFiles.java:92)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.<init>(RecognizeInstanceFiles.java:88)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.<init>(RecognizeInstanceFiles.java:84)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles.create(RecognizeInstanceFiles.java:72)
        at org.netbeans.modules.openide.util.NamedServicesProvider.find(NamedServicesProvider.java:65)
        at org.openide.util.lookup.Lookups.forPath(Lookups.java:217)
        at org.netbeans.modules.openide.util.ProxyURLStreamHandlerFactory.createURLStreamHandler(ProxyURLStreamHandlerFactory.java:67)
        at org.netbeans.ProxyURLStreamHandlerFactory.createURLStreamHandler(ProxyURLStreamHandlerFactory.java:145)
        at java.net.URL.getURLStreamHandler(URL.java:1107)
        at java.net.URL.<init>(URL.java:572)
        at java.net.URL.<init>(URL.java:464)
        at org.openide.filesystems.XMLFileSystem$FileObjRef.createAbsoluteUrl(XMLFileSystem.java:1011)
        at org.openide.filesystems.XMLFileSystem$FileObjRef.lastModified(XMLFileSystem.java:1062)
        at org.openide.filesystems.XMLFileSystem.lastModified(XMLFileSystem.java:442)
        at org.openide.filesystems.XMLFileSystem.access$200(XMLFileSystem.java:164)
        at org.openide.filesystems.XMLFileSystem$Impl.lastModified(XMLFileSystem.java:758)
        at org.openide.filesystems.AbstractFileObject.initLastModified(AbstractFileObject.java:95)
        at org.openide.filesystems.AbstractFileObject.lastModified(AbstractFileObject.java:176)
        at org.openide.filesystems.XMLFileSystem.refreshChildren(XMLFileSystem.java:553)
        at org.openide.filesystems.XMLFileSystem.refreshChildren(XMLFileSystem.java:556)
        at org.openide.filesystems.XMLFileSystem.refreshChildren(XMLFileSystem.java:556)
        at org.openide.filesystems.XMLFileSystem.refreshChildrenInAtomicAction(XMLFileSystem.java:516)
        at org.openide.filesystems.XMLFileSystem.setXmlUrls(XMLFileSystem.java:356)
        at org.openide.filesystems.XMLFileSystem.setXmlUrls(XMLFileSystem.java:297)
        at org.netbeans.core.startup.layers.LayerCacheManager$NonCacheManager.load(LayerCacheManager.java:236)
        at org.netbeans.core.startup.layers.LayerCacheManager.loadCache(LayerCacheManager.java:112)
        at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(ModuleLayeredFileSystem.java:104)
        at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.<init>(ModuleLayeredFileSystem.java:100)
        at org.netbeans.core.startup.layers.SystemFileSystem.create(SystemFileSystem.java:231)
        at org.netbeans.core.startup.layers.SessionManager.create(SessionManager.java:96)
        at org.netbeans.core.startup.NbRepository.createDefaultFileSystem(NbRepository.java:139)
        at org.netbeans.core.startup.NbRepository.<init>(NbRepository.java:67)
        at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.openide.util.lookup.MetaInfServicesLookup$P.createInstance(MetaInfServicesLookup.java:556)
        at org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:450)
        at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:413)
        at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:205)
        at org.openide.filesystems.Repository.initialize(Repository.java:114)
        at org.openide.filesystems.Repository.getDefault(Repository.java:286)
        at org.openide.filesystems.FileUtil.getConfigFile(FileUtil.java:2098)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.computeDelegates(RecognizeInstanceFiles.java:131)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.<init>(RecognizeInstanceFiles.java:92)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.<init>(RecognizeInstanceFiles.java:88)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles$OverFiles.<init>(RecognizeInstanceFiles.java:84)
        at org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles.create(RecognizeInstanceFiles.java:72)
        at org.netbeans.modules.openide.util.NamedServicesProvider.find(NamedServicesProvider.java:65)
        at org.openide.util.lookup.Lookups.forPath(Lookups.java:217)
        at org.netbeans.modules.openide.util.ProxyURLStreamHandlerFactory.createURLStreamHandler(ProxyURLStreamHandlerFactory.java:67)
        at org.netbeans.ProxyURLStreamHandlerFactory.createURLStreamHandler(ProxyURLStreamHandlerFactory.java:145)
        at java.net.URL.getURLStreamHandler(URL.java:1107)
        at java.net.URL.<init>(URL.java:572)
Comment 1 Jaroslav Tulach 2010-04-07 14:47:53 UTC
ProxyURLStreamHandlerFactory related, Jesse?
Comment 2 Jesse Glick 2010-04-07 16:53:43 UTC
Fixed in 6.8 updates.

*** This bug has been marked as a duplicate of bug 176798 ***