errael commented on issue #4652:
URL: https://github.com/apache/netbeans/issues/4652#issuecomment-1252408177
Wow, this one surprised me, copied from console
```
err@harmony:/junk/BACK_REF/nb/NetBeans/NetBeans-15-startup-crash/netbeans/bin
$ chmod +x netbeans
err@harmony:/junk/BACK_REF/nb/NetBeans/NetBeans-15-startup-crash/netbeans/bin
$ ./netbeans --jdkhome /ref/openjdk/java_home
WARNING: package com.apple.eio not in java.desktop
java.lang.NullPointerException
at
java.base/java.net.URLConnection$1.getContentTypeFor(URLConnection.java:313)
at
java.base/java.net.URLConnection.guessContentTypeFromName(URLConnection.java:1464)
at
java.base/sun.net.www.protocol.jar.JarURLConnection.getContentType(JarURLConnection.java:223)
at
java.base/java.net.URLConnection.getContentHandler(URLConnection.java:1277)
at java.base/java.net.URLConnection.getContent(URLConnection.java:778)
at java.base/java.net.URL.getContent(URL.java:1150)
at
org.openide.util.lookup.MetaInfServicesLookup.search(MetaInfServicesLookup.java:293)
at
org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:132)
at
org.openide.util.lookup.MetaInfServicesLookup.beforeLookupResult(MetaInfServicesLookup.java:111)
at
org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:458)
at
org.openide.util.lookup.ProxyLookup$R.lookupChange(ProxyLookup.java:519)
at org.openide.util.lookup.ProxyLookup.setData(ProxyLookup.java:372)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:211)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:184)
at
org.netbeans.core.startup.MainLookup.changeLookups(MainLookup.java:193)
at
org.netbeans.core.startup.MainLookup.moduleClassLoadersUp(MainLookup.java:107)
at
org.netbeans.core.startup.MainLookup.systemClassLoaderChanged(MainLookup.java:95)
at org.netbeans.core.startup.ModuleSystem.init(ModuleSystem.java:98)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:162)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142)
at org.netbeans.core.startup.Main.start(Main.java:299)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
at java.base/java.lang.Thread.run(Thread.java:834)
```
and
```
$ tree ~/.netbeans/15
/home/err/.netbeans/15
├── config
└── var
├── imported
└── log
└── messages.log
3 directories, 2 files
```
Do it again and it starts up. (and I occasionally get the crash when
starting up normally; well, what's normal for me)
```
err@harmony:/junk/BACK_REF/nb/NetBeans/NetBeans-15-startup-crash/netbeans/bin
$ ./netbeans --jdkhome /ref/openjdk/java_home
WARNING: package com.apple.eio not in java.desktop
err@harmony:/junk/BACK_REF/nb/NetBeans/NetBeans-15-startup-crash/netbeans/bin
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists