I finally bit the bullet, and started commenting out huge chunks of my
code, and running the application to see if that got rid of the
problem...

After a few hours of this, I finally narrowed it down to the following
(and similar) line of code:

daygrid.getColumnFormatter().setWidth(col, "0px");

where daygrid was defined as follows:

private Grid daygrid = new Grid(daygridrows, daygridcols);

As soon as I set this to "1px" rather than "0px" the javascript error
went away.

Others might find the following link useful:
http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#Why_is_my_GWT-generated_JavaScript_gibberish?
Id still like to know how to set this setting via eclipse, which im
sure is very simple for someone who knows!

Thanks,
John



On Jan 20, 10:25 pm, John V Denley <johnvden...@googlemail.com> wrote:
> Ive just tried to step through my code painfully one line at a time in
> the eclipse debugger everything seemed to work OK up to the point when
> it was about to start waiting for user interraction (or feasibly when
> it starts trying to "draw" to the screen), then I got the following
> error:
>
> Exception processing async thread queue
>   Exception processing async thread queue
>   org.eclipse.jdt.internal.debug.core.model.JDIClassType cannot be
> cast to org.eclipse.jdt.debug.core.IJavaValue
>
> Not at all helpful.... whats my next steps guys, anyone able to help
> me?...
>
> On Jan 18, 12:08 am, John VDenley<johnvden...@googlemail.com> wrote:
>
>
>
> > Does anyone have any ideas how to debug this javascript problem with
> > IE? or even where to start debugging it?
>
> > Thanks,
> > John
>
> > On Jan 10, 5:25 pm, John VDenley<johnvden...@googlemail.com> wrote:
>
> > > Im not doing any direct DOM assignments, its all pure GWT and CSS (Im
> > > also using GAE) but its all native, im also not using any third party
> > > toolsets/jars etc
>
> > > How did you manage to narrow it down Joe? how did you go about
> > > figuring it out? I have thousands of lines of code, I dont even know
> > > where to begin looking for this error, the only thing I can be sure of
> > > is that I didnt have this problem on the my 1st Dec version, which was
> > > the last version I released for external  testing and that since then
> > > I have upgraded to V2.0....
>
> > > Any help would be greatly appreciated..
>
> > > On Jan 8, 1:39 am, Joe Cole <profilercorporat...@gmail.com> wrote:
>
> > > > I feel your pain. I narrowed this down in our case to an incorrect
> > > > style assignment. From memory I was setting:
>
> > > > DOM.setStyleAttribute("overflowX", "none");
>
> > > > Instead of:
>
> > > > DOM.setStyleAttribute("overflowX", "hidden");
>
> > > > Only in IE was it throwing this exception. I would suggest checking
> > > > your style assignments, it could be the same problem.
>
> > > > Joe
>
> > > > On Jan 8, 11:29 am, John VDenley<johnvden...@googlemail.com> wrote:
>
> > > > > I have just come across the following error when testing my
> > > > > application in IE7, It seems to work fine in Chrome 4.0  and FF 3.5.7
>
> > > > > I have seen several other people having the same problem on this
> > > > > forum, but I cant work out from any of them how I can work out whats
> > > > > wrong with MY application!
>
> > > > > Can anyone give me any clues as to how and where to look to find out
> > > > > where to fix this problem?
>
> > > > > Thanks,
> > > > > John
>
> > > > > 22:04:09.376 [ERROR] [idebanet] Uncaught exception escaped
> > > > > com.google.gwt.core.client.JavaScriptException: (Error): Invalid
> > > > > argument.
> > > > >  number: -2147024809
> > > > >  description: Invalid argument.
> > > > >     at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
> > > > > (BrowserChannelServer.java:195)
> > > > >     at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
> > > > > (ModuleSpaceOOPHM.java:120)
> > > > >     at com.google.gwt.dev.shell.ModuleSpace.invokeNative
> > > > > (ModuleSpace.java:507)
> > > > >     at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
> > > > > (ModuleSpace.java:264)
> > > > >     at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
> > > > > (JavaScriptHost.java:91)
> > > > >     at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
> > > > >     at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
> > > > >     at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
> > > > >     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > > > >     at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >     at com.google.gwt.dev.shell.MethodAdaptor.invoke
> > > > > (MethodAdaptor.java:103)
> > > > >     at com.google.gwt.dev.shell.MethodDispatch.invoke
> > > > > (MethodDispatch.java:71)
> > > > >     at com.google.gwt.dev.shell.OophmSessionHandler.invoke
> > > > > (OophmSessionHandler.java:157)
> > > > >     at com.google.gwt.dev.shell.BrowserChannel.reactToMessages
> > > > > (BrowserChannel.java:1668)
> > > > >     at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
> > > > > (BrowserChannelServer.java:401)
> > > > >     at com.google.gwt.dev.shell.BrowserChannelServer.run
> > > > > (BrowserChannelServer.java:222)
> > > > >     at java.lang.Thread.run(Unknown Source)
-- 
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-tool...@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.


Reply via email to