Forum

GetPatch Bug

He,

seems getPatch throws exceptions in b27 if the Patch you want to parse is hidden. (see attached patch) - works fine in b26.

m.

GetPatch.zip (3.1 kB)

maybe similar issue, CreateNode is buggy as well. Works one time, then fails. throws a bunch of exceptions (seem to be related to deleting nodes and links), sometimes even kills vvvv with it.

this is the first one of the exceptional bunch

------------------------------------------------------------------------------
Exception log with detailed tech info. Generated on 02.01.2012 18:15:54.
You may send it to the application vendor, helping him to understand what had happened.
 Application title: ïïïï
 Application file: C:\apps\code\vvvv_45beta27\vvvv.exe
------------------------------------------------------------------------------
Exception class: EAccessViolation
Exception message: Access violation at address 60B40068. Read of address 60B40068.
Exception address: 60B40068
------------------------------------------------------------------------------
Main thread ID = 4108
Exception thread ID = 4108
------------------------------------------------------------------------------
Exception stack
Stack list, generated 02.01.2012 18:15:54
(60B3F068){vvvv.exe    } [60B40068](60B40068)
[00680227](00680227){vvvv.exe    } Nodes.TMNode.ReevaluateInnerStatus (Line 1247, "Nodes.pas" + 1)
[00638D33](00638D33){vvvv.exe    } PatchFactory.TMPatch.DeleteNode (Line 2829, "PatchFactory.pas" + 2)
[0068094C](0068094C){vvvv.exe    } Nodes.TMBigNode.FreeComponent (Line 1568, "Nodes.pas" + 12)
[00637A2B](00637A2B){vvvv.exe    } PatchFactory.TMPatch.DeleteNode (Line 2358, "PatchFactory.pas" + 1)
[00637794](00637794){vvvv.exe    } PatchFactory.TMPatch.Destroy (Line 2295, "PatchFactory.pas" + 3)
[0040480C](0040480C){vvvv.exe    } System.TObject.Free
[0064ACAF](0064ACAF){vvvv.exe    } Factories.TMNodeFactory.RemoveNodeInstance (Line 731, "Factories.pas" + 21)
[00638D5A](00638D5A){vvvv.exe    } PatchFactory.TMPatch.DeleteNode (Line 2835, "PatchFactory.pas" + 8)
[0068FF06](0068FF06){vvvv.exe    } Actions.TMAction.hasAttribute (Line 1173, "Actions.pas" + 3)
[00638223](00638223){vvvv.exe    } PatchFactory.TMPatch.PerformDeleteNodeActions (Line 2580, "PatchFactory.pas" + 20)
[00638B05](00638B05){vvvv.exe    } PatchFactory.TMPatch.PerformAction (Line 2746, "PatchFactory.pas" + 19)
[00634424](00634424){vvvv.exe    } PatchFactory.TMPatchClass.PerformActionOnInstances (Line 941, "PatchFactory.pas" + 1)
[00634C46](00634C46){vvvv.exe    } PatchFactory.TMPatchClass.PerformAction (Line 1132, "PatchFactory.pas" + 146)
[006336DA](006336DA){vvvv.exe    } PatchFactory.TMPatchFactory.PerformAction (Line 571, "PatchFactory.pas" + 19)
[00633F03](00633F03){vvvv.exe    } PatchFactory.TMPatchFactory.PerformAction (Line 795, "PatchFactory.pas" + 1)
[0061D5E4](0061D5E4){vvvv.exe    } MainMenu.TMMainMenuFrame.CreateNode (Line 2136, "MainMenu.pas" + 28)
[00494A8F](00494A8F){vvvv.exe    } AnimUtils.Round (Line 514, "AnimUtils.pas" + 1)
[0056E292](0056E292){vvvv.exe    } ValuePins.floattoint (Line 249, "ValuePins.pas" + 2)
[0085D9D6](0085D9D6){vvvv.exe    } PatcherNodes.TMCreateNode.EvaluateCB (Line 201, "PatcherNodes.pas" + 40)
[0068870E](0068870E){vvvv.exe    } Graph.TMPin.Evaluate (Line 2358, "Graph.pas" + 3)
[00689724](00689724){vvvv.exe    } Graph.TMPin.ResizeToNodeSliceCount (Line 2844, "Graph.pas" + 0)
[00688657](00688657){vvvv.exe    } Graph.TMPin.ApplyPrepare (Line 2330, "Graph.pas" + 15)
[00688944](00688944){vvvv.exe    } Graph.TMPin._ValidateAllSlices (Line 2431, "Graph.pas" + 58)
[00686828](00686828){vvvv.exe    } Graph.TMBasicNode.ValidateAllOutputs (Line 1196, "Graph.pas" + 2)
[0085DB4C](0085DB4C){vvvv.exe    } PatcherNodes.TMCreateNode.PrepareGraph (Line 261, "PatcherNodes.pas" + 0)
[00686BA7](00686BA7){vvvv.exe    } Graph.TMBasicNode.PrepareGraphCB (Line 1323, "Graph.pas" + 2)
[0069B6E5](0069B6E5){vvvv.exe    } Events.TMEvent.Call (Line 403, "Events.pas" + 11)
[00698B19](00698B19){vvvv.exe    } MainLoop.TMMainLoop.DoTimer (Line 206, "MainLoop.pas" + 25)
[00508BC6](00508BC6){vvvv.exe    } IdleTimer.TMIdleTimer.AppIdle (Line 165, "IdleTimer.pas" + 46)
[00480B35](00480B35){vvvv.exe    } Forms.TApplication.Idle
[0047FFA7](0047FFA7){vvvv.exe    } Forms.TApplication.HandleMessage
[0048028F](0048028F){vvvv.exe    } Forms.TApplication.Run
[00882F5D](00882F5D){vvvv.exe    } vvvv.vvvv (Line 24, "" + 7)
------------------------------------------------------------------------------
Call stack for main thread
Stack list, generated 02.01.2012 18:15:54

confirm. i have also loads of problems with create node here.

same here.
is it the patchalias node which works with the path´s?

k, the GetPatch one is fixed. please start a new thread for the CreateNode one and include a simple sample (as it works for me with the createnodes helppatch).

big up joreg! will talk to velcrome today anyway.