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 243865 - NB 8.0 won't start after installing MineSweeper
Summary: NB 8.0 won't start after installing MineSweeper
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 8.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 243208
Blocks:
  Show dependency tree
 
Reported: 2014-04-16 13:22 UTC by Vladimir Riha
Modified: 2014-04-19 10:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (141.87 KB, text/plain)
2014-04-16 13:22 UTC, Vladimir Riha
Details
IDE log #2 (101.76 KB, text/plain)
2014-04-16 13:29 UTC, Vladimir Riha
Details
thread dump (11.78 KB, text/plain)
2014-04-16 13:30 UTC, Vladimir Riha
Details
minesweeper NBM version 1.2 that fixes restart problems (64.76 KB, application/octet-stream)
2014-04-17 09:29 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-04-16 13:22:09 UTC
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
Comment 1 Vladimir Riha 2014-04-16 13:29:23 UTC
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
Comment 2 Vladimir Riha 2014-04-16 13:30:06 UTC
Created attachment 146783 [details]
thread dump
Comment 3 Jaroslav Tulach 2014-04-17 08:18:28 UTC
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.
Comment 4 Jaroslav Tulach 2014-04-17 08:42:57 UTC
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
---
Comment 5 Jaroslav Tulach 2014-04-17 09:29:56 UTC
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.
Comment 6 Vladimir Riha 2014-04-17 11:40:06 UTC
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)
Comment 7 Jaroslav Tulach 2014-04-17 11:46:20 UTC
OK, now we need Petr Gebauer to sign the module files that I sent him in an email.
Comment 8 Jiri Kovalsky 2014-04-17 12:41:10 UTC
The newly uploaded binary of the Minesweeper plugin works fine for me. Restart of the IDE was successful.
Comment 9 Jaroslav Tulach 2014-04-18 14:45:39 UTC
OK, this one is fixed. We are just waiting for Geerjan or somebody else to approve publication of the fixed MineSweeper...
Comment 10 Jaroslav Tulach 2014-04-19 10:29:30 UTC
Version 1.2 is on update center and the IDE seems to restart fine with it.