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.
Summary: | Errors launching the IDE after installing Fair Minesweeper 3.0! Due to outdated DukeScript Wizard | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Html4j | Assignee: | maxnitribitt <maxnitribitt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jtulach, lfischmeistr, maxnitribitt |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 220382 |
Attachments: | stacktrace |
Description
Jiri Kovalsky
2015-10-06 12:13:16 UTC
Created attachment 156555 [details]
stacktrace
Interesting. I'll see if I can reproduce the problem once the minesweeper is on the AU. In the meantime you can Yardo change your Plugin Portal Update Center URL to Experimental PPUC [1] and install it from there. For me it simply disables the plugin right after its installation. [1] http://plugins.netbeans.org/nbpluginportal/updates/8.1/catalog-experimental.xml.gz I don't see this exception. My steps: $ unzip ~/Downloads/netbeans-8.1rc-201510012201.zip $ ./netbeans/bin/netbeans --userdir ud install Minesweeper from plugin portal. On launching there is an error: SEVERE [org.netbeans.modules.netbinox]: framework event org.apidesign.demo.minesweeper type 2 org.osgi.framework.BundleException: The bundle "org.apidesign.demo.minesweeper_3.0.0.SNAPSHOT [69]" could not be resolved. Reason: Missing Constraint: Import-Package: net.java.html.sound; version="[1.2.0,2.0.0)" at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316) which signals net.java.html.sound being available in wrong version. And yes, when looking at $ find netbeans/ ud | grep sound netbeans/platform/update_tracking/net-java-html-sound.xml netbeans/platform/config/Modules/net-java-html-sound.xml netbeans/platform/modules/net-java-html-sound.jar ud/update_tracking/net-java-html-sound.xml ud/config/Modules/net-java-html-sound.xml ud/modules/net-java-html-sound.jar there is one in the user directory. But surprisingly it is not 1.2.3 version, but only 1.1 version: $ unzip -p ud/modules/net-java-html-sound.jar META*MAN* Manifest-Version: 1.0 Bnd-LastModified: 1419053983125 Build-Jdk: 1.7.0_72 Built-By: jarda Bundle-Description: Java.net - The Source for Java Technology Collaborat ion Bundle-DocURL: http://netbeans.org Bundle-License: http://www.netbeans.org/cddl-gplv2.html Bundle-ManifestVersion: 2 Bundle-Name: Sound API via HTML Bundle-SymbolicName: net.java.html.sound Bundle-Vendor: NetBeans Bundle-Version: 1.1.0 Created-By: Apache Maven Bundle Plugin Export-Package: net.java.html.sound;version="1.1.0" Import-Package: net.java.html;version="[1.1,2)",org.netbeans.html.boot.s pi;version="[1.1,2)",org.netbeans.html.context.spi;version="[1.1,2)" Tool: Bnd-2.1.0.20130426-122213 where this old version comes from is not yet known. After installing NetBeans there is 1.2.3 version of html.sound: $ unzip -p netbeans/platform/modules/net-java-html-sound.jar META*MAN* Manifest-Version: 1.0 Bnd-LastModified: 1442863970660 Build-Jdk: 1.7.0_80 Built-By: devel Bundle-Description: Java.net - The Source for Java Technology Collaborat ion Bundle-DocURL: http://netbeans.org Bundle-License: http://www.netbeans.org/cddl-gplv2.html Bundle-ManifestVersion: 2 Bundle-Name: Sound API via HTML Bundle-SymbolicName: net.java.html.sound Bundle-Vendor: NetBeans Bundle-Version: 1.2.3 Created-By: Apache Maven Bundle Plugin Export-Package: net.java.html.sound;version="1.2.3" Import-Package: net.java.html;version="[1.2,2)",org.netbeans.html.boot.s pi;version="[1.2,2)",org.netbeans.html.context.spi;version="[1.2,2)" Tool: Bnd-2.1.0.20130426-122213 After the update of Minesweeper there are two html.sound modules: $ find | grep sound ./ud/update_tracking/net-java-html-sound.xml ./ud/config/Modules/net-java-html-sound.xml ./ud/modules/net-java-html-sound.jar ./netbeans/platform/update_tracking/net-java-html-sound.xml ./netbeans/platform/config/Modules/net-java-html-sound.xml ./netbeans/platform/modules/net-java-html-sound.jar one in the install directory (1.2.3 version) and one in user directory (1.1) version. Alas when starting the 1.1. version takes precedence. After deleting it: $ find ud | grep sound | xargs rm the IDE and Minesweeper start OK. The net.java.html.sound@1.1 module comes from DukeScript plugin. The question is why AU downloads that version, when there already is newer version installed, but as that may be hard to answer, the quicker solution is to ask Toni to rebuild his DukeScript module against HTML/Java 1.2.3 APIs and upload it. Then the problems should be gone as well. Toni, would you be so kind and updated DukeScript Wizard to newer version of HTML/Java APIs? Thanks. Solved, right? yes, it was resolved by last release |