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 175257 - NPE in o.n.i.w.c.SwingFrameContainer.updateWizardUi during uninstallation
Summary: NPE in o.n.i.w.c.SwingFrameContainer.updateWizardUi during uninstallation
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: dlipin
URL:
Keywords:
: 178290 182470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-23 07:57 UTC by Michael Nazarov
Modified: 2010-03-22 11:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
logs (9.46 KB, application/x-gzip)
2009-10-23 07:58 UTC, Michael Nazarov
Details
NPE reproduced in dev build (24.90 KB, application/octet-stream)
2009-12-08 07:02 UTC, Jindrich Sedek
Details
log of latest daily build (65.66 KB, application/octet-stream)
2009-12-14 03:48 UTC, Jindrich Sedek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2009-10-23 07:57:35 UTC
Some times uninstaller throws NPE. Have no complete steps to
reproduce yet, so P2.
Comment 1 Michael Nazarov 2009-10-23 07:58:10 UTC
Created attachment 89957 [details]
logs
Comment 2 dlipin 2009-10-23 09:06:36 UTC
Is it reproducible with Sun`s JDK not OpenJDK which uninstaller ran on?
Could you please try to update OpenJDK to the latest version? 1.6.0_0-b12 can be not the latest build.
Comment 3 dlipin 2009-10-23 09:08:01 UTC
I don`t see why this random issue is P2 so downgrading to P3.

 java.lang.NullPointerException
 	at org.netbeans.installer.wizard.containers.SwingFrameContainer.updateWizardUi(SwingFrameContainer.java:251)
 	at org.netbeans.installer.wizard.containers.SwingFrameContainer$1.run(SwingFrameContainer.java:213)
 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Comment 4 Michael Nazarov 2009-10-23 09:09:38 UTC
It looks bit random so unfortunately I can't reproduce it so fast and easy.
Comment 5 dlipin 2009-12-08 05:40:16 UTC
*** Bug 178290 has been marked as a duplicate of this bug. ***
Comment 6 Jindrich Sedek 2009-12-08 05:54:30 UTC
using steps describe at Bug 178290 I've reproduced it 2 times of 4 attempts
Comment 7 dlipin 2009-12-08 06:23:02 UTC
Jindrich,

could you please try to reproduce it with 6.8 RC and dev builds?
Thanks.
Comment 8 Jindrich Sedek 2009-12-08 07:02:39 UTC
Created attachment 92277 [details]
NPE reproduced in dev build

I'm able to reproduce it in dev build. I needed 5 attempts to get it. It seems to be caused by some concurrency. Try running unninstaller in paraller with some intensive disk activity (for example NB build) to increase the probablity of NPE occurence
Comment 9 dlipin 2009-12-10 05:55:02 UTC
Could you please try the latest daily build? I add more logging to find out the reason
http://bits.netbeans.org/netbeans/trunk/nightly/latest/
Thanks,
Dmitry
Comment 10 Jindrich Sedek 2009-12-14 03:48:23 UTC
Created attachment 92508 [details]
log of latest daily build
Comment 11 dlipin 2009-12-15 15:19:19 UTC
thanks.
Comment 12 dlipin 2010-01-22 08:09:41 UTC
Should be fixed now in main#7b33cefb1adb
Comment 13 Quality Engineering 2010-01-24 08:44:07 UTC
Integrated into 'main-golden', will be available in build *201001240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7b33cefb1adb
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #175257 NPE in o.n.i.w.c.SwingFrameContainer.updateWizardUi during uninstallation
Comment 14 dlipin 2010-03-22 11:32:43 UTC
*** Bug 182470 has been marked as a duplicate of this bug. ***
Comment 15 Michael Nazarov 2010-03-22 11:35:22 UTC
As I see it's not so random and not fixed for sure.
Comment 16 dlipin 2010-03-22 11:50:14 UTC
Note the target milestone : 6.9.