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 211363 - NPE when Services folder is not found
Summary: NPE when Services folder is not found
Status: RESOLVED DUPLICATE of bug 210279
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.2
Hardware: Other Linux
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 06:03 UTC by Jaroslav Tulach
Modified: 2012-05-14 15:15 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 Jaroslav Tulach 2012-04-18 06:03:15 UTC
[junit] java.io.IOException: java.lang.NullPointerException
    [junit] 	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:422)
    [junit] 	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:380)
    [junit] 	at org.netbeans.core.NbLoaderPool.findServicesFolder(NbLoaderPool.java:692)
    [junit] 	at org.netbeans.core.NbLoaderPool.findServicesLookup(NbLoaderPool.java:701)
    [junit] 	at org.netbeans.core.CoreBridgeImpl.lookupCacheLoad(CoreBridgeImpl.java:141)
    [junit] 	at org.netbeans.core.startup.MainLookup.modulesClassPathInitialized(MainLookup.java:152)
    [junit] 	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:371)
    [junit] 	at org.netbeans.ModuleManager.enable(ModuleManager.java:1163)
    [junit] 	at org.netbeans.ModuleManager.enable(ModuleManager.java:986)
    [junit] 	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
    [junit] 	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
    [junit] 	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:295)
    [junit] 	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:169)
    [junit] 	at org.netbeans.core.startup.Main.start(Main.java:305)
    [junit] 	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.NullPointerException
    [junit] 	at org.openide.loaders.DataLoaderPool$FolderLoader.findPrimaryFile(DataLoaderPool.java:1081)
    [junit] 	at org.openide.loaders.MultiFileLoader.findPrimaryFileImpl(MultiFileLoader.java:365)
    [junit] 	at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:99)
    [junit] 	at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:161)
    [junit] 	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:407)
Comment 1 Jaroslav Tulach 2012-05-14 15:15:39 UTC
I have not seen the problem since  bug 210279 was fixed. Marking duplicate.

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