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 203873 - NullPointerException at org.eclipse.core.internal.net.ProxyManager.getPluggedInAuthenticator
Summary: NullPointerException at org.eclipse.core.internal.net.ProxyManager.getPlugged...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 202353 204668 206485 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-18 06:16 UTC by anba
Modified: 2011-12-19 09:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181836


Attachments
stacktrace (4.62 KB, text/plain)
2011-10-18 06:16 UTC, anba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anba 2011-10-18 06:16:07 UTC
This issue was reported manually by anba.
It already has 12 duplicates 


Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Linux

User Comments:
anba: Starting netbeans.

anba: Every start of netbeans IDE creates this exception.

anba: Repeated NullPointerException every start and sometime in the editing process.

anba: Start NB 7.1 and you get this exception.




Stacktrace: 
java.lang.NullPointerException
   at org.eclipse.core.internal.net.ProxyManager.getPluggedInAuthenticator(ProxyManager.java:390)
   at org.eclipse.core.internal.net.ProxyManager.registerAuthenticator(ProxyManager.java:383)
   at org.eclipse.core.internal.net.ProxyManager.initialize(ProxyManager.java:284)
   at org.eclipse.core.internal.net.Activator.start(Activator.java:179)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
Comment 1 anba 2011-10-18 06:16:10 UTC
Created attachment 112156 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-10-31 19:58:04 UTC
Caused by wrong classloader being used when seeking for XML parser factory. Can be fixed by using:

        // don't change classloader when getting XMLParsers
        configMap.put("eclipse.parsers.setTCCL", "false"); // NOI18N

property.
Comment 3 Jaroslav Tulach 2011-10-31 20:06:17 UTC
ergonomics#d20c86ce59d0
Comment 4 Jaroslav Tulach 2011-11-01 15:36:16 UTC
*** Bug 202353 has been marked as a duplicate of this bug. ***
Comment 5 Jiri Skrivanek 2011-11-02 13:19:18 UTC
Exception at IDE shutdown still reproducible (described in bug 202586 which is in chain of duplicates).

Product Version: NetBeans IDE Dev (Build 20111102-951d08566353)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 6 Quality Engineering 2011-11-02 15:15:16 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/d20c86ce59d0
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #203873: Use NetBeans context classloader to load XML parser
Comment 7 Quality Engineering 2011-11-03 15:31:35 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/d20c86ce59d0
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #203873: Use NetBeans context classloader to load XML parser
Comment 8 Tomas Stupka 2011-11-04 14:36:26 UTC
*** Bug 204668 has been marked as a duplicate of this bug. ***
Comment 9 Marian Mirilovic 2011-12-19 09:52:56 UTC
*** Bug 206485 has been marked as a duplicate of this bug. ***