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 245074 - org.osgi.framework.BundleException: The bundle "org.apache.axis_1.4.0 [225]" could not be resolved. Reason: Missing Constraint: Require-Bundle: javax.wsdl; bundle-version="[1.5.1,2.0.0)"
Summary: org.osgi.framework.BundleException: The bundle "org.apache.axis_1.4.0 [225]" ...
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Jira (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 248069 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-16 06:59 UTC by jaska_tl
Modified: 2015-04-02 16:26 UTC (History)
21 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210285


Attachments
stacktrace (2.12 KB, text/plain)
2014-06-16 06:59 UTC, jaska_tl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaska_tl 2014-06-16 06:59:11 UTC
This bug was originally marked as duplicate of bug 238656, 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 201406120533)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
GUEST: This exception is thrown everytime while NetBeans IDE is starting in the popup window.

GUEST: Trying to run my first Netbeans platform application

jenjen: <Please provide a description of the problem or the steps to reproduce>a

mmirilovic: restarted IDE after installing Jirka plugin

GUEST: aaaaaaaa

GUEST: Tried following the tutorial on https://platform.netbeans.org/tutorials/nbm-projecttype.html

GUEST: Launched IDE and picked up "Old Settings". Tried to import. They were missing. Clicked Disable button. Got here!

sreder: JGit extension couldn't load and I disabled it when prompted.  Then this popped up

GUEST: d

GUEST: %

GUEST: Error :(

GUEST: Upgraded to 7.4 and started gettting this error on startup. Sorry if this isnt helpful

infonaut: on NB start after reinstalling Bugzilla plugin

danilopiazza: Restarting after installing plugins.

GUEST: %

GUEST: exception.

danilopiazza: Opening NetBeans

GUEST: Started Netbeans

yeradis: just opened

jaska_tl: Starting dev version of netbeans

mr_lou_d: IDE suggested update on 21-Oct-13. Updated, IDE restarted, error appeared.

GUEST: Following tutorial on

https://platform.netbeans.org/tutorials/nbm-javacc-lexer.html

step 5.

GUEST: slowly

GUEST: donot know

GUEST: starting netbeans

sebourban: Starting NetBeans

jenjen: As a user, I would like to be able to load the text editor without crashing.

GUEST: started NB

marcosgdf: Updated 33 modules

GUEST: remove Bugzilla plugin, restart NB, reinstall Bugzilla plugin: Exception at NB startup

vikmalik: After updating the software opened the netbeans first time and this problem showed up. I only have one maven-java project in workspace

GUEST: .

GUEST: B??d przy uruchamianiu

GUEST: %

GUEST: When i start netbeans

yeradis: just disabled some modules and restarted

GUEST: Started a plugin module project

GUEST: %

danilopiazza: Opening NetBeans

GUEST: <Please provide a description of the problem or the steps to reproduce> Jira not found 404!!!

loweryr: Error on startup... dev build with latest updates.

nakohdo: Just starting the current dev snapshot of the IDE.

GUEST: Updating NetBeans

sebourban: (After uninstalling bugzilla, a lot of problem came on -- so downloaded a brand new development version and re-installed -- here are the latest error) -- just starting the application

GUEST: loadimg program

GUEST: Bugzilla & RedmineNB & Jira plugins installation issue

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

vikmalik: during straup showed error

dengr: I cleared the cache .cache/netbeans/ and ran netbeans




Stacktrace: 
org.osgi.framework.BundleException: The bundle "org.apache.axis_1.4.0 [225]" could not be resolved. Reason: Missing Constraint: Require-Bundle: javax.wsdl; bundle-version="[1.5.1,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)
   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 jaska_tl 2014-06-16 06:59:15 UTC
Created attachment 147690 [details]
stacktrace
Comment 2 Jaroslav Tulach 2014-06-27 09:12:06 UTC
I think these bundles are used by Jira plugin. Moving there for investigation. 

I guess that in case of 
http://statistics.netbeans.org/exceptions/messageslog?id=725526
the root problem is 

	org.apache.axis - org.netbeans.InvalidException: Netigso: C:\Program Files\NetBeans 8.0\extra\modules\org-apache-axis.jar: Cannot start org.apache.axis state remains INSTALLED after start()

possibly axis depends on javax.wsdl, which may have some (uknown) problems:
INFO [org.netbeans.core.startup.NbEvents]: ����: �Ҳ���ģ��C:\Program Files\NetBeans 8.0\modules\javax-wsdl.jar, ����...

The report
http://statistics.netbeans.org/exceptions/messageslog?id=725105
seems to indicate the javax.wsdl dependency problem may be the culprit:

SEVERE [org.netbeans.modules.netbinox]: framework event org.apache.axis type 2
org.osgi.framework.BundleException: The bundle "org.apache.axis_1.4.0 [42]" could not be resolved. Reason: Missing Constraint: Require-Bundle: javax.wsdl; bundle-version="[1.5.1,2.0.0)"

If there is no wsdl file, then it maybe an autoupdate problem.
Comment 3 Tomas Pavek 2014-11-27 16:39:20 UTC
Majority of the exceptions here complain about not able to resolve org.apache.axis and others, in messages.log we can find it is because they miss javax.wsdl.

I think this is due to the ill way the JIRA plugins are installed from AU - some to the user dir (correct) but some modules are put to install dir. (We discussed this a while ago, I guess I forgot to file it as a bug.) When the user deletes the user dir, some modules are simply missing. It fits quite well - the javax.wsdl is in the user dir, while org.apache.axis, org.eclipse.mylyn.commons.soap and com.atlassian.connector.eclipse.jira.core are in the install dir. The exceptions reported here are full of these three bundles (not able to resolve).

Given the high number of reported exceptions (people running into this quite often), I'd suggest this to be considered a P2 bug.
Comment 4 aplatypus 2014-11-28 01:29:45 UTC
Hi ... following the comment about a missing file in the User directory.

" When the user deletes the user dir, some modules are simply missing. It fits quite well - the javax.wsdl is in the user dir, while org.apache.axis," 


Actually I am running Netbeans with three(3) different user directories.  One for production; one for development; and one for testing.

If there are files missing, then it could be that the file wasn't copied/saved to one or more of the user directories (and cache directories) in use.

Please refer to:

  * http://wiki.netbeans.org/FaqAlternateUserdir
  * http://wiki.netbeans.org/FaqNetbeansConf
Comment 5 Tomas Stupka 2015-02-06 20:46:35 UTC
> I think this is due to the ill way the JIRA plugins are installed from AU - some to the user dir (correct) but some modules are put to install dir.
> (We discussed this a while ago, I guess I forgot to file it as a bug.) When the user deletes the user dir, some modules are simply missing. 
yes, this seems to the cause for the problem

all jira modules should end up either in install or userdir
Comment 6 Tomas Stupka 2015-02-06 20:59:40 UTC
fixed in jet-main #64e730caf10a
Comment 7 Quality Engineering 2015-02-08 04:09:15 UTC
Integrated into 'main-silver', will be available in build *201502080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/64e730caf10a
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #245074 - org.osgi.framework.BundleException: The bundle "org.apache.axis_1.4.0 [225]" could not be resolved. Reason: Missing Constraint: Require-Bundle: javax.wsdl; bundle-version="[1.5.1,2.0.0)"
Comment 8 Tomas Stupka 2015-04-02 16:26:17 UTC
*** Bug 248069 has been marked as a duplicate of this bug. ***