Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Unhandled Exception
TemhAAhmeT
#1 Posted : Monday, April 4, 2016 1:54:44 AM(UTC)
TemhAAhmeT

Rank: Member

Groups: Registered
Posts: 19
Man
Location: Berlin

Thanks: 6 times
Hello,

I am using Hearth Ranger and Silverfish latest versions on windows 10 x64.
Everything was ok since months but for last few days i get "Unhandled Exception" error few times.

At Silver.exe screen i get this error text at the end of normal calculations;

deep 4 len 171 dones 5
cut to len 77
ailoop
deep 5 len 76 dones 6
cut to len 31
ailoop
deep 6 len 7 dones 7
cut to len 7

Unhandled Exception:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at HREngine.Bots.PenalityManager.getSpecialCardComboPenalitys(Handcard playedhcard, Minion target, Playfield p, Boolean lethal, Int32 choice)
at HREngine.Bots.PenalityManager.getPlayCardPenality(Handcard hcard, Minion target, Playfield p, Int32 choice, Boolean lethal)
at HREngine.Bots.Movegenerator.getMoveList(Playfield p, Boolean isLethalCheck, Boolean usePenalityManager, Boolean useCutingTargets)
at HREngine.Bots.MiniSimulatorNextTurn.doallmoves(Playfield playf, Boolean isLethalCheck, Boolean print)
at HREngine.Bots.EnemyTurnSimulator.simulateEnemysTurn(Playfield rootfield, Boolean simulateTwoTurns, Boolean playaround, Boolean print, Int32 pprob, Int32 pprob2)
at HREngine.Bots.MiniSimulator.dirtyWorkthread(Object to)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
System.NullReferenceException: Object reference not set to an instance of an object.
at HREngine.Bots.PenalityManager.getSpecialCardComboPenalitys(Handcard playedhcard, Minion target, Playfield p, Boolean lethal, Int32 choice)
at HREngine.Bots.PenalityManager.getPlayCardPenality(Handcard hcard, Minion target, Playfield p, Int32 choice, Boolean lethal)
at HREngine.Bots.Movegenerator.getMoveList(Playfield p, Boolean isLethalCheck, Boolean usePenalityManager, Boolean useCutingTargets)
at HREngine.Bots.MiniSimulatorNextTurn.doallmoves(Playfield playf, Boolean isLethalCheck, Boolean print)
at HREngine.Bots.EnemyTurnSimulator.simulateEnemysTurn(Playfield rootfield, Boolean simulateTwoTurns, Boolean playaround, Boolean print, Int32 pprob, Int32 pprob2)
at HREngine.Bots.MiniSimulator.dirtyWorkthread(Object to)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)

How can i fix this?

Kind regards..
JoyAdmin
#2 Posted : Monday, April 4, 2016 12:31:09 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,849

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
You can simply turn on [switch to default a.i. when silverfish is crashed] on bot control panel.

Or you can setup your dev environment and debug into silverfish's source code to fix it.

TemhAAhmeT
#3 Posted : Monday, April 4, 2016 5:02:36 PM(UTC)
TemhAAhmeT

Rank: Member

Groups: Registered
Posts: 19
Man
Location: Berlin

Thanks: 6 times
JoyAdmin;36793 wrote:
You can simply turn on [switch to default a.i. when silverfish is crashed] on bot control panel.

Or you can setup your dev environment and debug into silverfish's source code to fix it.



Thanks for awesome help
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.052 seconds.