User Tag List

Results 1 to 5 of 5

Thread: Crash when using KcBoxA at Calling OpenGL.CTextSurface.manualDrawTextEllipsis

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    AlanRuno's Avatar
    Join Date
    May 2013
    Posts
    334
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Crash when using KcBoxA at Calling OpenGL.CTextSurface.manualDrawTextEllipsis

    So I'm getting these crash reports just after I updated my app on the store.

    Code:
    java.lang.ArrayIndexOutOfBoundsException: 
      at android.text.StaticLayout.calculateEllipsis (StaticLayout.java:792)
      at android.text.StaticLayout.out (StaticLayout.java:756)
      at android.text.StaticLayout.generate (StaticLayout.java:445)
      at android.text.StaticLayout.<init> (StaticLayout.java:145)
      at android.widget.TextView.makeSingleLayout (TextView.java:6736)
      at android.widget.TextView.makeNewLayout (TextView.java:6589)
      at android.widget.TextView.assumeLayout (TextView.java:6476)
      at android.widget.TextView.onDraw (TextView.java:5547)
      at android.view.View.draw (View.java:15299)
      at OpenGL.CTextSurface.manualDrawTextEllipsis (CTextSurface.java:387)
      at Extensions.CRunKcBoxA.DisplayObject (CRunKcBoxA.java:1029)
      at Extensions.CRunKcBoxA.displayRunObject (CRunKcBoxA.java:735)
      at Objects.CExtension.spriteDraw (CExtension.java:196)
      at Sprites.CSpriteGen.winDrawSprites (CSpriteGen.java:1360)
      at Sprites.CSpriteGen.spriteDraw (CSpriteGen.java:1378)
      at RunLoop.CRun.screen_Update (CRun.java:3032)
      at RunLoop.CRun.f_GameLoop (CRun.java:5483)
      at RunLoop.CRun.doRunLoop (CRun.java:593)
      at Application.CRunApp.loopFrame (CRunApp.java:1052)
      at Application.CRunApp.playApplication (CRunApp.java:782)
      at Application.CRunTimerTask.run (CRunTimerTask.java:51)
      at android.os.Handler.handleCallback (Handler.java:739)
      at android.os.Handler.dispatchMessage (Handler.java:95)
      at android.os.Looper.loop (Looper.java:135)
      at android.app.ActivityThread.main (ActivityThread.java:5431)
      at java.lang.reflect.Method.invoke (Native Method)
      at java.lang.reflect.Method.invoke (Method.java:372)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:914)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:707)

    Seems that the error is triggering on this part of the code:
    Img2.jpg

    As the bugbox is closed, I'm posting here. To see If I can get any advice.

    Thanks.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)
    can you provide me with a small mfa for me to use here, thanks in advance

    forgot to ask for what devices is this happening? model, brand specification
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    AlanRuno's Avatar
    Join Date
    May 2013
    Posts
    334
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello Fernando.
    These are the devices the crash is happening on:

    Moto G (1st Gen) (falcon_umts)
    G3 Stylus (b2lssn)
    K5 (A6020l37)
    LG Leon 4G LTE (c50)
    Z987 (cygni)
    L90 (w7)
    LG G4 Beat (p1bssn)
    LG K10 (m23g)
    ilium_S106 (Ilium_S106)
    LG K7 (m1)
    LG G3 (g3)
    G Pro Lite (luv90ss)
    P8 Lite (hwALE-H)
    AX920 (Bmobile_AX920)
    LG G Stylo (g4stylusn)
    L65 (w55)
    Xperia M2 (D2306)
    G7-L03 (hwG7-L03)
    5017B (Pixi3454GSPR)
    ALCATEL ONE TOUCH 5036A


    The game is way too big to narrow a small mfa for you to try.. I might have to give you the entire source.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    AlanRuno's Avatar
    Join Date
    May 2013
    Posts
    334
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Information:
    Maybe it's because the objects are created far away from the screen at the start of the frame?

    *I have 8 Active System Boxes outside of the screen at the start of the frame.
    Show1.jpg

    *I run a for-each loop, and read it's index.
    Show2.jpg

    *I change position and text in the runtime. (I don't think these should be causing any problems)
    Show3.jpg

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,051
    Mentioned
    131 Post(s)
    Tagged
    3 Thread(s)
    send me a small mfa by PM for me to test

    meanwhile try unchecking "Destroy object if too far from frame"
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. app crash when calling google places photo api
    By haoujey in forum Fusion 2.5
    Replies: 0
    Last Post: 19th May 2018, 10:53 PM
  2. [KcBoxA] Google play crash
    By AlanRuno in forum Android Export Module 2.5
    Replies: 4
    Last Post: 23rd May 2016, 09:15 PM
  3. Crash open Opengl exemple
    By matte in forum Fusion 2.5
    Replies: 5
    Last Post: 2nd August 2015, 07:06 PM
  4. OpenGL Full pack! All OpenGL extensions for download
    By BtheDestroyer in forum Released Extensions
    Replies: 7
    Last Post: 6th April 2014, 10:00 AM
  5. KcBoxA.mfx
    By ToffeeandPebbles in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 31st December 2007, 08:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •