Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    com.google.gwt.core.client.JavaScriptException: (TypeError)

    Hello,
    I'm using smartGWT 5.0p version and GWT 2.5.1 on IE11.
    I'm encountered sometimes an error like this :
    com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property '_b' of null
    at Unknown.Aab(StackTraceCreator.java:174)
    at Unknown.v8(StackTraceCreator.java:508)
    ..................

    The same applied also for the following properties : "getDataSource", "a", "tM".

    Can you give me a hint regarding this?

    Sometimes stacktrace come from a line like this:
    SelectItem filterCombo;....
    filterCombo.setValue(" "); this is the line AMSPresenter.java:223

    and the complete exception is:
    com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Die Eigenschaft "getDataSource" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
    at Unknown.uab(StackTraceCreator.java:174)
    at Unknown.Mv(StackTraceCreator.java:508)
    at Unknown.Vbb(UmbrellaException.java:71)
    at Unknown.Ybb(UmbrellaException.java:26)
    at Unknown.tbb(UmbrellaException.java:90)
    at Unknown.Vj(Widget.java:129)
    at Unknown.bk(Widget.java:127)
    at Unknown.anonymous(ListGrid.java:13793)
    at Unknown.H9(Impl.java:189)
    at Unknown.K9(Impl.java:242)
    at Unknown.anonymous(Impl.java:70)
    at Unknown.anonymous(ListGrid.java:13802)
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Die Eigenschaft "getDataSource" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
    at Unknown.uab(StackTraceCreator.java:174)
    at Unknown.p8(StackTraceCreator.java:508)
    at Unknown.uIb(Exceptions.java:29)
    at Unknown.Xxc(FormItem.java:6312)
    at Unknown.Aw(AMSPresenter.java:223)
    at Unknown.NGc(FilterEditorSubmitEvent.java:110)
    at Unknown.Cbb(SimpleEventBus.java:194)
    at Unknown.tbb(HandlerManager.java:127)
    at Unknown.Vj(Widget.java:129)
    at Unknown.bk(Widget.java:127)
    at Unknown.anonymous(ListGrid.java:13793)
    at Unknown.H9(Impl.java:189)
    at Unknown.K9(Impl.java:242)
    at Unknown.anonymous(Impl.java:70)
    at Unknown.anonymous(ListGrid.java:13802)

    other time from this line: this.getDataSource().fetchData(criteria, callback);

    I didn't encountered such a problem with the oldest version of smartGWT
    Any idea would be appreciated.
    Thank you very much.

    #2
    See the FAQ and the Debugging overview in the JavaDoc for basics of how to troubleshoot JavaScript errors.

    You should also make sure you are using the latest fully patched build of whatever version you're using (see smartclient.com/builds).

    Further, it sounds like you may be upgrading to 5.0 from a previous SmartGWT version. It makes no sense to do this; if you are going to update you should update to 6.0, or at the very least, to 5.1.

    Comment

    Working...
    X