[vtkusers] Help: Error running Cone example on Linux, Java
Olivier Jock
Olivier.Jock at gmx.de
Wed Apr 30 03:44:43 EDT 2003
I want use VTK on SuSE Linux 7.3 with Java (Version: jdk 1.4). The
compilation of VTK (Version 4.2.1 and Version 4.2.2) seems to be ok (the
compiled test examples, e.g. TimeRenderer work fine), but when I try to
execute the first java example in the tutorial (Cone.java) I get
everytime the same error.
The error output is as follows:
--------------------------------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4C9E0490
Function=AddHashEntry__12vtkHashTablePvT1+0x60
Library=/opt/Jbuilder8/Jbuilder8/jdk1.4/jre/lib/i386/client/libvtkCommonJava.so
Current Java thread:
at vtk.vtkPolyData.VTKCastInit(Native Method)
at vtk.vtkPolyDataSource.GetOutput_2(Native Method)
at vtk.vtkPolyDataSource.GetOutput(vtkPolyDataSource.java:20)
at Cone.main(Cone.java:46)
Dynamic libraries:
08048000-0804e000 r-xp 00000000 03:04 283724
/opt/Jbuilder8/Jbuilder8/jdk1.4/bin/java
0804e000-0804f000 rw-p 00005000 03:04 283724
/opt/Jbuilder8/Jbuilder8/jdk1.4/bin/java
40000000-40014000 r-xp 00000000 03:04 8861 /lib/ld-2.2.4.so
40014000-40015000 rw-p 00013000 03:04 8861 /lib/ld-2.2.4.so
...
Local Time = Tue Apr 29 15:39:22 2003
Elapsed Time = 136
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1-b21 mixed mode)
#
-----------------------------------------------
I don't know what to do. When debugging the source from Cone.java the
following line is causing the problem:
coneMapper.SetInput( cone.GetOutput() );
I have the impression that something is wrong with cone.GetOutput().
I am glad about any comment regarding this problem.
Thanks
Olivier
More information about the vtkusers
mailing list