[vtkusers] vtk and java: EXCEPTION_ACCESS_VIOLATION

AFIFI Imane Imane.AFIFI at ifp.fr
Thu Jul 3 11:11:33 EDT 2003


Hi,
when executing a program (in java1.4.1 and vtk4.2.2) with the instruction:

  id = ug.GetPoints().InsertNextPoint(new_point);
  cellule.GetPointIds().InsertNextId(id); // this is line 137 of
SplittedCoord3dPatch2Vtk.java
                       
 
(ug is a vtkUnstructuredGrid and cellule is a vtkHexaedron and new_point is
a double[])

 I have an exception: 

___________________________________________
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x1000853F
Function=[Unknown.]
Library=D:\User\Imane\vtk\vtkCommonJava.dll
NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.
Current Java thread:
        at vtk.vtkCell.GetPointIds_15(Native Method)
        at vtk.vtkCell.GetPointIds(vtkCell.java:72)
        at
org.ifp.g3s.client.tree.SplittedCoord3dPatch2Vtk.getVTKObject(SplittedCoord3
dPatch2Vtk.java:137)
.....
.....
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Dynamic libraries:
0x00400000 - 0x00406000         C:\j2sdk1.4.1_01\jre\bin\java.exe
....
....
0x71DC0000 - 0x71DCA000         C:\WINNT\System32\PSAPI.DLL
Local Time = Thu Jul 03 17:04:22 2003
Elapsed Time = 28
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
#
# An error report file has been saved as hs_err_pid334.log.
# Please refer to the file for further information.
#

----------------------------------------------------------------------------
-----

does anybody have already resolve a similar problem.

thanks for any help.

AFIFI Imane



More information about the vtkusers mailing list