Announcement

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

    Android error with latest 13.1

    SmartClient Version: SNAPSHOT_v13.1d_2024-06-20/AllModules Development Only (built 2024-06-20)

    Chrome on Redmi note 11 pro - Android 13 TP1A.220624.014 (actual physical device)

    every Galaxy emulator available in Chrome (125.0.6422.142) on MacOS

    Hello, while trying to access the showcase on android I get this error:

    Code:
    RangeError: Maximum call stack size exceeded
        at isc.A.getHeight (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:2186:186)
        at _3.isc_c_Page_getOrientation [as getOrientation] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:2224:108)
        at isc.A.getHeight (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:2190:119)
    ....[cut]
    at isc.A.getHeight (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:2190:119)
        at _3.isc_Canvas_getDelta [as getDelta] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:3933:65)
        at _3.isc_Canvas_resizeTo [as resizeTo] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:3995:394)
        at _3.isc_Canvas_init [as init] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:3392:134)
        at _3.isc_Class_completeCreation [as completeCreation] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:396:6)
        at _3.isc_c_Class_create (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:257:47)
        at showExplorer (showcase/?id=aiGeneratedFieldsAIDE&skin=Shiva&fontIncrease=3&sizeIncrease=10&AI=true:1:9988)
        at eval (eval at isc_c_Class_evaluate (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:287:9), <anonymous>:1:1)
        at Object.isc_c_Class_evaluate [as evaluate] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:287:9)
        at isc.eval (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:510:512)
        at Object.evalSA (ISC_FileLoader.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:97:53)
        at Object.$141o (ISC_FileLoader.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:152:141)
        at Object.$41k (ISC_FileLoader.js?isc_version=SNAPSHOT_v13.1d_2024-06-20.js:151:86)
        at <anonymous>:3224:17
    I also have it in my application:
    Code:
    RangeError: Maximum call stack size exceeded
        at _3.isc_c_Page_getOrientation [as getOrientation] (ISC_Core.js?isc_version=13.1-d20240620.js:2217:89)
        at isc.A.getHeight (ISC_Core.js?isc_version=13.1-d20240620.js:2183:119)

    #2
    Hello, just to note that the problem seems limited to handset devices.

    Comment


      #3
      This regression should be resolved in all affected branches (SC 13.0+) as of the nightly builds dated 2024-06-26.

      Comment


        #4
        SmartClient Version: SNAPSHOT_v13.1d_2024-06-28/Enterprise Development Only (built 2024-06-28)

        I can confirm that now it's working, thank you very much.

        Comment


          #5
          Hello, it seems that there's again this error, but this time limited to the emulator, every android emulator in Chrome, while in FF works in Galaxy S10 emulator, while in the others Android emulator I've got the same error:

          Code:
          Uncaught InternalError: too much recursion
              isc_c_Page_getOrientation https://www-demos.smartclient.com/smartclient-latest/isomorphic/system/modules/ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-08-07.js:2232
              getHeight https://www-demos.smartclient.com/smartclient-latest/isomorphic/system/modules/ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-08-07.js:2198
              isc_c_Page_getOrientation https://www-demos.smartclient.com/smartclient-latest/isomorphic/system/modules/ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-08-07.js:2232
              getHeight https://www-demos.smartclient.com/smartclient-latest/isomorphic/system/modules/ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-08-07.js:2198
              isc_c_Page_getOrientation https://www-demos.smartclient.com/smartclient-latest/isomorphic/system/modules/ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-08-07.js:2232
              getHeight https://www-demos.smartclient.com/smartclient-latest/isomorphic/system/modules/ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-08-07.js:2198

          Comment


            #6
            SmartClient Version: SNAPSHOT_v13.1d_2024-08-10/AllModules Development Only (built 2024-08-10)

            the problem seems fixed with the lates build, thanks

            Comment


              #7
              The issue you reported should be fixed back to SC 12.1+ in the nightly builds dated 2024-08-10 and beyond, but we should point out that you may hit future issues using the "responsive design" mode of Chrome and Firefox, as that emulation is not at the level of dedicated emulators such as those provided by Android Studio (for Android OS) or XCode on Mac OS (for IOS).

              So if you're seeing unexpected behavior, you may want to switch to a dedicated emulator.

              Comment

              Working...
              X