Closed dankurka closed 9 years ago
Other browsers run without any issues and show the text "something" on screen.
I cant tell my users to stop using ie6. Its an old browser but many people still use
it nevertheless.
Please suggest a workaround for this issue.
Reported by salvin.francis
on 2010-08-02 04:02:02
4 days and no comments :(
on my end, i tried a lot of things, but i guess that wreched label does not wish to
render itself. Maybe a try-catch block could come to my rescue, but showing a user
a blank portion instead of a Label isnt a viable option,
This bug is indeed a show stopper for me.
Reported by salvin.francis
on 2010-08-06 06:04:29
The same issue we have in IE7 and IE8 (GWT 2.1.0) on window refresh (F5). In Firefox
and Chrome works fine.
The stack trace is a little bit different (I mean another line in BrowserChannelServer.java,
but it might differ because of GWT version):
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error.
number: -2147467259
description: Unspecified error.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
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:214)
at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:619)
Reported by klimskiy
on 2010-12-17 08:21:04
I got a similar exception (description: Unspecified error.) with GWT 2.1.0 on IE8 when
adding an Image to a FlowPanel. When the FlowPanel is first displayed there is no problem,
but if it gets unloaded an loaded again - I get the exception. Digging into the call
trace I saw something about Image$State, so I replaced the Image with an HTML and it
solved my problem.
Reported by guznik
on 2011-01-11 07:11:11
Any chance you've hard coded the user.agent selection property to compile only for a
single browser?
Reported by fredsa@google.com
on 2011-01-19 19:03:06
NeedsInfo
no
Reported by salvin.francis
on 2011-01-19 19:06:59
definitely no
Reported by klimskiy
on 2011-01-19 19:41:15
I'm getting the same exception on IE7:
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error. number:
-2147467259 description: Unspecified error.
If I disable the images with the IE developer toolbar, the exception isn't thrown anymore,
what kind of details would you like Fred ?
Reported by diaz.salvador
on 2011-01-20 12:15:40
More details:
* I can now say with certainty that some images are throwing the exceptions. Each one
of these exception-throwing images is placed in a cell of a ScrollTable (the incubator
version) ie:
scrollTable.getDataTable().setWidget(rowIdx, colIdx, new Image(imgUrl))
* Each one of the above described Images throws the exception (apparently as soon as
IE has finished loading the images, whether from cache or from the remote server)
* The full layout of the Composite in which the images are shown is pretty complicated,
but
* I found a workaround: instead of using Image widgets, I just use ImageElement instead
and this effectively stops the exceptions. Maybe it has something to do with the LoadEvent
handling in the IE permutations ? I remember there was a bug prior to GWT 2.1 that
caused the LoadEvents to misfire sometimes...
Anyway, IE can't die soon enough :(
Reported by diaz.salvador
on 2011-01-20 12:49:02
I get the same exception on ie6, ie7 and ie8, in two different and independent cases
(let's call them A and B).
Case B may involve an Image as in comment #9, but case A clearly doesn't.
I have a really hard time getting a nice stack trace or any context really, IE only
gives me "Anonymous function" (the one returned by entry_0()) and their tools really
suck, even on ie8. Stepping over a JS statement can take around 1 minute in some cases,
with the UI frozen...).
I edited the generated JS and added code to print $location_0[] (although $stackDepth
is 0, so I'm assuming here that the content of $location_0[] is still "relevant", even
though it is technically stale). Here is what I gathered.
Case A: the exception is triggered somewhere in a call to super.onBrowserEvent(event)
in an overloaded MyTextArea.onBrowserEvent() (MyTextArea extends TextArea) (overloaded
to catch the PASTE event, not that it should matter).
Case B: right after the completion of an XHR, I believe somewhere around the call to
the xhr.onload callback. This callback triggers the replacement of an Image by another.
This is similar to comment #9 because the exception is thrown around the time an image
is reinserted after being removed. I do not use a ScrollTable, however.
The app works fine with Chrome, Firefox, Safari.
Reported by eric.rannaud
on 2011-01-23 01:23:54
I am also getting the similar error on IE 8 and GWT 2.2.0-2.3.0. It works fine with
GWT 2.0.4. The cause of the problem is unclear in my situation. It only happens during
refresh or reloading of data. Is there any fix for this issue in GWT?
(CustomUnCaughtExceptionHandler.java:44) 2011-06-28 23:55:48,107 [ERROR] CustomExceptionHandler.
Message : (Error): Unspecified error., Cause : null, LocalizedMessage : (Error): Unspecified
error., StackTrace : [Ljava.lang.StackTraceElement;@1d487b0
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
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:214)
at sun.reflect.GeneratedMethodAccessor57.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:167)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Unknown Source)
Reported by mohanamasa
on 2011-06-29 06:02:41
I am also getting the same exception, any body can give a work around? Thanks in advance!
13:47:07.196 [ERROR] [com.manoj.Account] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error.
number: -2147467259
description: Unspecified error.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
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:214)
at sun.reflect.GeneratedMethodAccessor72.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.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Unknown Source)
Reported by manoj444
on 2011-08-09 16:41:20
Added a sample example to reproduce the issue.
Reported by manoj444
on 2011-08-10 11:31:57
Same error, I am getting
Already checked other forums
- have cleared my cache/history on FF
- no generating JS for any particular browser
00:08:23.604 [ERROR] Uncaught exception escaped
<pre>com.google.gwt.core.client.JavaScriptException: (null): null
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
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:214)
at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:680)</pre>
Reported by shoonya.mohit
on 2011-08-22 17:58:18
On analyzing i found that issue is due to GWT version upgrade, when you compile the
same code using GWT 2.0.3 or less versions, the issue is not reproducible.
Reported by manoj444
on 2011-08-23 05:09:51
I was having
public class foo implements Serializable
{
public enum RequestStatus
{
PROCESSING, VALIDATION_ERROR, OTHER_ERROR, DONE
}
..
..
}
For me error is gone after making enum also Serializable
Reported by shoonya.mohit
on 2011-08-23 05:33:46
according to: http://davidwalsh.name/image-load-event
we seemed to have created a workaround by first creating an Image Object (new Image()),
adding this to an component (comp.add(image)) and lastly set the src url (image.setURL(..)).
Reported by dominik.gaetjens
on 2011-09-02 12:07:36
The exception occurred even when we are not using images also, kindly see the attached
simple example in description, something is changed in the GWT new versions on the
onModuleLoad() implementations, that lead to the issue :)
Reported by manoj444
on 2011-09-03 04:41:27
Suggest updating title of this bug. It is not IE6 only.
Reported by vlewis@aviatorlabs.com
on 2011-09-19 14:34:13
I'm getting the same issue while trying to show the 'Save as' dialog box. Below is the
stac trace
16:07:53.238 [ERROR] [GeoWeb] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
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:214)
at sun.reflect.GeneratedMethodAccessor21.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:167)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Unknown Source)
Reported by ziameraj16
on 2011-11-29 16:19:09
Same issue. Using GWT 2.3. Not sure wat is the exact cause though. The page is getting
reloaded which contains 8-10 images. The [ERROR] Uncaught exception escaped is coming
8 times on just one click. Here is the stack trace :
[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132) at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
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:214)
at sun.reflect.GeneratedMethodAccessor56.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:167)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Unknown Source)
Plz help me out.
Reported by vaxy.dude
on 2011-12-09 09:03:16
What are you giving in title?
Reported by ziameraj16
on 2011-12-09 20:08:50
got the solution..
The issue was with the images.
Below code resulted in error :
imgOpen = new Image(strDisabled);
this.add(imgOpen);
Solution :
imgOpen = new Image();
this.add(imgOpen);
imgOpen.setUrl(strDisabled);
Don't know how but it resolved the issue..
Thanks Ziam for asking..
Reported by vaxy.dude
on 2011-12-10 07:30:46
hey there,
the issue is coming again for some different scenario.
I already implemented this :
imgOpen = new Image();
this.add(imgOpen);
imgOpen.setUrl("discBtn_open.png");
earlier it was :
imgOpen = new Image("discBtn_open.png");
this.add(imgOpen);
which was throwing the exception.
The images are getting reset on --> onClick() event. There are all total 11 different
images. Earlier it was throwing 8 exceptions on single click. Now it is throwing 4
exceptions on single click. The images are getting disabled/enabled on click event.
The difference between the two scenarios:
1. The above mentioned implementation is working fine when all the images are getting
enabled (setEnabled(true).
2. The above mentioned implementation is not good enough to handle the exception when
only one of the 11 images is getting enabled.
Please help me out. Below is the error trace :
[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
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:214)
at sun.reflect.GeneratedMethodAccessor52.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:167)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Unknown Source)
Reported by vaxy.dude
on 2011-12-27 11:30:16
Hi,
any updates on above mentioned issue??
Its kinda urgent. Cannot find any other solution till now.
Please suggest something.
Thanks,
Vivek
Reported by vaxy.dude
on 2012-01-03 14:13:56
Degrade ur gwt version, compile and check.
Javascript exception: 2147467259
Reported by manoj444
on 2012-01-05 21:31:16
Can't degrade GWT version from 2.3 to 1.7. We recently migrated from GWT1.7 to GWT2.3,
Eclipse version 3.5. Please provided some alternative solution. Thanks.
Reported by vaxy.dude
on 2012-01-06 08:50:36
Hi,
You are getting this exception only after upgrading or from before itself?
If not then revert the newly added codes and check(repeat until the
exception goes)
Am sure the problem will be with our code, if find which part of creates
this issue then only you can solve it.
Cheers!
Manoj.
Reported by manoj444
on 2012-01-06 09:18:27
This exception is coming only after upgradation to GWT 2.3. Its working fine on GWT
1.7. The problem seemed to be with Image(str) implementation which i already fixed.
Now, the exception is thrown twice on one click.
Can't find, which piece of code is throwing this exception.
Thanks,
Vivek
Reported by vaxy.dude
on 2012-01-12 14:51:56
Had the same problem here. Finally worked around it by replacing the Image with a
Label and setting a background-image style attribute with the url of the image (and
width and height). This totally solved the problem for us. Adding and removing these
divs from the dom does not cause the exception in IE. For sanity, I put the old code
with the Images back and the exceptions fire every time.
Reported by bobdamit
on 2012-01-20 15:28:11
hey,
got the issue.. the problem was that if u toggle the Image enable/disable more than
once, it was throwing exception.
Reported by vaxy.dude
on 2012-01-25 07:02:59
Had the same issue with GWT 2.3.0 and IE8.
Nothing from the things above could be reproduced at our site.
BUT, luckily: it's fixed in a newer version of GWT.
See http://gwt-code-reviews.appspot.com/1421801
Reported by martin.kirst@hypoport.de
on 2012-09-20 13:51:13
Reported by kurka.daniel
on 2012-12-16 10:23:10
AssumedStale
Reported by kurka.daniel
on 2012-12-16 10:23:45
please use Compatibility View in IE8, I had same issue, when I turned on the Compatibility
View, the issue is solved
Reported by Harryhan
on 2013-11-21 18:22:17
Turning Compatibility View is not permanent solution right? We can insist
all the clients to turn Compatibility view on.
Reported by manoj444
on 2013-11-22 05:44:04
Originally reported on Google Code with ID 5181
Reported by
salvin.francis
on 2010-08-02 03:59:27