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 208910 - AssertionError at org.netbeans.modules.web.common.api.browser.BrowserSupport$1.propertyChange
Summary: AssertionError at org.netbeans.modules.web.common.api.browser.BrowserSupport$...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
: 209584 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-27 15:39 UTC by Petr Jiricka
Modified: 2012-09-03 12:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185355


Attachments
stacktrace (715 bytes, text/plain)
2012-02-27 15:39 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-02-27 15:39:14 UTC
Build: NetBeans IDE Dev (Build EaselCSS-80-on-20120227)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02-402, Java(TM) SE Runtime Environment, 1.6.0_29-b11-402-11D50b
OS: Mac OS X

User Comments:
pjiricka: Changing the browser from Firefox to Chrome in IDE options




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.web.common.api.browser.BrowserSupport$1.propertyChange(BrowserSupport.java:132)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
   at org.netbeans.modules.web.common.api.browser.WebBrowsers.fireDefaultBrowserChange(WebBrowsers.java:179)
   at org.netbeans.modules.web.common.api.browser.WebBrowsers.access$100(WebBrowsers.java:64)
   at org.netbeans.modules.web.common.api.browser.WebBrowsers$2.preferenceChange(WebBrowsers.java:127)
Comment 1 Petr Jiricka 2012-02-27 15:39:16 UTC
Created attachment 116142 [details]
stacktrace
Comment 2 Petr Jiricka 2012-02-27 15:42:00 UTC
This is from Easel build #80, can you please take a look? Or is it caused by Jan's changes?
Comment 3 Denis Anisimov 2012-02-27 15:46:05 UTC
That's web.common issue.
Comment 4 Jan Stola 2012-02-27 16:04:44 UTC
> Jan's changes?

I don't see any relation to my recent changes. The corresponding code comes from David originally.

I am even not able to reproduce this issue. Are you able to reproduce it reliably or it happened just once?
Comment 5 Petr Jiricka 2012-02-27 16:27:22 UTC
Just once, I can not reproduce consistently.
Comment 6 Denis Anisimov 2012-02-29 07:41:02 UTC
web-main#b035ae15d42e
Comment 7 Denis Anisimov 2012-03-15 06:22:43 UTC
*** Bug 209584 has been marked as a duplicate of this bug. ***
Comment 8 Denis Anisimov 2012-03-15 06:24:40 UTC
Reopened because it is reproduced after fix integration in the issue #209584
Comment 9 Denis Anisimov 2012-03-15 06:45:23 UTC
web-main#737c7d9ef6f2
I've removed the assertion because it is incorrect. The pane value set to null 
exactly inside listener. So it could be equal to null on the next listener invocation ( if method getWebBrowserPane() has not been invoked between browser 
change ).
Comment 10 Quality Engineering 2012-09-03 12:55:46 UTC
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b035ae15d42e
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#208910 - AssertionError at org.netbeans.modules.web.common.api.browser.BrowserSupport$1.propertyChange