Android Question Getting an error message after Activity_Pause

NeoTechni

Well-Known Member
Licensed User
Longtime User
java.lang.ArrayIndexOutOfBoundsException: length=18; index=-1

I've commented out all code in activity_pause, and left only "Log("Activity_Pause: " & PausedAt)"

That runs fine, I get an error message popping up while it closes, nothing shows in the unfiltered logs about which sub it's in. It's driving me nuts cause it neuters all of my code after that

And, it only happens in debug mode
 

LucaMs

Expert
Licensed User
Longtime User
Could be some service?

I'm not sure, but that "length=18" maybe means that there is an array of 18 items, so I would search for it.

(but wait for an Erel' response: he knows a little bit better than me the difference between debug and release modes )
 
Upvote 0

NeoTechni

Well-Known Member
Licensed User
Longtime User
That is the full one from the logs.
Hence the problem.

I just updated to the newest version too.
 
Upvote 0

NeoTechni

Well-Known Member
Licensed User
Longtime User
The error message pops up as the activity closes, and the program continues on its merry way. But the panels I make in the activity I switch to won't respond to touch events
 
Upvote 0

NeoTechni

Well-Known Member
Licensed User
Longtime User
ABextdrawing 1.10
AndroidResources (that looks new... I don't recognize it) 1.60
Animation 1.02
BetterDialogs 1.30
BroadcastReciever 1.00
Core 3.80
Dialogs 2.70
JavaObject 1.25
MediaController 1.00 (the one I made)
Network 1.25
OSLibrary 1.30
Phone 2.25
Reflection 2.40
RotationManager 1.00
ToggleLibrary 1.00
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…