[vtkusers] Error from GetCelNeighbors using vtk/Java

Jeff Lee jeff at cdnorthamerica.com
Wed May 22 17:17:54 EDT 2002


Do you have a piece of code which exhibits the problem?
-Jeff

Dale Greer wrote:

>The following code
>
>    int nc = adata.GetNumberOfCells();
>
>    vtkIdList ptIds = new vtkIdList();
>    vtkIdList clIds = new vtkIdList();
>    for (int i = 0; i < nc; i++) {
>     adata.GetCellNeighbors(i, ptIds, clIds);
>    }
>
>Produced this error,
>
>
>An unexpected exception has been detected in native code outside the VM.
>Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x8df0b2f
>Function name=vtkPolyData::GetCellNeighbors
>Library=C:\PROGRA~1\vtk40\bin\vtkCommon.dll
>
>Current Java thread:
> at vtk.vtkPolyData.GetCellNeighbors_10(Native Method)
> at vtk.vtkPolyData.GetCellNeighbors(vtkPolyData.java:52)
> at vrml.com.Conversion.read(Conversion.java:133)
> at vrml.com.Conversion.main(Conversion.java:217)
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>






More information about the vtkusers mailing list