Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception #27

Open
Yanik39 opened this issue Apr 4, 2016 · 0 comments
Open

Unhandled Exception #27

Yanik39 opened this issue Apr 4, 2016 · 0 comments

Comments

@Yanik39
Copy link

Yanik39 commented Apr 4, 2016

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant