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 187737 - NullPointerException at org.mozilla.browser.MozillaExecutor.asyncExec
Summary: NullPointerException at org.mozilla.browser.MozillaExecutor.asyncExec
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: Embedded Mozilla (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 14:42 UTC by salexey
Modified: 2012-06-10 13:24 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159807


Attachments
stacktrace (1.07 KB, text/plain)
2010-06-17 14:42 UTC, salexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description salexey 2010-06-17 14:42:19 UTC
Build: NetBeans IDE 6.9 (Build 201006111053)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
GUEST: I install Web Preview and Embedded Browser UI - XUL Runner. Next i set as default Web Browser (in Options > General)  Embedded Mozilla Browser. On show Web Browser tab in IDE it request fo select from "Download and Install" or "Disable Embedded Browser", i click on "Download and Install" and about 5 minutes install progress. When it done, it shows "Failed to initialize Web Browser" and button "Show Details". It test it in version 6.8 and 6.9, and in both is same error.
Please contact me on mail david@hradyho.net if you have solve.

Thanks
David Hradek, david@hradyho.net , Czech Republic

This is dump, which shown after click to "Show Details":
XULRunner home: C:\Documents and Settings\Hradkovi\.netbeans\6.9m1\modules\lib\native\win32\xulrunner
Profile directory: C:\Documents and Settings\Hradkovi\.netbeans\6.9m1\var\cache\mozillaprofilev1
Platform: Win32
Java: 16.0-b13, Sun Microsystems Inc.

--------------------------------------------------

org.mozilla.browser.MozillaException: org.

GUEST: Focused Web Browser document (Embedded Browser) with Failed to initialize Web browser message with displayed details

billy_joel: I want to display a web aplication in the embeded browser but it fails. I downloaded tow times and the error still persist

GUEST: a problem to browsing inside netbean 6.8

GUEST: running clean project

GUEST: Not view the Embedded mozilla browser .

salexey: If i try to use embedded browser

GUEST: Installed embedded browser module. Rerun the application to open a new embedded browser window.

GUEST: XULRunner home: C:\Documents and Settings\Administrator\.netbeans\6.8m2\modules\lib\native\win32\xulrunner
Profile directory: C:\Documents and Settings\Administrator\.netbeans\6.8m2\var\cache\mozillaprofilev1
Platform: Win32
Java: 14.2-b01, Sun Microsystems Inc.

--------------------------------------------------

org.mozilla.browser.MozillaException: java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Administrator\.netbeans\6.8m2\modules\lib\native\win32\xulrunner\javaxpcomglue.dll: ???????????????????????????????????????
    at org.mozilla.browser.MozillaExecutor.mozInit(MozillaExecutor.java:220)
    at org.mozilla.browser.MozillaInitialization.initialize(MozillaInitialization.java:149)
    at org.mozilla.browser.MozillaPanel.<init>(MozillaPanel.java:179)
    at org.mozilla.browser.MozillaPanel.<init>(MozillaPanel.java:159)
    at org.netbeans.core.browser.xulrunner.BrowserPanel.<init>(BrowserPanel.java:51)
    at org.netbeans.core.browser.xulrunner.WebBrowserImpl.createBrowse




Stacktrace: 
java.lang.NullPointerException
   at org.mozilla.browser.MozillaExecutor.asyncExec(MozillaExecutor.java:342)
   at org.mozilla.browser.MozillaExecutor.mozAsyncExec(MozillaExecutor.java:508)
   at org.netbeans.core.browser.xulrunner.BrowserPanel.requestFocusInBrowser(BrowserPanel.java:250)
   at org.netbeans.core.browser.xulrunner.WebBrowserImpl$BrowserContainer$1.run(WebBrowserImpl.java:540)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Comment 1 salexey 2010-06-17 14:42:23 UTC
Created attachment 100173 [details]
stacktrace