User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17

Thread: Android Crash reports java.lang.ArrayIndexOutOfBoundsException

  1. #11
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    723
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    not sure about the first crash are you using child events in your mfa?

    need more information
    Yes i do use child event and sub-child events.

  2. #12
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,359
    Mentioned
    218 Post(s)
    Tagged
    4 Thread(s)
    a small mfa that repoduce these childs events, not private data here only the idea for me to check what coudl it be happening
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #13
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    723
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    I absolutely don't know what to do in this small MFA you're asking, there is so much line in my game! I don't know what frame or what part to show

    In teh comments it seems that people are experiencing crashes when opening the shop. Since the last build where it seeemed to work i've added a sort of security to be able to get at least one item per group that we haven't already bought (because the shop is totaly random and change every day) that's an example of the longest sub-app i have there that might be responsible of the crash:
    Code:
    * Group "loading" is activated
    + Alterable Value B of loading-icon 3 = 0
    + store-skin-button 1 animation Bouncing is playing
    + store-skin-button 2 animation Bouncing is playing
    
    	+ magnum1 of store-skin-button 1 = 0
    	  OR
    	+ magnum2 of store-skin-button 1 = 0
    	  OR
    	+ magnum3 of store-skin-button 1 = 0
    	  OR
    	+ magnum4 of store-skin-button 1 = 0
    	  OR
    	+ arifle1 of store-skin-button 1 = 0
    	  OR
    	+ arifle2 of store-skin-button 1 = 0
    	  OR
    	+ arifle3 of store-skin-button 1 = 0
    	  OR
    	+ arifle4 of store-skin-button 1 = 0
    	  OR
    	+ brifle1 of store-skin-button 1 = 0
    	  OR
    	+ brifle2 of store-skin-button 1 = 0
    	  OR
    	+ brifle3 of store-skin-button 1 = 0
    	  OR
    	+ brifle4 of store-skin-button 1 = 0
    	  OR
    	+ shotgun1 of store-skin-button 1 = 0
    	  OR
    	+ shotgun2 of store-skin-button 1 = 0
    	  OR
    	+ shotgun3 of store-skin-button 1 = 0
    	  OR
    	+ shotgun4 of store-skin-button 1 = 0
    	  OR
    	+ sniper1 of store-skin-button 1 = 0
    	  OR
    	+ sniper2 of store-skin-button 1 = 0
    	  OR
    	+ sniper3 of store-skin-button 1 = 0
    	  OR
    	+ sniper4 of store-skin-button 1 = 0
    	  OR
    	+ rocket1 of store-skin-button 1 = 0
    	  OR
    	+ rocket2 of store-skin-button 1 = 0
    	  OR
    	+ rocket3 of store-skin-button 1 = 0
    	  OR
    	+ rocket4 of store-skin-button 1 = 0
    	  OR
    	+ laser1 of store-skin-button 1 = 0
    	  OR
    	+ laser2 of store-skin-button 1 = 0
    	  OR
    	+ laser3 of store-skin-button 1 = 0
    	  OR
    	+ laser4 of store-skin-button 1 = 0
    	  OR
    	+ dmr1 of store-skin-button 1 = 0
    	  OR
    	+ dmr2 of store-skin-button 1 = 0
    	  OR
    	+ dmr3 of store-skin-button 1 = 0
    	  OR
    	+ dmr4 of store-skin-button 1 = 0
    	  OR
    	+ magnum6 of store-skin-button 1 = 0
    	  OR
    	+ magnum7 of store-skin-button 1 = 0
    	  OR
    	+ magnum8 of store-skin-button 1 = 0
    	  OR
    	+ magnum9 of store-skin-button 1 = 0
    	  OR
    	+ arifle6 of store-skin-button 1 = 0
    	  OR
    	+ arifle7 of store-skin-button 1 = 0
    	  OR
    	+ arifle8 of store-skin-button 1 = 0
    	  OR
    	+ arifle9 of store-skin-button 1 = 0
    	  OR
    	+ brifle6 of store-skin-button 1 = 0
    	  OR
    	+ brifle7 of store-skin-button 1 = 0
    	  OR
    	+ brifle8 of store-skin-button 1 = 0
    	  OR
    	+ brifle9 of store-skin-button 1 = 0
    	  OR
    	+ shotgun6 of store-skin-button 1 = 0
    	  OR
    	+ shotgun7 of store-skin-button 1 = 0
    	  OR
    	+ shotgun8 of store-skin-button 1 = 0
    	  OR
    	+ shotgun9 of store-skin-button 1 = 0
    	  OR
    	+ sniper6 of store-skin-button 1 = 0
    	  OR
    	+ sniper7 of store-skin-button 1 = 0
    	  OR
    	+ sniper8 of store-skin-button 1 = 0
    	  OR
    	+ sniper9 of store-skin-button 1 = 0
    	  OR
    	+ rocket6 of store-skin-button 1 = 0
    	  OR
    	+ rocket7 of store-skin-button 1 = 0
    	  OR
    	+ rocket8 of store-skin-button 1 = 0
    	  OR
    	+ rocket9 of store-skin-button 1 = 0
    	  OR
    	+ laser6 of store-skin-button 1 = 0
    	  OR
    	+ laser7 of store-skin-button 1 = 0
    	  OR
    	+ laser8 of store-skin-button 1 = 0
    	  OR
    	+ laser9 of store-skin-button 1 = 0
    	  OR
    	+ dmr6 of store-skin-button 1 = 0
    	  OR
    	+ dmr7 of store-skin-button 1 = 0
    	  OR
    	+ dmr8 of store-skin-button 1 = 0
    	  OR
    	+ dmr9 of store-skin-button 1 = 0
    		store-skin 2 : Set Alterable Value A to 0
    		store-skin-button 2 : Set Alterable Value B to 0
    		store-skin-button 2 : Change animation sequence to Stopped

  4. #14
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,359
    Mentioned
    218 Post(s)
    Tagged
    4 Thread(s)
    not sure about this, I will send you a PM with new version of Runtime and Inapp for you to try there.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #15
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,448
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by Dobermann View Post
    I absolutely don't know what to do in this small MFA you're asking, there is so much line in my game! I don't know what frame or what part to show

    In teh comments it seems that people are experiencing crashes when opening the shop. Since the last build where it seeemed to work i've added a sort of security to be able to get at least one item per group that we haven't already bought (because the shop is totaly random and change every day) that's an example of the longest sub-app i have there that might be responsible of the crash:
    Code:
    * Group "loading" is activated
    + Alterable Value B of loading-icon 3 = 0
    + store-skin-button 1 animation Bouncing is playing
    + store-skin-button 2 animation Bouncing is playing
    
    	+ magnum1 of store-skin-button 1 = 0
    	  OR
    	+ magnum2 of store-skin-button 1 = 0
    	  OR
    	+ magnum3 of store-skin-button 1 = 0
    	  OR
    	+ magnum4 of store-skin-button 1 = 0
    	  OR
    	+ arifle1 of store-skin-button 1 = 0
    	  OR
    	+ arifle2 of store-skin-button 1 = 0
    	  OR
    	+ arifle3 of store-skin-button 1 = 0
    	  OR
    	+ arifle4 of store-skin-button 1 = 0
    	  OR
    	+ brifle1 of store-skin-button 1 = 0
    	  OR
    	+ brifle2 of store-skin-button 1 = 0
    	  OR
    	+ brifle3 of store-skin-button 1 = 0
    	  OR
    	+ brifle4 of store-skin-button 1 = 0
    	  OR
    	+ shotgun1 of store-skin-button 1 = 0
    	  OR
    	+ shotgun2 of store-skin-button 1 = 0
    	  OR
    	+ shotgun3 of store-skin-button 1 = 0
    	  OR
    	+ shotgun4 of store-skin-button 1 = 0
    	  OR
    	+ sniper1 of store-skin-button 1 = 0
    	  OR
    	+ sniper2 of store-skin-button 1 = 0
    	  OR
    	+ sniper3 of store-skin-button 1 = 0
    	  OR
    	+ sniper4 of store-skin-button 1 = 0
    	  OR
    	+ rocket1 of store-skin-button 1 = 0
    	  OR
    	+ rocket2 of store-skin-button 1 = 0
    	  OR
    	+ rocket3 of store-skin-button 1 = 0
    	  OR
    	+ rocket4 of store-skin-button 1 = 0
    	  OR
    	+ laser1 of store-skin-button 1 = 0
    	  OR
    	+ laser2 of store-skin-button 1 = 0
    	  OR
    	+ laser3 of store-skin-button 1 = 0
    	  OR
    	+ laser4 of store-skin-button 1 = 0
    	  OR
    	+ dmr1 of store-skin-button 1 = 0
    	  OR
    	+ dmr2 of store-skin-button 1 = 0
    	  OR
    	+ dmr3 of store-skin-button 1 = 0
    	  OR
    	+ dmr4 of store-skin-button 1 = 0
    	  OR
    	+ magnum6 of store-skin-button 1 = 0
    	  OR
    	+ magnum7 of store-skin-button 1 = 0
    	  OR
    	+ magnum8 of store-skin-button 1 = 0
    	  OR
    	+ magnum9 of store-skin-button 1 = 0
    	  OR
    	+ arifle6 of store-skin-button 1 = 0
    	  OR
    	+ arifle7 of store-skin-button 1 = 0
    	  OR
    	+ arifle8 of store-skin-button 1 = 0
    	  OR
    	+ arifle9 of store-skin-button 1 = 0
    	  OR
    	+ brifle6 of store-skin-button 1 = 0
    	  OR
    	+ brifle7 of store-skin-button 1 = 0
    	  OR
    	+ brifle8 of store-skin-button 1 = 0
    	  OR
    	+ brifle9 of store-skin-button 1 = 0
    	  OR
    	+ shotgun6 of store-skin-button 1 = 0
    	  OR
    	+ shotgun7 of store-skin-button 1 = 0
    	  OR
    	+ shotgun8 of store-skin-button 1 = 0
    	  OR
    	+ shotgun9 of store-skin-button 1 = 0
    	  OR
    	+ sniper6 of store-skin-button 1 = 0
    	  OR
    	+ sniper7 of store-skin-button 1 = 0
    	  OR
    	+ sniper8 of store-skin-button 1 = 0
    	  OR
    	+ sniper9 of store-skin-button 1 = 0
    	  OR
    	+ rocket6 of store-skin-button 1 = 0
    	  OR
    	+ rocket7 of store-skin-button 1 = 0
    	  OR
    	+ rocket8 of store-skin-button 1 = 0
    	  OR
    	+ rocket9 of store-skin-button 1 = 0
    	  OR
    	+ laser6 of store-skin-button 1 = 0
    	  OR
    	+ laser7 of store-skin-button 1 = 0
    	  OR
    	+ laser8 of store-skin-button 1 = 0
    	  OR
    	+ laser9 of store-skin-button 1 = 0
    	  OR
    	+ dmr6 of store-skin-button 1 = 0
    	  OR
    	+ dmr7 of store-skin-button 1 = 0
    	  OR
    	+ dmr8 of store-skin-button 1 = 0
    	  OR
    	+ dmr9 of store-skin-button 1 = 0
    		store-skin 2 : Set Alterable Value A to 0
    		store-skin-button 2 : Set Alterable Value B to 0
    		store-skin-button 2 : Change animation sequence to Stopped
    I can reproduce the crash in a simple app with a similar event. It seems the crash is more or less related to the big number of normal and OR conditions in this child event. I haven't found why it crashes yet, it's weird. As a temporary workaround until we fix this issue, try splitting this line into 2 lines with 64 conditions in each line, this should work (well, this works at least in my test app).

    PS: just for info java.lang.ArrayIndexOutOfBoundsException is a generic exception that is triggered when an array is accessed with an out-of-range index. If this error happens in different source lines, that means it's different issues. The 3 logs you mention in your first post are 3 different issues.

  6. #16
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,448
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)
    OK, the crash due to the big number of OR conditions in a child event is fixed, sorry for this issue. I've sent the fix to Fernando, I let him send you a new runtime as he has other changes I haven't.

  7. #17
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    723
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the workaround!

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. app crash after update. java.lang.IllegalStateException
    By Perry in forum Android Export Module 2.5
    Replies: 6
    Last Post: 19th October 2017, 05:09 PM
  2. Users Crash report - java.lang.UnsatisfiedLinkError:
    By macca02 in forum Android Export Module 2.5
    Replies: 4
    Last Post: 2nd November 2014, 08:32 AM
  3. Google Play Crash Report java.lang.ClassNotFoundException
    By Nippe in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 6th November 2013, 01:22 PM
  4. [CRASH] Google Play Crash Report: java.lang.NullPointerException
    By tom79 in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 1st August 2013, 05:08 AM
  5. Google Play Crash Message: java.lang.IllegalArgumentException
    By tom79 in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 22nd July 2013, 02:56 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
  •