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 251063 - Cannot start Minesweeper (or other HTML/Java related) bundle
Summary: Cannot start Minesweeper (or other HTML/Java related) bundle
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-10 11:59 UTC by Exceptions Reporter
Modified: 2015-11-10 06:38 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216004


Attachments
stacktrace (2.23 KB, text/plain)
2015-03-10 11:59 UTC, Exceptions Reporter
Details
stacktrace (2.14 KB, text/plain)
2015-10-19 04:21 UTC, ted52452
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-03-10 11:59:32 UTC
This bug was originally marked as duplicate of bug 229640, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Linux

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>




Stacktrace: 
org.osgi.framework.BundleException: The bundle "org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116 [210]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.apache.xmlrpc; bundle-version="[3.0.0,4.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)
   at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
   at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
Comment 1 Exceptions Reporter 2015-03-10 11:59:40 UTC
Created attachment 152526 [details]
stacktrace
Comment 2 ted52452 2015-10-19 04:21:25 UTC
Created attachment 156791 [details]
stacktrace

I have canel the pluging continue with netbeans
Comment 3 Exceptions Reporter 2015-11-01 20:45:59 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216004
Comment 4 Jaroslav Tulach 2015-11-04 09:03:28 UTC
Mixing various AU centers may lead to inconsistent state. The plugin manager does not track version of OSGi bundles properly, so one may too old version if the AU centers are not consistent. I believe this happened in

http://statistics.netbeans.org/exceptions/messageslog?id=799785
As Minesweeper@3.0 requires net.java.html.sound@1.2.3 and only net.java.html.sound [1.1.0 1.1.0] was found.

mrtorks please confirm/deny you were mixing AU centers.

The other report (by a guest and not mrtorks) is
http://statistics.netbeans.org/exceptions/messageslog?id=799754
and it is similar. Again net.java.html.sound is older version.
Comment 5 Jaroslav Tulach 2015-11-04 09:24:58 UTC
The thing is that release81 contains net.java.html.sound@1.2.3! So the question is why the plugin manager uninstalls it and installs old version? Reporter, please locate var/log/update*log file and attach it to this issue. Thanks.

netbeans$ hg up -C release81
netbeans$ ant clean build
netbeans$ find nbbuild/netbeans/platform/ | grep sound
nbbuild/netbeans/platform/update_tracking/net-java-html-sound.xml
nbbuild/netbeans/platform/config/Modules/net-java-html-sound.xml
nbbuild/netbeans/platform/modules/net-java-html-sound.jar
netbeans$ unzip -p nbbuild/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
Comment 6 Jaroslav Tulach 2015-11-05 11:20:52 UTC
Can reporters please co-operate on resolving this issue?

> Reporter, please locate var/log/update*log file and 
> attach it to this issue. Thanks.
Comment 7 Jaroslav Tulach 2015-11-10 06:38:34 UTC
Reporter isn't co-operating. No new reports since then.

Assuming this was caused by inconsistent state of the AU center and that it is now fixed.