Public bug reported: When I load NetBeans (whether via the GUI or from a command line), the splash screen appears and loads as far as "Turning on modules..." (usually; very occasionally it gets stuck at "Reading module storage..." instead). The splash screen then freezes for approximately 11-12 seconds and then the entire program exits. Expected behaviour is that when I load NetBeans, the loading process finishes and then the application's main interface opens, without the process exiting.
I have two JREs installed, /usr/lib/jvm/java-8-openjdk- amd64/jre/bin/java and /usr/lib/jvm/java-11-openjdk-amd64/bin/java. The same behaviour of the splash screen occurs regardless of which JRE is pointed at via "/usr/bin/java". I also have two versions of javac installed, /usr/lib/jvm/java-8 -openjdk-amd64/bin/javac and /usr/lib/jvm/java-11-openjdk- amd64/bin/javac. The choice of javac that "/usr/bin/javac" points to does influence the results. I suspect that the difference is immaterial but am mentioning it just in case: * When using the Java 8 version of javac, no message is printed when NetBeans exits this way; it simply exits to the command prompt (or the desktop if loaded via the GUI) without printing anything. The exit status is 2. * When using the "java-11-openjdk-amd64" version of javac (which claims to be "javac 10.0.1" in its version info; thus I'm not clear on whether this is Java 10 or Java 11), the following messages are printed on standard output/error, before it exits with exit status 2 (I suspect these are unrelated to the crash, but including them just in case): {{{ WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/netbeans/platform18/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release }}} In an attempt to get more information about where the crash is occurring, I ran NetBeans with -J-verbose (thus causing the JVM to output which classes are loaded, perhaps indicating how far it got with initialisation before the crash); the resulting file is attached as netbeans-J-verbose.txt. Under this configuration, it consistently crashes almost immediately after loading sun.awt.X11.XSystemTrayPeer. (I've been testing with the Java 8 versions of java and javac.) This might or might not be a useful lead. Are there any tests that might give more useful information than the limited information I have here? This behaviour started immediately after an upgrade from Artful to Bionic. I'm running Cinnamon as my desktop. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: netbeans 8.1+dfsg3-4 ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18 Uname: Linux 4.15.0-23-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 CurrentDesktop: X-Cinnamon Date: Wed Jun 13 17:57:19 2018 EcryptfsInUse: Yes InstallationDate: Installed on 2017-01-31 (497 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) PackageArchitecture: all SourcePackage: netbeans UpgradeStatus: Upgraded to bionic on 2018-06-13 (0 days ago) ** Affects: netbeans (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1776724 Title: NetBeans crashes on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/1776724/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs