NetBeans crashes on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netbeans (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
I also have two versions of javac installed, /usr/lib/
* 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-
{{{
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.
WARNING: Please consider reporting this to the maintainers of org.netbeans.
WARNING: Use --illegal-
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-
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
ProcVersionSign
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)
PackageArchitec
SourcePackage: netbeans
UpgradeStatus: Upgraded to bionic on 2018-06-13 (0 days ago)
The mention of the system tray made me think that it's possible the desktop environment was relevant, but I just tested and it isn't; I get the same behaviour on all of Cinnamon, MATE, and Ubuntu's version of Gnome 3.