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 153720 - AssertionError: Updates Flasher cannot be null.
Summary: AssertionError: Updates Flasher cannot be null.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: dlipin
URL: http://statistics.netbeans.org/except...
Keywords:
: 137816 156087 168364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-23 16:26 UTC by aroika
Modified: 2009-07-10 08:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 141479


Attachments
stacktrace (475 bytes, text/plain)
2008-11-23 16:26 UTC, aroika
Details
messages.log (24.59 KB, text/plain)
2008-11-26 12:33 UTC, aroika
Details
oops, snipped too much before (25.11 KB, text/plain)
2008-11-26 12:41 UTC, aroika
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aroika 2008-11-23 16:26:09 UTC
Build: NetBeans IDE Dev (Build 200811230201)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows Vista, 6.0, x86

User Comments:
aroika: again, attempted to run/open this new build.



Stacktrace: 
java.lang.AssertionError: Updates Flasher cannot be null.
        at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.notifyAvailable(AutoupdateCheckScheduler.java:499)
        at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$.run(AutoupdateCheckScheduler.java:427)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 1 aroika 2008-11-23 16:26:20 UTC
Created attachment 74050 [details]
stacktrace
Comment 2 dlipin 2008-11-26 12:15:29 UTC
aroika, could you please attach ~/.netbeans/dev/var/log/messages.log with that issue?
Comment 3 aroika 2008-11-26 12:33:57 UTC
Created attachment 74180 [details]
messages.log
Comment 4 aroika 2008-11-26 12:41:08 UTC
Created attachment 74181 [details]
oops, snipped too much before
Comment 5 dlipin 2008-11-26 12:55:42 UTC
I see that PluginManager class is not accessible from the pluginimporter`s StatusLineImportIcon class, 
NoClassDefFoundError is thrown. I am not sure whether the initial assertion error is caused by this issue..

Jirka, any idea? are those issues related at all? are they connected to Issue 152964?

Looks like this issue happened in the past when no pluginimporter existed..
http://statistics.netbeans.org/exceptions/detail.do?id=53594
Comment 6 Jiri Rechtacek 2008-11-26 13:01:10 UTC
Seems as a race condition, need to find out reproducible use case and debug it. It has nothing to do with
pluginimporter, this problem was reported in the past also.
Comment 7 dlipin 2008-12-26 16:48:41 UTC
Just to note: this "Updates Flasher cannot be null" assertion failure sounds very similar (at least, after the code 
analysis) to the NPE that is mentioned in the Issue 137816.
Comment 8 dlipin 2008-12-26 16:51:16 UTC
*** Issue 156087 has been marked as a duplicate of this issue. ***
Comment 9 dlipin 2009-01-30 17:40:39 UTC
*** Issue 137816 has been marked as a duplicate of this issue. ***
Comment 10 dlipin 2009-03-25 14:27:49 UTC
That is likely fixed with the new Notification API used (see Issue 159614 and http://hg.netbeans.org/main-silver/
rev/568f7ed5bbba).
Comment 11 dlipin 2009-07-10 08:59:30 UTC
*** Issue 168364 has been marked as a duplicate of this issue. ***