Re: javascript error (invalid Argument)

2010-01-22 Thread Paul Stockley
Works fine for me on IE 8

-- 
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.



Re: javascript error (invalid Argument)

2010-01-22 Thread John Denley
Thanks Paul, you are quite right, it does work fin in IE8, I just tried it
on another PC, and it works!

So its just IE7 then... hm and G!

2010/1/22 Paul Stockley pstockl...@gmail.com

 Works fine for me on IE 8

 --
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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.



Re: javascript error (invalid Argument)

2010-01-21 Thread John V Denley
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 VDenleyjohnvden...@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 VDenleyjohnvden...@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 VDenleyjohnvden...@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 

Re: javascript error (invalid Argument)

2010-01-21 Thread John V Denley
OK I lied, whilst this fix worked on my local system, and I no longer
get a javascript invalid arguement error.

However as soon as I deploy it live (using GAE to host) it doesnt work
anymore and doesnt give any errors or anything, it just seems to
hang

If anyone wants to try to figure out whats wrong with it, feel free,
you can play with it at: http://demo.ideba.net, remember the problem
is ONLY in IE, it works fine in all other browsers. Also, there is no
need to login, the problem occurs on that first screen...

On Jan 21, 2:46 pm, John V Denley johnvden...@googlemail.com wrote:
 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.h...
 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 VDenleyjohnvden...@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 VDenleyjohnvden...@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 VDenleyjohnvden...@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 VDenleyjohnvden...@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 

Re: javascript error (invalid Argument)

2010-01-20 Thread John V Denley
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 V Denley 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 VDenleyjohnvden...@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 VDenleyjohnvden...@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.




Re: javascript error (invalid Argument)

2010-01-17 Thread John V Denley
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 V Denley 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 VDenleyjohnvden...@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.




Re: javascript error (invalid Argument)

2010-01-10 Thread John V Denley
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 VDenleyjohnvden...@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.




Re: javascript error (invalid Argument)

2010-01-09 Thread John V Denley
If I had any clue how to figure out which of the 6000 odd lines of
code were causing the error!

On Jan 8, 4:39 pm, Chris Ramsdale cramsd...@google.com wrote:
 Hey John,

 Would you be able to narrow it down to a smaller repro case?

 - Chris

 On Thu, Jan 7, 2010 at 5:29 PM, John V Denley 
 johnvden...@googlemail.comwrote:



  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.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
-- 
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.




Re: javascript error (invalid Argument)

2010-01-08 Thread Chris Ramsdale
Hey John,

Would you be able to narrow it down to a smaller repro case?

- Chris

On Thu, Jan 7, 2010 at 5:29 PM, John V Denley johnvden...@googlemail.comwrote:

 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

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.



javascript error (invalid Argument)

2010-01-07 Thread John V Denley
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.




Re: javascript error (invalid Argument)

2010-01-07 Thread Ian Bambury
Hi John,

What version of GWT?

Ian

http://examples.roughian.com


2010/1/7 John V Denley johnvden...@googlemail.com

 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

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.



Re: javascript error (invalid Argument)

2010-01-07 Thread Joe Cole
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 V Denley 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.