Announcement

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

    Application throws an exception when running in Classic Development Mode

    Hi,

    I am getting an HostedModeException exception and app won't start when running in Classic Development Mode, namely:

    com.google.gwt.dev.shell.HostedModeException: invoke arguments: JS value of type string, expected int
    at com.google.gwt.dev.shell.JsValueGlue.getIntRange(JsValueGlue.java:266)

    when running app in Super Development Mode the app starts normally.

    But as we very frequently need to perform deep client side debugging it is necessary for us to run in Classic Development Mode.


    Versions:

    <gwtVersion>2.7.0</gwtVersion>
    <smartgwtGroupId>com.isomorphic.smartgwt.power</smartgwtGroupId>
    <smartgwtVersion>5.0-p20191109</smartgwtVersion>
    <wep.gwt.module>com.wirecard.gwt.wep.Portal</wep.gwt.module>
    <wep.gwt.draftCompile>false</wep.gwt.draftCompile>


    Browser:

    Internet Explorer 11 (ver. 11.1039.17763.0)



    Any help?


    Regards,

    M.


    #2
    Have you tried out client-side debugging with SuperDevMode? The docs go through the process in some detail. Legacy hosted mode should be avoided if you can; that is both our guidance and Google's.

    Regardless we'll check on whether we can get around this new error.

    Comment


      #3
      Sorry, we didn't notice that you did not provide instructions to reproduce the issue. We'll need those.

      Comment


        #4
        Hi,

        thank you for your prompt response. We have already discovered the issue and the issue have been fixed:

        @Value("${piwik.wepSiteId}")
        private String piwikSiteId; --> old
        private Integer piwikSiteId; --> new



        Regards,

        M.

        Comment

        Working...
        X