DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
337 stars 187 forks source link

Dynamo Crash while running graph (Unhandled Exception) #2354

Open Chrono9084 opened 5 years ago

Chrono9084 commented 5 years ago

If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.

Dynamo version

image

Revit version

image

Operating system

image

What did you do?

Ran a graph. Got a error window which asked me to post here.

What did you expect to see?

The graph work as it has in the past.

What did you see instead?

Unhandled Exception

Object reference not set to an instance of an object.

at ProtoCore.DSASM.Heap.RecursiveMark(StackValue root) at ProtoCore.DSASM.Heap.SingleStep(Boolean forceGC) at ProtoCore.DSASM.Executive.POP_helper(Instruction instruction, Int32& blockId, Int32& dimensions) at ProtoCore.DSASM.Executive.POP_Handler(Instruction instruction) at ProtoCore.DSASM.Executive.Execute(Int32 exeblock, Int32 entry, Language language) at ProtoCore.DSASM.Executive.Execute(Int32 exeblock, Int32 entry, List1 breakpoints, Language language) at ProtoCore.DSASM.Executive.BounceUsingExecutive(Executive executive, Int32 exeblock, Int32 entry, StackFrame stackFrame, Int32 locals, Boolean fepRun, Executive exec, List1 breakpoints) at ProtoScript.Runners.ProtoScriptRunner.ExecuteLive(Core core, RuntimeCore runtimeCore) at ProtoScript.Runners.LiveRunner.Execute(Boolean isCodeCompiled) at ProtoScript.Runners.LiveRunner.CompileAndExecute(List1 astList) at ProtoScript.Runners.LiveRunner.CompileAndExecuteForDeltaExecution(List1 astList) at ProtoScript.Runners.LiveRunner.SynchronizeInternal(GraphSyncData syncData) at ProtoScript.Runners.LiveRunner.UpdateGraph(GraphSyncData syncData) at Dynamo.Scheduler.UpdateGraphAsyncTask.HandleTaskExecutionCore() at Dynamo.Scheduler.AsyncTask.Execute()

AndyDu1985 commented 5 years ago

@Chrono9084 Could upload the .dyn file? And could you do some modification to simplify your graph and find out which node cause the crash? This could help us to find out the root cause.