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 229640 - org.osgi.framework.BundleException: The bundle "com.atlassian.connector.eclipse.jira.core_3.0.4.v20120406 [168]" could not be resolved. Reason: Missing Constraint: Require-Bundle: javax.xml.rpc; bundl
Summary: org.osgi.framework.BundleException: The bundle "com.atlassian.connector.eclip...
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 221608 225210 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-13 08:08 UTC by sebourban
Modified: 2013-09-09 12:27 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200601


Attachments
stacktrace (2.15 KB, text/plain)
2013-05-13 08:08 UTC, sebourban
Details
stacktrace (2.12 KB, text/plain)
2013-05-16 08:59 UTC, Marian Mirilovic
Details
stacktrace (2.16 KB, text/plain)
2013-07-25 18:36 UTC, infonaut
Details
a proposed fix (3.98 KB, application/octet-stream)
2013-09-05 18:08 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sebourban 2013-05-13 08:08:08 UTC
This bug was originally marked as duplicate of bug 225210, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201305102300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
GUEST: Started Netbeans

GUEST: Bugzilla & RedmineNB & Jira plugins installation issue

sebourban: Starting NetBeans




Stacktrace: 
org.osgi.framework.BundleException: The bundle "com.atlassian.connector.eclipse.jira.core_3.0.4.v20120406 [168]" could not be resolved. Reason: Missing Constraint: Require-Bundle: javax.xml.rpc; bundle-version="1.1.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:1177)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
Comment 1 sebourban 2013-05-13 08:08:10 UTC
Created attachment 134348 [details]
stacktrace
Comment 2 Marian Mirilovic 2013-05-16 08:59:00 UTC
Created attachment 134505 [details]
stacktrace

restarted IDE after installing Jirka plugin
Comment 3 Marian Mirilovic 2013-05-16 08:59:18 UTC
*** Bug 225210 has been marked as a duplicate of this bug. ***
Comment 4 Marian Mirilovic 2013-05-16 09:00:05 UTC
*** Bug 221608 has been marked as a duplicate of this bug. ***
Comment 5 Marian Mirilovic 2013-05-16 09:01:26 UTC
I am able to reproduce it .... javax.wsdl is not present in my installation !
Comment 6 infonaut 2013-07-25 18:36:51 UTC
Created attachment 137820 [details]
stacktrace

on NB start after reinstalling Bugzilla plugin
Comment 7 Tomas Stupka 2013-08-26 14:46:34 UTC
looking on some reports - the bundle o.apache.ws.commons.util is misisng. 
Scenario to reproduce would be - uninstall bugzila and then install bugzilla back.

seems like when the catalog.xml is generated Import-Package and Export-Package aren't respected
Comment 8 Jiri Rechtacek 2013-09-05 18:08:48 UTC
Created attachment 139719 [details]
a proposed fix
Comment 9 Jiri Rechtacek 2013-09-06 11:40:26 UTC
http://hg.netbeans.org/core-main/rev/5908e8e88078

Tomas, could you verify the fix on next nightly build? Thanks
Comment 10 Jiri Rechtacek 2013-09-06 11:41:00 UTC
Fixed in trunk - http://hg.netbeans.org/core-main/rev/5908e8e88078
Comment 11 Quality Engineering 2013-09-09 01:44:48 UTC
Integrated into 'main-silver', will be available in build *201309090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5908e8e88078
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #229640 - generating UC task will support "Export-Package", "Import-Package" and "Require-Bundle" attributes of OSGi bundles
Comment 12 Jiri Rechtacek 2013-09-09 12:27:13 UTC
Removed 74_HR_FIX_CANDIDATE, a workaround is part of NetBeans 7.4 so not needed to backport this patch to release74.