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 217736 - NullPointerException at org.eclipse.core.internal.runtime.ResourceTranslator.getResourceBundle
Summary: NullPointerException at org.eclipse.core.internal.runtime.ResourceTranslator....
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-03 11:14 UTC by Tomas Mysik
Modified: 2013-01-10 08:46 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192056


Attachments
stacktrace (3.08 KB, text/plain)
2012-09-03 11:14 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-09-03 11:14:37 UTC
This bug was originally marked as duplicate of bug 211733, 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 20120903-2336ade04b67)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01, Java(TM) SE Runtime Environment, 1.6.0_35-b10
OS: Linux

User Comments:
rozwell: started netbeans

GUEST: Starting netbeans

tmysik: just started IDE

jglick: Disabled some plugins and restarted.

jglick: Just started IDE (fresh dev build).

vv159170: start IDE

jglick: Restarted IDE after update. Note that the log file contains newly added logging at FINE in o.n.m.netbinox.

vv159170: restart IDE

rozwell: started netbeans without open projects or files

jskrivanek: I need to change project group first.

vv159170: reopen IDE

GUEST: Starting NetBeans

jglick: Just restarted IDE after updating modulemanager module.

tmysik: ide started

vv159170: start IDE...

vv159170: start IDE

GUEST: Restarting Netbeans after an update of the plugins.

tmysik: ide just started




Stacktrace: 
java.lang.NullPointerException
   at org.eclipse.core.internal.runtime.ResourceTranslator.getResourceBundle(ResourceTranslator.java:69)
   at org.eclipse.core.internal.runtime.ResourceTranslator.getResourceBundle(ResourceTranslator.java:61)
   at org.eclipse.core.internal.registry.osgi.EclipseBundleListener.addBundle(EclipseBundleListener.java:177)
   at org.eclipse.core.internal.registry.osgi.EclipseBundleListener.processBundles(EclipseBundleListener.java:90)
   at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.onStart(RegistryStrategyOSGI.java:224)
   at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
Comment 1 Tomas Mysik 2012-09-03 11:14:41 UTC
Created attachment 123820 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-09-17 12:36:28 UTC
Vladimir, can you reproduce from empty user directory?
Comment 3 Tomas Mysik 2012-09-17 12:50:35 UTC
I can't reproduce this issue with a clean userdir.
Comment 4 Tomas Mysik 2012-09-17 12:53:43 UTC
BTW I have noticed another NPE:


SEVERE [org.netbeans.modules.netbinox]: framework event org.eclipse.equinox.security type 2
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:771)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
Caused: org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.security.auth.AuthPlugin.stop() of bundle org.eclipse.equinox.security.
Comment 5 Vladimir Voskresensky 2012-09-20 06:20:50 UTC
can not reproduce with clean userdir, but on IDE close I see the same NPE as Tomas (it can not be auto reported, because no main frame anymore)
Comment 6 Jaroslav Tulach 2012-11-06 11:20:20 UTC
No report from 7.3.
Comment 7 Marian Mirilovic 2012-11-06 11:37:27 UTC
(In reply to comment #6)
> No report from 7.3.

Jarda, 
the last one is from 7.3 Beta : http://statistics.netbeans.org/exceptions/exception.do?id=625940

Beside that, this bug (not previous issue 211733, that wasn't really fixed by the way http://hg.netbeans.org/core-main/rev/e82a8bd96ae3) and 5 other dups are reported from 7.3 codebase
Comment 9 Jaroslav Tulach 2012-11-26 15:50:08 UTC
Harmless exception printed on exit, I guess.
Comment 10 Jaroslav Tulach 2013-01-10 08:46:18 UTC
No report since 7.3beta2. Very likely caused by broken installation, possibly fixed by fix for bug 218320.