DynamoRevit icon indicating copy to clipboard operation
DynamoRevit copied to clipboard

Crash report from Dynamo 2.6.1.8786

Open 3DReid opened this issue 2 years ago • 4 comments

Issue Description

Still trying to get 2D elements inviews

What did you do?

Trying to get category type from elements in view

What did you expect to see?

A list of category types (model and annotation)

What did you see instead?

All model (even the ones that aren't) then crash

What packages or external references (if any) were used?

GeniusLoci v.2021.6.16 Clockwork v.2.3.0 Rhythm v.2021.6.1 archilab v.2021.25.2621 spring nodes v.204.1.0 Data-Shapes v.2021.2.91

Stack Trace

(From the Dynamo crash window select 'Details' -> 'Copy' and paste here)

Object reference not set to an instance of an object.

at Autodesk.Revit.DB.Category.get_Id() at Revit.Elements.Category.get_Id() at Revit.Elements.Category.GetHashCode() at System.Collections.Generic.Dictionary2.Remove(TKey key) at ProtoFFI.CLRObjectMarshaler.OnDispose(StackValue dsObject, Context context, Interpreter dsi) at ProtoFFI.DisposeFunctionPointer.Execute(Context c, Interpreter dsi, List1 s) at ProtoCore.Lang.FFIFunctionEndPoint.Execute(Context c, List1 formalParameters, StackFrame stackFrame, RuntimeCore runtimeCore) at ProtoCore.CallSite.ExecWithZeroRI(List1 functionEndPoint, Context c, List1 formalParameters, StackFrame stackFrame, RuntimeCore runtimeCore, SingleRunTraceData previousTraceData, SingleRunTraceData newTraceData, FunctionEndPoint finalFep) at ProtoCore.CallSite.Execute(List1 functionEndPoint, Context c, List1 formalParameters, List1 replicationInstructions, StackFrame stackFrame, RuntimeCore runtimeCore) at ProtoCore.CallSite.DispatchNew(Context context, List1 arguments, List1 partialReplicationGuides, DominantListStructure domintListStructure, StackFrame stackFrame, RuntimeCore runtimeCore) at ProtoCore.DSASM.Executive.Callr(Int32 blockDeclId, Int32 functionIndex, Int32 classIndex, Boolean& explicitCall, Boolean isDynamicCall, Boolean hasDebugInfo) at ProtoCore.DSASM.Heap.GCDisposeObject(StackValue svPtr, Executive exe) at ProtoCore.DSASM.Heap.Sweep() at ProtoCore.DSASM.Heap.SingleStep(Boolean forceGC) at ProtoCore.DSASM.Heap.FullGC(IEnumerable1 gcroots, Executive exe) at ProtoScript.Runners.LiveRunner.ApplyUpdate() 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()

OS: Microsoft Windows NT 10.0.19045.0 CLR: 4.0.30319.42000 Dynamo: 2.6.1.8786

3DReid avatar Jun 02 '23 10:06 3DReid

Hello 3DReid, thank you for submitting this issue! We are super excited that you want to help us make Dynamo all that it can be. However, we need some more information in order for the Dynamo team to investigate any further.

Can you please fill in the following to the best of your ability:

  • Dynamo version
  • Operating system.

Additional information:

  • Filling in of the provided Template (What did you do, What did you expect to see, What did you see instead, What packages or external references (if any) were used)
  • Attaching the Stack Trace (Error message that shows up when Dynamo crashes - You can copy and paste this into the Github Issue)
  • Upload a .DYN file that showcases the issue in action and any additional needed files, such as Revit (Note: If you cannot share a project, you can recreate this in a quick mock-up file)
  • Upload a Screenshot of the error messages you see (Hover over the offending node and showcase said errors message in the screenshot)
  • Reproducible steps on how to create the error in question.

github-actions[bot] avatar Jun 02 '23 10:06 github-actions[bot]

Given that there has been no additional information added, this issue will be closed for now. Please reopen and provide additional information if you wish the Dynamo team to investigate further.

github-actions[bot] avatar Jul 03 '23 00:07 github-actions[bot]

This looks like a Revit issue

QilongTang avatar Jul 06 '23 04:07 QilongTang

This may actually be caused by Clockwork. Try upgrading Clockwork to 2.6.0 and see if the issue persists.

andydandy74 avatar Jul 06 '23 07:07 andydandy74