Re: NullPointerException in the StockWatcher on gwt-mac-1.6.4

2009-05-16 Thread Pavel

Hi Sumit,

I have solved the problem by updating Mac OS X to version 10.5.7.

Thank you,
Pavel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: NullPointerException in the StockWatcher on gwt-mac-1.6.4

2009-05-04 Thread Sumit Chandel
Hi Pavel,

Which version of Java are you using on the Mac? Java 5 or Java 6?

If it's the latter, it's possible that you're encountering some variant of
the 32-bit SWT binding compatibility issue (see FAQ linked below). Though in
this case the diagnosis would seem to indicate otherwise, it seems like it
would be good to check the JDK you're using just in case.

FAQ:
http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html#Invalid_memory_access_of_location

Hope that helps,
-Sumit Chandel

On Tue, Apr 28, 2009 at 8:21 PM, Pavel pfro...@gmail.com wrote:


 Hi,

 I have a problem with the StockWatcher. I followed steps from  Step
 1: Creating a GWT Project to create an application and run it in
 hosted mode.

 I got this error while loading the module. I don't get this problem on
 Windows with version of 1.6.4.

 [ERROR] Unable to load module entry point class
 com.google.gwt.sample.stockwatcher.client.StockWatcher (see associated
 exception for details)
 java.lang.NullPointerException: null
at com.google.gwt.dom.client.Document$.isCSS1Compat$(Document.java:
 1250)
at com.google.gwt.dom.client.Document$.getViewportElement$
 (Document.java:1294)
at
 com.google.gwt.dom.client.Document$.getClientWidth$(Document.java:
 1095)
at com.google.gwt.user.client.Window.getClientWidth(Window.java:537)
at
 com.google.gwt.user.client.ui.DialogBox.init(DialogBox.java:179)
at
 com.google.gwt.user.client.ui.DialogBox.init(DialogBox.java:153)
at
 com.google.gwt.user.client.ui.DialogBox.init(DialogBox.java:141)
at
 com.google.gwt.sample.stockwatcher.client.StockWatcher.onModuleLoad
 (StockWatcher.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:326)
at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace
 (BrowserWidget.java:343)
at com.google.gwt.dev.shell.mac.BrowserWidgetSaf.access$400
 (BrowserWidgetSaf.java:35)
at com.google.gwt.dev.shell.mac.BrowserWidgetSaf
 $ExternalObject.gwtOnLoad(BrowserWidgetSaf.java:82)
at com.google.gwt.dev.shell.mac.BrowserWidgetSaf$GwtOnLoad.invoke
 (BrowserWidgetSaf.java:171)
at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native
 Method)
at org.eclipse.swt.widgets.Display.sleep(Display.java:3801)
at
 com.google.gwt.dev.SwtHostedModeBase.sleep(SwtHostedModeBase.java:
 241)
at com.google.gwt.dev.SwtHostedModeBase.processEvents
 (SwtHostedModeBase.java:236)
at com.google.gwt.dev.HostedModeBase.pumpEventLoop
 (HostedModeBase.java:558)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

 Any help is appreciated.

 Thank you,
 Pavel

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



NullPointerException in the StockWatcher on gwt-mac-1.6.4

2009-04-29 Thread Pavel

Hi,

I have a problem with the StockWatcher. I followed steps from  Step
1: Creating a GWT Project to create an application and run it in
hosted mode.

I got this error while loading the module. I don't get this problem on
Windows with version of 1.6.4.

[ERROR] Unable to load module entry point class
com.google.gwt.sample.stockwatcher.client.StockWatcher (see associated
exception for details)
java.lang.NullPointerException: null
at com.google.gwt.dom.client.Document$.isCSS1Compat$(Document.java:
1250)
at com.google.gwt.dom.client.Document$.getViewportElement$
(Document.java:1294)
at com.google.gwt.dom.client.Document$.getClientWidth$(Document.java:
1095)
at com.google.gwt.user.client.Window.getClientWidth(Window.java:537)
at com.google.gwt.user.client.ui.DialogBox.init(DialogBox.java:179)
at com.google.gwt.user.client.ui.DialogBox.init(DialogBox.java:153)
at com.google.gwt.user.client.ui.DialogBox.init(DialogBox.java:141)
at com.google.gwt.sample.stockwatcher.client.StockWatcher.onModuleLoad
(StockWatcher.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:326)
at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace
(BrowserWidget.java:343)
at com.google.gwt.dev.shell.mac.BrowserWidgetSaf.access$400
(BrowserWidgetSaf.java:35)
at com.google.gwt.dev.shell.mac.BrowserWidgetSaf
$ExternalObject.gwtOnLoad(BrowserWidgetSaf.java:82)
at com.google.gwt.dev.shell.mac.BrowserWidgetSaf$GwtOnLoad.invoke
(BrowserWidgetSaf.java:171)
at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method)
at org.eclipse.swt.widgets.Display.sleep(Display.java:3801)
at com.google.gwt.dev.SwtHostedModeBase.sleep(SwtHostedModeBase.java:
241)
at com.google.gwt.dev.SwtHostedModeBase.processEvents
(SwtHostedModeBase.java:236)
at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:558)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

Any help is appreciated.

Thank you,
Pavel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---