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.
Created attachment 146781 [details] IDE log To reproduce: - start IDE with fresh userdir - install MineSweeper - after installation, restart IDE => IDE won't start. Yesterday it just hung on "Turning on modules" splash screen without any log/stacktrace, now it prints Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "AWT-EventQueue-0" Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "StdErr Flush" to command line and even prints something to IDE log and the process is stopped after few seconds NB 8.0, Ubuntu 12.04 32b, JDK 8.0
Created attachment 146782 [details] IDE log #2 Log after 2nd attempt to launch again the same IDE. Now the process just hangs and does not stop
Created attachment 146783 [details] thread dump
Yeah, this is the deadlock in UI handler as reported in bug 243208. I check if there is not something to be done on the MineSweeper side.
The problem on minesweeper side is that the JAR contains invalid Class-Path elements (there should be none, as all are module dependencies). Possibly I am using the nbm-maven-plugin in a wrong way... --- Manifest-Version: 1.0 Class-Path: lib/net.java.html.json-0.8.jar lib/net.java.html.boot-0.8. jar lib/asm-4.1.jar lib/net.java.html-0.8.jar lib/net.java.html.sound -0.8.jar lib/ko4j-0.8.jar lib/nbrwsr-0.8.jar lib/org-openide-filesyst ems-RELEASE80.jar lib/org-openide-util-RELEASE80.jar lib/org-openide- util-lookup-RELEASE80.jar lib/org-openide-awt-RELEASE80.jar lib/org-n etbeans-api-annotations-common-RELEASE80.jar lib/org-openide-windows- RELEASE80.jar lib/org-openide-nodes-RELEASE80.jar lib/org-openide-dia logs-RELEASE80.jar lib/org-netbeans-api-progress-RELEASE80.jar lib/ne t.java.html.boot.fx-0.8.jar lib/org-netbeans-libs-javafx-RELEASE80.ja r lib/org-openide-modules-RELEASE80.jar Built-By: jtulach OpenIDE-Module-Short-Description: Demonstration of DukeScript renderin g technology. OpenIDE-Module-Module-Dependencies: net.java.html.json > 0.8.0, net.ja va.html.boot > 0.8.0, net.java.html > 0.8.0, net.java.html.sound > 0. 8.0, org.netbeans.html.ko4j > 0.8.0, org.netbeans.html.nbrwsr > 0.8 Created-By: Apache Maven 3.0.5 OpenIDE-Module-Build-Version: 201404110846 OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1 OpenIDE-Module: org.apidesign.demo.minesweeper OpenIDE-Module-Long-Description: Demonstration of DukeScript rendering technology. Plus old, good, simple and entertainin game. Improve you r coding skills by playing a game and meanwhile learn what a renderin g technology of the future is going to look like. Learn to use DukeSc ript: Write once, display (and deploy) anywhere! Build-Jdk: 1.7.0_51 OpenIDE-Module-Implementation-Version: 1.1 OpenIDE-Module-Specification-Version: 1.1 OpenIDE-Module-Display-Category: org.apidesign.demo OpenIDE-Module-Public-Packages: - OpenIDE-Module-Name: Mine Sweeper Main-Class: org.apidesign.demo.minesweeper.Main Archiver-Version: Plexus Archiver ---
Created attachment 146803 [details] minesweeper NBM version 1.2 that fixes restart problems Vláďo, please try to this NBM. I removed the unnecessary Class-Path attribute http://source.apidesign.org/hg/html~demo/rev/49834c96798d and how everything seems to restart OK. The NBM does not contain any other library JAR files (those are available on the update center) - just the NBM of the final application.
This NBM seems fine, I restarted IDE couple of times without any issue Product Version: NetBeans IDE 8.0 (Build 201403101706) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
OK, now we need Petr Gebauer to sign the module files that I sent him in an email.
The newly uploaded binary of the Minesweeper plugin works fine for me. Restart of the IDE was successful.
OK, this one is fixed. We are just waiting for Geerjan or somebody else to approve publication of the fixed MineSweeper...
Version 1.2 is on update center and the IDE seems to restart fine with it.