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 203994 - AssertionError: Lookup.lookup(NotificationDisplayer.class) has to return the same instance NotificationDisplayer.
Summary: AssertionError: Lookup.lookup(NotificationDisplayer.class) has to return the ...
Status: RESOLVED DUPLICATE of bug 204182
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 203972 204211 204230 204233 204333 204377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-20 08:54 UTC by Jiri Rechtacek
Modified: 2011-11-01 11:26 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182156


Attachments
stacktrace (10.89 KB, text/plain)
2011-10-20 08:54 UTC, Jiri Rechtacek
Details
stacktrace (11.12 KB, text/plain)
2011-10-25 13:44 UTC, javydreamercsw
Details
stacktrace (1.82 KB, text/plain)
2011-10-26 13:59 UTC, javydreamercsw
Details
stacktrace (1.82 KB, text/plain)
2011-10-27 13:35 UTC, medeag
Details
stacktrace (1.82 KB, text/plain)
2011-10-28 06:29 UTC, muellermi
Details
stacktrace (1.82 KB, text/plain)
2011-10-28 06:35 UTC, muellermi
Details
stacktrace (1.82 KB, text/plain)
2011-10-28 23:50 UTC, areeda
Details
stacktrace (1.82 KB, text/plain)
2011-10-29 00:59 UTC, mhmdchebbi
Details
stacktrace (1.82 KB, text/plain)
2011-10-29 01:14 UTC, areeda
Details
stacktrace (1.82 KB, text/plain)
2011-10-29 06:02 UTC, MackSix
Details
stacktrace (1.82 KB, text/plain)
2011-10-30 08:29 UTC, dbell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2011-10-20 08:54:53 UTC
Build: NetBeans IDE Dev (Build 201110190600)
VM: Java HotSpot(TM) Client VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

User Comments:
jrechtacek: After start with clean userdir I installed JUnit and then install all available updates, no restart icon shown.




Stacktrace: 
java.lang.AssertionError: Lookup.lookup(NotificationDisplayer.class) has to return the same instance NotificationDisplayer.
   at org.openide.awt.NotificationDisplayer.getDefault(NotificationDisplayer.java:95)
   at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.notifyRestartNeeded(InstallStep.java:632)
   at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.notifyInstallRestartNeeded(InstallStep.java:610)
   at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.presentInstallNeedsRestart(InstallStep.java:596)
   at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.doDownloadAndVerificationAndInstall(InstallStep.java:201)
   at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.access$200(InstallStep.java:101)
Comment 1 Jiri Rechtacek 2011-10-20 08:54:57 UTC
Created attachment 112247 [details]
stacktrace
Comment 2 Jiri Rechtacek 2011-10-20 09:11:45 UTC
*** Bug 203972 has been marked as a duplicate of this bug. ***
Comment 3 Jiri Rechtacek 2011-10-20 09:18:22 UTC
Similar(dup of?) to issue 203326, Lookup.getDefault() lookup(NotificationDisplayer.class) returns different instances after install new modules.
Steps to reproduce:
1) run IDE from ZIP distribution with clean userdir
2) wait for call to install JUnit and install it
3) install available updates (in any) or Insert Unicode plugin (needs restart IDE)
=> AE thrown. Not always but often.
This bug causes that no notification for restart in IDE status line.
Comment 4 Stanislav Aubrecht 2011-10-20 15:48:54 UTC
reproduced on virtualboxed linux, seems to work fine on windows though
Comment 5 Stanislav Aubrecht 2011-10-21 09:49:33 UTC
also reproduced on linux when activating java se feature in new project wizard (with a clean user dir)
Comment 6 Jaroslav Tulach 2011-10-25 05:58:05 UTC
What are the allocation stacktraces, please?
Comment 7 javydreamercsw 2011-10-25 13:44:30 UTC
Created attachment 112407 [details]
stacktrace

Clicked on the progress bar (downloading plugins)
Comment 8 Stanislav Aubrecht 2011-10-26 08:17:57 UTC
*** Bug 204233 has been marked as a duplicate of this bug. ***
Comment 9 Stanislav Aubrecht 2011-10-26 08:18:33 UTC
*** Bug 204230 has been marked as a duplicate of this bug. ***
Comment 10 Stanislav Aubrecht 2011-10-26 10:11:09 UTC
bug #197648 seems to be related (or perhaps a duplicate of this one)
Comment 11 javydreamercsw 2011-10-26 13:59:36 UTC
Created attachment 112457 [details]
stacktrace

When the backgorund plugin install completed
Comment 12 medeag 2011-10-27 13:35:42 UTC
Created attachment 112498 [details]
stacktrace

creating web project
Comment 13 Exceptions Reporter 2011-10-27 13:36:02 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182156
Comment 14 muellermi 2011-10-28 06:29:42 UTC
Created attachment 112524 [details]
stacktrace

starting ide
Comment 15 muellermi 2011-10-28 06:35:42 UTC
Created attachment 112525 [details]
stacktrace
Comment 16 areeda 2011-10-28 23:50:45 UTC
Created attachment 112542 [details]
stacktrace

running TS 67 MultiThreadedDebugging. I did an rm -r ~/.netbeans/dev and started, this happed opening the test project MemoryView.  it did evenually open
Comment 17 mhmdchebbi 2011-10-29 00:59:46 UTC
Created attachment 112543 [details]
stacktrace

happen when opening linux kernel source code with custom configuration.
Comment 18 areeda 2011-10-29 01:14:46 UTC
Created attachment 112545 [details]
stacktrace

I expect this to be a duplicate of 537594.  I'm still working on the Debugger test suite and deleting the $HOME/.netbeans/dev directory and starting the IDE give this message.
Comment 19 MackSix 2011-10-29 06:02:46 UTC
Created attachment 112547 [details]
stacktrace

Clicked on jLabel on Form in Designer with GridBagLayout to change the text.
Comment 20 dbell 2011-10-30 08:29:47 UTC
Created attachment 112570 [details]
stacktrace

Used "go to declaration" from Layer > This layer in context
Comment 21 Jaroslav Tulach 2011-10-31 08:27:55 UTC

*** This bug has been marked as a duplicate of bug 204182 ***
Comment 22 Stanislav Aubrecht 2011-10-31 08:29:38 UTC
*** Bug 204377 has been marked as a duplicate of this bug. ***
Comment 23 Stanislav Aubrecht 2011-10-31 08:29:50 UTC
*** Bug 204333 has been marked as a duplicate of this bug. ***
Comment 24 Marian Mirilovic 2011-11-01 11:26:47 UTC
*** Bug 204211 has been marked as a duplicate of this bug. ***