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 203251 - NPE stopping Tomcat
Summary: NPE stopping Tomcat
Status: RESOLVED DUPLICATE of bug 201519
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 18:56 UTC by alied
Modified: 2011-10-06 19:24 UTC (History)
0 users

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 alied 2011-10-06 18:56:11 UTC
[ JDK VERSION : 1.7 ]

I'm working with Tomcat, and when I close NetBeans I always get this NPE at
closing. Also, with Deploy on Save enabled, sometimes the Deploy keeps until
doomsday (or I run out of patience, whichever occurs first :-))
If you need the whole log, tell me and I'll attach it.

---------stack trace:------------
(...)
SEVERE [org.netbeans.modules.netbinox]: framework event
org.eclipse.equinox.security type 2
java.lang.NullPointerException
	at
org.eclipse.equinox.internal.security.storage.PasswordProviderSelector.getInstan
ce(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(BundleContextIm
pl.java:843)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImp
l.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(BundleContextImp
l.java:863)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:5
01)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.j
ava:550)
[catch] at
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:
1097)
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.suspendAllBundles(Sta
rtLevelManager.java:617)
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Start
LevelManager.java:261)
	at
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelMa
nager.java:215)
	at
org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSy
stemBundle.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(InternalSyst
emBundle.java:243)
	at java.lang.Thread.run(Thread.java:722)
Comment 1 Jiri Skrivanek 2011-10-06 19:24:22 UTC

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