v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

Low Health Crash

A place to submit bugs to the Andor's Trail Development Team.
User avatar
rijackson741
Posts: 4447
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Low Health Crash

Post by rijackson741 »

I haven't tried eclipse, but the Android Studio installer installs everything you need. Other than the AT sources, of course. You need a copy of those on your PC, then when you install AS you can import them as a new project. Then you create the emulator, and off you go! I can walk someone through this if necessary.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
Nick
Posts: 43
Joined: Fri Oct 09, 2015 4:34 pm
android_version: 6.0 - Marshmallow

Re: Low Health Crash

Post by Nick »

02-10 12:24:44.225 2585-2585/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.gpl.rpg.AndorsTrail, PID: 2585
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:831)
at com.gpl.rpg.AndorsTrail.controller.MonsterMovementController.moveMonsters(MonsterMovementController.java:31)
at com.gpl.rpg.AndorsTrail.controller.GameRoundController.onNewTick(GameRoundController.java:98)
at com.gpl.rpg.AndorsTrail.controller.GameRoundController.onTick(GameRoundController.java:30)
at com.gpl.rpg.AndorsTrail.util.TimedMessageTask.tick(TimedMessageTask.java:31)
at com.gpl.rpg.AndorsTrail.util.TimedMessageTask.handleMessage(TimedMessageTask.java:26)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

well.... at least it's not an NPE :D
Last edited by Nick on Fri Feb 10, 2017 7:29 pm, edited 1 time in total.
User avatar
Nick
Posts: 43
Joined: Fri Oct 09, 2015 4:34 pm
android_version: 6.0 - Marshmallow

Re: Low Health Crash

Post by Nick »

I just got the logs off android studio since that's what I'm use to. perhaps I'll see if I can pull the code down and fix this error if no one else gets to it first. I wont be looking at it till at least next week I think.
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Low Health Crash

Post by Zukero »

NPEs are easier to solve. I'll look into it.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
Post Reply