Re: [gwt-log] Uncaught exception in java.lang.Throwable.fillInStackTrace

869 views
Skip to first unread message

Fred Sauer

unread,
Jun 18, 2013, 5:12:21 PM6/18/13
to gwt...@googlegroups.com
Any chance you built the GWT app with a hard coded user agent?


On Mon, Jun 17, 2013 at 5:37 AM, Ken Kahn <toon...@gmail.com> wrote:
If I understand the following log entry then there was an error in reporting an error. Note this app uses no native JavaScript. Pure Java and GWT (2.5.1). I'm using gwt-log 3.2.1. I use

Log.setUncaughtExceptionHandler();

Or perhaps I'm misunderstanding but this entry doesn't seem to provide any useful information.

  1. 2013-06-17 12:18:17.076 /expresser/gwt-log 200 58ms 2kb Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)
    144.82.34.225 - - [17/Jun/2013:04:18:17 -0700] "POST /expresser/gwt-log HTTP/1.1" 200 2987 "http://web-expresser.appspot.com/e/index.html?model=iejpe002f&contextKey=IOE-PGCE-13-WL-1&activity=http://dl.dropboxusercontent.com/u/15433946/my-migen-activities/happyface-activity.xml" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)" "web-expresser.appspot.com" ms=59 cpu_ms=21 cpm_usd=0.000334 app_engine_release=1.8.1 instance=00c61b117c2146c8eb2b0bcd992b8617b42e77b6
  2. E2013-06-17 12:18:17.074
    com.allen_sauer.gwt.log.server.ServerLogImplJDK14 log: Uncaught Exception:
    com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
     description: Unable to get value of the property 'rb': object is null or undefined
     number: -2146823281: Unable to get value of the property 'rb': object is null or undefined
    	at java.lang.Throwable.fillInStackTrace(Throwable.java:71)
    	at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
    	at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:70)
    	at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25)
    	at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117)
    	at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127)
    	at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:102)
    	at com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163)
    	at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163)
    	at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1302)
    	at Unknown.anonymous(Unknown Source)
    	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:186)
    	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:225)
    	at Unknown.anonymous(Unknown Source)
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
     description: Unable to get value of the property 'rb': object is null or undefined
     number: -2146823281: Unable to get value of the property 'rb': object is null or undefined
    
  3. E2013-06-17 12:18:17.074
    com.allen_sauer.gwt.log.server.ServerLogImplJDK14 log: Uncaught Exception:
    com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
     description: Unable to get value of the property 'rb': object is null or undefined
     number: -2146823281: Unable to get value of the property 'rb': object is null or undefined
    	at java.lang.Throwable.fillInStackTrace(Throwable.java:71)
    	at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
    	at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:70)
    	at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25)
    	at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117)
    	at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127)
    	at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:102)
    	at com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163)
    	at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163)
    	at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1302)
    	at Unknown.anonymous(Unknown Source)
    	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:186)
    	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:225)
    	at Unknown.anonymous(Unknown Source)
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
     description: Unable to get value of the property 'rb': object is null or undefined
     number: -2146823281: Unable to get value of the property 'rb': object is null or undefined
    
  4. E2013-06-17 12:18:17.074
    com.allen_sauer.gwt.log.server.ServerLogImplJDK14 log: Uncaught Exception:
    com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
     description: Unable to get value of the property 'rb': object is null or undefined
     number: -2146823281: Unable to get value of the property 'rb': object is null or undefined
    	at java.lang.Throwable.fillInStackTrace(Throwable.java:71)
    	at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
    	at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:70)
    	at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25)
    	at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117)
    	at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127)
    	at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:102)
    	at com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163)
    	at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163)
    	at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1302)
    	at Unknown.anonymous(Unknown Source)
    	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:186)
    	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:225)
    	at Unknown.anonymous(Unknown Source)
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
     description: Unable to get value of the property 'rb': object is null or undefined
     number: -2146823281: Unable to get value of the property 'rb': object is null or undefined

--
You received this message because you are subscribed to the Google Groups "gwt-log" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-log+u...@googlegroups.com.
To post to this group, send email to gwt...@googlegroups.com.
Visit this group at http://groups.google.com/group/gwt-log.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Fred Sauer
fre...@gmail.com

Ken Kahn

unread,
Jun 19, 2013, 11:02:09 AM6/19/13
to gwt...@googlegroups.com
Hi.

Thanks for your response.

I have two module definitions. The release version does not hard code user agent. The relevant parts are

    <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
    <set-property name="log_DivLogger" value="DISABLED" />
    <inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" /> 

I also have a development version that 

 <set-property name="user.agent" value="gecko1_8,safari,ie9" />

But I assume that when I deploy (using the Eclipse plugin)  that nothing left over from development could cause this. It does, for example, load fine into Opera.

Best,

-ken

Fred Sauer

unread,
Jun 19, 2013, 9:17:48 PM6/19/13
to gwt...@googlegroups.com

Make sure that the compiled JavaScript is actually the version intended for the browser (user agent) you get this error on. If not, the JavaScript exception handling code is not going to work :-)

Reply all
Reply to author
Forward
0 new messages