It is currently 16 Apr 2024, 17:24
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby Agetian » 24 Sep 2017, 13:28

Ringthane2 wrote:
Agetian wrote:]

Providing the contents of your Forge.log after that happens would help immensely (you can find it under "data" in the Forge installation folder).

- Agetian
Here are the logs. Oddly when it crashes out, the softkeys no longer work on the phone and I need to reboot to make them work again.

(ThreadUtil first call): Running on a machine with 4 cpu core(s)
Language 'java.util.PropertyResourceBundle@569297' loaded successfully.
Read cards: 17244 archived files in 14115 ms (25 parts) using thread pool
Upcoming set Ixalan (XLN) dated in the future. All unaccounted cards will be added to this set with unknown rarity.
Upcoming set Ixalan (XLN) dated in the future. All unaccounted cards will be added to this set with unknown rarity.
This is actually even weirder, since there is no crash report as such. I can't reproduce this on any of my mobile devices either. :/ How exactly does it crash? Does it say that the app has stopped or does it just jump out to the Android "desktop" screen or something?

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby Ringthane2 » 24 Sep 2017, 14:34

Hi, Doesn't say at all, just goes black for a second then jumps out to the Android desktop. Just started with new version.
Ringthane2
 
Posts: 15
Joined: 04 Jul 2017, 13:51
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 24 Sep 2017, 16:00

Ringthane2 wrote:Hi, Doesn't say at all, just goes black for a second then jumps out to the Android desktop. Just started with new version.
Is there any pattern to it? Does it happen during specific actions/operations or completely randomly?

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby Ringthane2 » 24 Sep 2017, 17:11

Did some testing, seems to happen with anything ixalan. Drafting or deck building. Noticed images are slow to load. Suspicious it has something to do with images. I'll remove them and test.
Ringthane2
 
Posts: 15
Joined: 04 Jul 2017, 13:51
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby stormcat » 24 Sep 2017, 20:16

:r35744
opponent B is in turn next to opponent A.
In multiplayer commander game, if I control opponent A by ability and I defeat opponent B, it seems to freeze at next turn.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Ringthane2 » 25 Sep 2017, 02:16

Ringthane2 wrote:Did some testing, seems to happen with anything ixalan. Drafting or deck building. Noticed images are slow to load. Suspicious it has something to do with images. I'll remove them and test.
I shrunk all ixalan pics to 40%, so far no crash es, so I think it was related to the images or their size, I was using images from viewtopic.php?f=15&t=20855&hilit=High+res
Ringthane2
 
Posts: 15
Joined: 04 Jul 2017, 13:51
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby MaxMtg » 25 Sep 2017, 09:24

Description: [Attacking opponent with an faerie rogue token]

NullPointerException | Open
Code: Select all
Forge Version:    1.6.4-SNAPSHOT-r-1
Operating System: Windows 8.1 6.3 amd64
Java Version:     1.8.0_144 Oracle Corporation

java.lang.NullPointerException
   at forge.game.trigger.TriggerDamageDone.performTest(TriggerDamageDone.java:59)
   at forge.game.trigger.TriggerHandler.canRunTrigger(TriggerHandler.java:500)
   at forge.game.trigger.TriggerHandler.runNonStaticTriggersForPlayer(TriggerHandler.java:410)
   at forge.game.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:378)
   at forge.game.trigger.TriggerHandler.runTrigger(TriggerHandler.java:300)
   at forge.game.combat.Combat.dealAssignedDamage(Combat.java:826)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:318)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1004)
   at forge.game.GameAction.startGame(GameAction.java:1574)
   at forge.game.Match.startGame(Match.java:87)
   at forge.match.HostedMatch$2.run(HostedMatch.java:225)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
MaxMtg
 
Posts: 102
Joined: 11 Aug 2017, 16:11
Has thanked: 50 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 25 Sep 2017, 11:22

MaxMtg wrote:Description: [Attacking opponent with an faerie rogue token]

NullPointerException | Open
Code: Select all
Forge Version:    1.6.4-SNAPSHOT-r-1
Operating System: Windows 8.1 6.3 amd64
Java Version:     1.8.0_144 Oracle Corporation

