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 87225 - NPE while starting NB
Summary: NPE while starting NB
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-10-16 17:36 UTC by Tim Lebedkov
Modified: 2008-12-22 18:53 UTC (History)
1 user (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 Tim Lebedkov 2006-10-16 17:36:49 UTC
not reproducible

java.lang.NullPointerException
	at
org.openide.filesystems.MIMESupport$CachedFileObject$1.resultChanged(MIMESupport.java:166)
	at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:170)
	at org.netbeans.core.startup.MainLookup.doInitializeLookup(MainLookup.java:165)
	at
org.netbeans.core.startup.MainLookup.modulesClassPathInitialized(MainLookup.java:116)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:264)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:901)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:380)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:316)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:260)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:154)
	at org.netbeans.core.startup.Main.start(Main.java:308)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:89)
[catch] at java.lang.Thread.run(Thread.java:595)
Comment 1 Marian Mirilovic 2006-10-17 07:55:31 UTC
Radek, Yarda ?
Comment 2 rmatous 2006-10-20 11:17:13 UTC
Very fragile code, balancing between deadlock and race conditions -> very
conservative fix:

/cvs/openide/fs/src/org/openide/filesystems/MIMESupport.java,v
 1.20; previous revision: 1.19



 
Comment 3 Tim Lebedkov 2006-10-20 13:30:37 UTC
ok