<div dir="ltr"><div>Paraview version: Paraview 5.0 on Windows 7 64-bit<br><br></div><div>Hello all,<br><br></div><div>I noticed a fairly specific issue and I was hoping if someone could enlighten me as to why it happens.  In the RequestInformation section of a Programmable Filter, I have the following line:<br><br></div><div><span style="font-family:monospace,monospace">if inputs[0].VTKObject.GetCell(0).GetClassName() == 'vtkPolyLine':</span><br><br></div><div>i.e. I'm testing if one of the inputs has a polyline cell.  When I save the state and reload it, Paraview crashes.  Through some testing, I found that the issue is specifically with <br><br></div><div><span style="font-family:monospace,monospace">inputs[0].VTKObject.GetCell(0)</span><br></div><div><br></div>There must be some nuance in the VTK/Paraview pipeline that I'm unaware of that results in a memory issue or something when attempting to retrieve a cell while loading a .pvsm state file.<br><div><br></div><div>The issue should be easily reproduced by creating a sphere, applying a Programmable Filter, and simply typing <span style="font-family:monospace,monospace">inputs[0].VTKObject.GetCell(0)</span> in the Request Information box, saving the state and reloading it.<br><br></div><div>I can get around it, but I wanted to know why it happens to get a better understanding of VTK or Paraview.<br><br></div><div>If you want to know the application: The filter takes in two inputs and only one is time-dependent.  To keep the time-dependence, I needed to figure out which input is the time-dependent one (the one that I know is not a line) and set the time steps and time range of the output information accordingly.<br><br></div><div>Thanks,<br></div><div>Evan Kao<br></div></div>