<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invalid node destroy command in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563815#M65783</link>
    <description>&lt;P&gt;
The classic command is &lt;/P&gt;&lt;PRE&gt;destroyobject(obj node)&lt;/PRE&gt;&lt;P&gt;with dot syntax if it is available:&lt;/P&gt;&lt;PRE&gt;treenode node.destroy() &lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Nov 2017 14:22:24 GMT</pubDate>
    <dc:creator>joerg_vogel_HsH</dc:creator>
    <dc:date>2017-11-10T14:22:24Z</dc:date>
    <item>
      <title>Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563812#M65780</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim HC 5.3.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I keep getting this error randomly and it is hard to replicate. &lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 20:30:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563812#M65780</guid>
      <dc:creator>nicholas_b</dc:creator>
      <dc:date>2017-11-03T20:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563813#M65781</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3423/nicholas.b.html" nodeid="3423"&gt;@Nicholas B&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You need to supply more information about the error, what is happening in the model and a way to reproduce it.  Without your model for testing and eval, there is no way we can tell what is happening in your model or how to fix it.  Any and all information you can give us would be helpful.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:37:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563813#M65781</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2017-11-08T20:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563814#M65782</link>
      <description>&lt;P&gt;There literally is no way to reproduce it because it happens intermittently. I believe it is a memory leak somewhere, but I am just guessing at this point. This error had not popped up since I posted and then last night I got the error. &lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 12:58:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563814#M65782</guid>
      <dc:creator>nicholas_b</dc:creator>
      <dc:date>2017-11-10T12:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563815#M65783</link>
      <description>&lt;P&gt;
The classic command is &lt;/P&gt;&lt;PRE&gt;destroyobject(obj node)&lt;/PRE&gt;&lt;P&gt;with dot syntax if it is available:&lt;/P&gt;&lt;PRE&gt;treenode node.destroy() &lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:22:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563815#M65783</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2017-11-10T14:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563816#M65784</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3423/nicholas.b.html" nodeid="3423"&gt;@Nicholas B&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If you could provide the model, we could attempt to duplicate and debug.&lt;/P&gt;&lt;P&gt;If the model contains sensitive information, you could post it to a new, private question.&lt;/P&gt;&lt;P&gt;You might also look into &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/articles/19380/model-repeatability-14.html" target="_blank"&gt;making sure that your model is repeatable&lt;/A&gt;. This would &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/questions/21144/how-can-i-debug-a-crashing-flexsim-model.html" target="_blank"&gt;help you narrow down what occurs&lt;/A&gt; to cause the error.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 19:01:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563816#M65784</guid>
      <dc:creator>Ben_WilsonADSK</dc:creator>
      <dc:date>2017-11-10T19:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563817#M65785</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Jörg Vogel&lt;/A&gt; There is no dot syntax in FlexSim HC.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 19:16:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563817#M65785</guid>
      <dc:creator>Jacob_Gillespie</dc:creator>
      <dc:date>2017-11-10T19:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563818#M65786</link>
      <description>&lt;P&gt;Here is the latest error message:&lt;/P&gt;
&lt;P&gt;time: 75331.298581 exception: Exception Caught in getpreempt(treenode tasksequence) time: 75331.298581 exception: Exception caught in TreeNode::executememberfunctionwithexceptionhandling() c++/dll execution. Throwing... MAIN:/project/exec/usercommandlist/HC/StandardSelectionPolicy/node c: MAIN:/project/exec/usercommandlist/HC/StandardSelectionPolicy/node thisClass: MAIN:/project/exec/usercommandlist/HC/StandardSelectionPolicy/node time: 75331.298581 exception: Exception caught in flexscript execution of MODEL:/Tech_Surgery&amp;gt;variables/passto line 101 instruction 12. Discontinuing execution. time: 75331.298581 exception: Exception caught in flexscript execution of MODEL:/Tech_Surgery&amp;gt;variables/passto line 101 instruction 12. Discontinuing execution.&lt;/P&gt;
&lt;P&gt;The model crashes. I close out of the model. Open up the model again and everything works as normal. I really think there is some kind of memory leak. Don't ask to replicate it happens randomly.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 17:34:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563818#M65786</guid>
      <dc:creator>nicholas_b</dc:creator>
      <dc:date>2017-11-14T17:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563819#M65787</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3423/nicholas.b.html" nodeid="3423"&gt;@Nicholas B&lt;/A&gt;, if the model is &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/articles/19380/model-repeatability-14.html" target="_blank"&gt;repeatable&lt;/A&gt;, it will fail at the same time, every time. Or at least it would help pinpoint where the model execution starts to differ across model runs, then &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/questions/21144/how-can-i-debug-a-crashing-flexsim-model.html" target="_blank"&gt;debug&lt;/A&gt; that code where runs of the model diverge.&lt;/P&gt;&lt;P&gt;That first link contains suggestions and steps to ensure your model is repeatable. We would be happy to help you with this if you can share the model with us. This is how we we would debug your model if you send it in.&lt;/P&gt;&lt;P&gt;If you cannot send your model, you will need to make your model is repeatable on your own. That first link contains lots of things to check, and a process to go through using the Event Log to ensure it is repeatable.&lt;/P&gt;&lt;P&gt;Without the model, there is no way for us to debug the issue, and you will need to debug on your own, following the suggestions in both links. We are totally happy to help, but without being able to get into the model, we can't do more than offer suggestions, leaving the actual debugging to you.&lt;/P&gt;&lt;P&gt;If you can't share the model, and you don't feel confident in following these steps, please call &lt;A rel="noopener noreferrer" href="https://www.flexsim.com/contact/" target="_blank"&gt;your local FlexSim office&lt;/A&gt;. We can help over the phone or set up a web meeting.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 17:53:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563819#M65787</guid>
      <dc:creator>Ben_WilsonADSK</dc:creator>
      <dc:date>2017-11-14T17:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563820#M65788</link>
      <description>&lt;P&gt;So unfortunately and I wish I could make it repeatable it is not. The error messages are always different and the time/code where it fails is different as well. There is also no randomness in the model so I could run the same model over and over again and never get the error. Then open up the model and will get an error. If I can narrow it down I will update. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 18:32:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563820#M65788</guid>
      <dc:creator>nicholas_b</dc:creator>
      <dc:date>2017-11-14T18:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid node destroy command</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563821#M65789</link>
      <description>&lt;P&gt;So I was able to get a new error code following the crash:&lt;/P&gt;
&lt;P&gt; "Warning: realloc failed: ByteBlock setsize size requested: 2035435776 current size 0"&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 03:39:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/invalid-node-destroy-command/m-p/13563821#M65789</guid>
      <dc:creator>nicholas_b</dc:creator>
      <dc:date>2017-11-16T03:39:34Z</dc:date>
    </item>
  </channel>
</rss>