java.lang.NullPointerException
   at forge.game.trigger.TriggerDamageDone.performTest(TriggerDamageDone.java:59)
   at forge.game.trigger.TriggerHandler.canRunTrigger(TriggerHandler.java:500)
   at forge.game.trigger.TriggerHandler.runNonStaticTriggersForPlayer(TriggerHandler.java:410)
   at forge.game.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:378)
   at forge.game.trigger.TriggerHandler.runTrigger(TriggerHandler.java:300)
   at forge.game.combat.Combat.dealAssignedDamage(Combat.java:826)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:318)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1004)
   at forge.game.GameAction.startGame(GameAction.java:1574)
   at forge.game.Match.startGame(Match.java:87)
   at forge.match.HostedMatch$2.run(HostedMatch.java:225)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
This should be fixed in r35765, but if it happens again, please try to Dump Game State so that it's possible to recreate the exact situation where the crash occurs. :)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 25 Sep 2017, 12:03

:r35765
It occured similar bug.

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.6.4-SNAPSHOT-r-1
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_141 Oracle Corporation

java.lang.NullPointerException
   at forge.game.trigger.TriggerDamageDone.performTest(TriggerDamageDone.java:59)
   at forge.game.trigger.TriggerHandler.canRunTrigger(TriggerHandler.java:500)
   at forge.game.trigger.TriggerHandler.runNonStaticTriggersForPlayer(TriggerHandler.java:410)
   at forge.game.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:378)
   at forge.game.trigger.TriggerHandler.runTrigger(TriggerHandler.java:300)
   at forge.game.combat.Combat.dealAssignedDamage(Combat.java:826)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:318)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1004)
   at forge.game.GameAction.startGame(GameAction.java:1574)
   at forge.game.Match.startGame(Match.java:87)
   at forge.match.HostedMatch$2.run(HostedMatch.java:225)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Attachments
capture_003_25092017_210228.jpg
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby WineGuy247 » 25 Sep 2017, 12:15

Continually crashes when AI starts to DA.

Screenshot (1).png
Bug Report
User avatar
WineGuy247
 
Posts: 6
Joined: 13 Sep 2017, 00:54
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 25 Sep 2017, 13:33

WineGuy247 wrote:Continually crashes when AI starts to DA.

Screenshot (1).png
Tried to fix this upstream (r35769).

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 25 Sep 2017, 13:35

stormcat wrote::r35765
It occured similar bug.

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.6.4-SNAPSHOT-r-1
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_141 Oracle Corporation

java.lang.NullPointerException
   at forge.game.trigger.TriggerDamageDone.performTest(TriggerDamageDone.java:59)
   at forge.game.trigger.TriggerHandler.canRunTrigger(TriggerHandler.java:500)
   at forge.game.trigger.TriggerHandler.runNonStaticTriggersForPlayer(TriggerHandler.java:410)
   at forge.game.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:378)
   at forge.game.trigger.TriggerHandler.runTrigger(TriggerHandler.java:300)
   at forge.game.combat.Combat.dealAssignedDamage(Combat.java:826)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:318)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1004)
   at forge.game.GameAction.startGame(GameAction.java:1574)
   at forge.game.Match.startGame(Match.java:87)
   at forge.match.HostedMatch$2.run(HostedMatch.java:225)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
The battlefield position demonstrated shows no cards that would create or receive "Damage Done" triggers, so an actual dumped game state is necessary to fix this if it's not already fixed (if it crashes like that again, click "Continue", then switch to the Dev panel and click "Dump game state", it should let you save a text file with the full game state. Please provide that file for examination, if possible. :)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby WineGuy247 » 25 Sep 2017, 14:46

Description: AI combat crashes constantly when I press EOT.

2017-09-25-00.txt
Buggs
(1.52 KiB) Downloaded 148 times
User avatar
WineGuy247
 
Posts: 6
Joined: 13 Sep 2017, 00:54
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 25 Sep 2017, 15:19

WineGuy247 wrote:Description: AI combat crashes constantly when I press EOT.

2017-09-25-00.txt
Which snapshot revision are you on?
Also, a dumped game state would help a lot (check out the post right above yours).

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 26 Sep 2017, 05:26

:r35772
AI cast Mindbreak Trap, but targeted spell didn't exiled.
Attachments
capture_001_26092017_142224.jpg
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 54 guests


Who is online

In total there are 54 users online :: 0 registered, 0 hidden and 54 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 54 guests

Login Form