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 201519 - NPE in equinox at netbeans shutdown
Summary: NPE in equinox at netbeans shutdown
Status: RESOLVED DUPLICATE of bug 202353
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 203251 203268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-01 16:37 UTC by Tomas Stupka
Modified: 2011-10-07 06:34 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2011-09-01 16:37:43 UTC
after closing netbeans the following exception is thrown


java.lang.NullPointerException
	at org.eclipse.equinox.internal.security.storage.PasswordProviderSelector.getInstance(PasswordProviderSelector.java:67)
	at org.eclipse.equinox.internal.security.auth.AuthPlugin.stop(AuthPlugin.java:73)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
Caused: org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.security.auth.AuthPlugin.stop() of bundle org.eclipse.equinox.security.
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:863)
	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:501)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
[catch] at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.suspendAllBundles(StartLevelManager.java:617)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:243)
	at java.lang.Thread.run(Thread.java:680)
Comment 1 Jaroslav Tulach 2011-09-01 18:38:22 UTC
If possible, we'd like to connect this with NetBeans keyring API
Comment 2 Jesse Glick 2011-09-01 20:29:57 UTC
Looks like we need to call RegistryProviderFactory.setDefault. But with what? In the short term, it could just provide enough stuff to integrate our Keyring API. But given that this is a singleton and someone else may need to integrate with Eclipse APIs, probably there should be some way for a NB module to contribute an arbitrary plugin.xml?
Comment 3 Jaroslav Tulach 2011-09-08 07:16:43 UTC
How do I checkout CVS/SVN/Git with proper sources for Eclipse modules that we use as part of Mylyn work?
Comment 4 Tomas Stupka 2011-09-08 08:23:57 UTC
org.eclipse.mylyn.xxx 3.6.0 - binaries & sources taken from http://www.eclipse.org/mylyn/downloads/archive.php

the org.eclipse.xxx binaries are from eclipse 3.6.2
Comment 5 Jiri Skrivanek 2011-10-06 19:24:22 UTC
*** Bug 203251 has been marked as a duplicate of this bug. ***
Comment 6 Tomas Stupka 2011-10-06 23:20:42 UTC
*** Bug 203268 has been marked as a duplicate of this bug. ***
Comment 7 Jaroslav Tulach 2011-10-07 06:34:23 UTC

*** This bug has been marked as a duplicate of bug 202353 ***