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 162809 - NullPointerException at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems
Summary: NullPointerException at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnit...
Status: VERIFIED DUPLICATE of bug 162833
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 11:18 UTC by Jindrich Sedek
Modified: 2009-06-21 13:43 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149613


Attachments
stacktrace (1.33 KB, text/plain)
2009-04-16 11:18 UTC, Jindrich Sedek
Details
stacktrace (2.09 KB, text/plain)
2009-04-16 15:56 UTC, Kenneth Ganfield
Details
stacktrace (1.33 KB, text/plain)
2009-04-16 17:10 UTC, Lukas Jungmann
Details
stacktrace (1.33 KB, text/plain)
2009-04-16 17:26 UTC, gholmer
Details
stacktrace (1.33 KB, text/plain)
2009-04-16 17:29 UTC, Exceptions Reporter
Details
stacktrace (1.33 KB, text/plain)
2009-04-16 18:20 UTC, neilg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-04-16 11:18:01 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.27.21-170.2.56.fc10.x86_64, amd64

User Comments:
jsedek: starting IDE with fresh userdir



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Comment 1 Jindrich Sedek 2009-04-16 11:18:13 UTC
Created attachment 80229 [details]
stacktrace
Comment 2 Jindrich Sedek 2009-04-16 11:26:35 UTC
I'm afraid this issue is P1 and beta stopper. I'm not able to do nothing with the IDE after fresh install. I downloaded
java distro, installed, started NB, refused settings import. The welcome page appeared, after closing it, trying to open
or create some project, this NPE is thrown always and since one thrown, thrown in cycle.

100% reproducible for me, it must be regression of today's build since I didn't face this problem with yesterday build
Comment 3 Kenneth Ganfield 2009-04-16 15:56:10 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments: 
trying to access update center from plugins manager

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Comment 4 Kenneth Ganfield 2009-04-16 15:56:14 UTC
Created attachment 80270 [details]
stacktrace
Comment 5 Pavel Flaska 2009-04-16 16:09:26 UTC
Seems it is connected to this integration:

http://hg.netbeans.org/ergonomics/rev/895ce04678b2
Comment 6 Pavel Flaska 2009-04-16 16:24:39 UTC
Is it installed or unzipped? (I've just tried to unzip 200904160001 and all works as expected.) The same for custom trunk build.
Comment 7 Jindrich Sedek 2009-04-16 16:31:27 UTC
installed using installer, I'll try to reproduce on my own build
Comment 8 Pavel Flaska 2009-04-16 16:47:57 UTC
When installed Java SE (MacOS installer) I'm able to reproduce the issue.

Comment 9 Lukas Jungmann 2009-04-16 17:10:13 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Windows Vista, 6.0, x86

User Comments: 
start ide w/ fresh userdir and double-click on the window frame to maximize it

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Comment 10 Lukas Jungmann 2009-04-16 17:10:27 UTC
Created attachment 80283 [details]
stacktrace
Comment 11 gholmer 2009-04-16 17:26:18 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.24-23-generic, i386

User Comments: 
First start after install with clean userdir (imported settings from 6.5 userdir). Exception thrown immediately on startup.

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Comment 12 gholmer 2009-04-16 17:26:28 UTC
Created attachment 80284 [details]
stacktrace
Comment 13 Exceptions Reporter 2009-04-16 17:29:22 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, amd64

User Comments: 
clicking on Welcome screen

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Comment 14 Exceptions Reporter 2009-04-16 17:29:33 UTC
Created attachment 80285 [details]
stacktrace
Comment 15 neilg 2009-04-16 18:20:17 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: OpenJDK 64-Bit Server VM, 14.0-b08, OpenJDK Runtime Environment, 1.6.0_0-b14
OS: Linux, 2.6.28-11-generic, amd64

User Comments: 
Open project

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.getUpdateItems(FoDUpdateUnitProvider.java:92)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:222)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:196)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:93)
Comment 16 neilg 2009-04-16 18:20:26 UTC
Created attachment 80290 [details]
stacktrace
Comment 17 Jaroslav Tulach 2009-04-16 19:01:42 UTC

*** This issue has been marked as a duplicate of 162833 ***
Comment 18 Jindrich Sedek 2009-04-24 15:42:20 UTC
v.