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 169503 - NPE when closing EB component
Summary: NPE when closing EB component
Status: REOPENED
Alias: None
Product: obsolete
Classification: Unclassified
Component: Embedded Mozilla (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-29 21:09 UTC by Milan Kubec
Modified: 2012-05-24 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (4.64 KB, text/plain)
2009-07-29 21:10 UTC, Milan Kubec
Details
similar problem but from windows (4.08 KB, text/plain)
2009-07-29 21:56 UTC, Milan Kubec
Details
screenshot (86.61 KB, image/png)
2009-07-30 15:20 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2009-07-29 21:09:14 UTC
I got NPE when closing EB component after download and installation and after some HTML page was loaded.

java.lang.NullPointerException
	at apple.awt.CComponent.getCWindowContainer(CComponent.java:48)
	at apple.awt.ComponentModel.getData(ComponentModel.java:465)
	at apple.awt.ComponentModel.replaceSurfaceData(ComponentModel.java:506)
	at apple.awt.ComponentModel.getSurfaceData(ComponentModel.java:475)
	at apple.awt.ContainerModel.setVisible(ContainerModel.java:157)
...
Comment 1 Milan Kubec 2009-07-29 21:10:20 UTC
Created attachment 85491 [details]
exc stack trace
Comment 2 Milan Kubec 2009-07-29 21:56:34 UTC
Created attachment 85494 [details]
similar problem but from windows
Comment 3 Stanislav Aubrecht 2009-07-30 08:35:56 UTC
i didn't reproduce the exception but i've added some extra checks anyway
core-main c6c64edaed84
Comment 4 Milan Kubec 2009-07-30 15:19:31 UTC
Second stack trace (id=85494) is not relevant to this issue. But the first one is still reproducible on Mac. 

Steps to reproduce:

1, start IDE
2, enable EB (download & install)
3, click link in Start Page
4, close EB component tab
Exc. is thrown.

Then tab disapeared but browser is still rendered in Main window, see attached screenshot.
Comment 5 Milan Kubec 2009-07-30 15:20:32 UTC
Created attachment 85545 [details]
screenshot
Comment 6 Quality Engineering 2009-07-30 17:52:11 UTC
Integrated into 'main-golden', will be available in build *200907301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c6c64edaed84
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #169503 - NPE