[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [platform-swt-dev] SWT_AWT on Mac, first impressions
|
- From: Christopher Deckers <chrriis@xxxxxxxxx>
- Date: Mon, 5 Oct 2009 13:42:21 +0200
- Delivered-to: platform-swt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=a3e4cwgdmHW9P1o3LHYitPLZVIhHzFgPvElZqljIpwU=; b=QKLyTlcR835aLNgds4zugsH2uyiR3n8w1oOimtsO5b2Fpw/rOdq58+efEw73OhhfVn NDVzx9GDWL3WaWf22mqYSQjAAY0Y5Ww5XrMiBrlEdPofZiae83GYM4EBHWrqtxcozCJP k1iHT4y6UAgFw3/tzJN8LY21tpN6HUCsEJtmg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=s7qcpEfiTYu/cyqfsBRgL1iWl57Xwzxi6iNkbm1y9/WwI5oPnh2FkOsp3v5VNnTDbK w6+E0tl+CgWQV6v4CCc1PIvo6aaPKqLxHDmzTQFko1WWUTUeJ6+SGGUKNoQBsrCgK0II 33u6zEtXS4ClALbS9q7z8IIwON1RjnG54O73E=
Scott,
We also have the following issue with creating a browser with XULRunner:
CWindow's _nativeShowModal: encountered error : 2009-10-04
19:28:18.319 java[785:80f] org.eclipse.swt.SWTException: Failed to
execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3956)
at org.eclipse.swt.SWT.error(SWT.java:3871)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3467)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at test.SimpleSWTMozillaBrowser.main(SimpleSWTMozillaBrowser.java:64)
Caused by: java.lang.NullPointerException
at org.eclipse.swt.browser.MozillaDelegate.createBaseWindow(MozillaDelegate.java:88)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:1363)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:120)
at test.SimpleSWTMozillaBrowser$1$1.run(SimpleSWTMozillaBrowser.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 3 more
MozillaDelegate :
87 NSMenu mainMenu = application.mainMenu ();
88 mainMenu.retain (); <- mainMenu == null!!
89 int rc = baseWindow.Create ();
Do you have any idea if it is a setup issue, or if this is an SWT bug?
If it is the latter, please let us know and we will open it in
BugZilla.
-Christopher