Access violation exception when calling vtkRenderer::Render()
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The exception occurs on line vtkRenderer.cxx:660: for ( i = 0; i < this->PropArrayCount; i++ ) { this->NumberOfPropsRendered += this->PropArray[i]->RenderOverlay(this); } this->PropArrayCount is 2, but this->PropArray is null
It seems that the exception is a result of not resetting PropArrayCount in vtkRenderer::Render(). The lines 362ff in vtkRenderer.cxx are as follows: if ( this->PropArray) { delete [] this->PropArray; this->PropArray = NULL; }
But PropArrayCount is not set to 0 after this.
The exception occurs on the same object some time after these lines are executed.