[vtkusers] FW: VTK and JAVA
Chandran Ramu
chandran.ramu at quest-global.com
Wed Jun 25 02:26:05 EDT 2003
Hi All,
I am using VTK 4.2 with Java 1.4.1_02 on Windows NT 4.0. I am
using vtkCanvas along with Swing components. My application often crashes
saying that the vtkCanvas is locked. This happens in the Render() method
call of vtkCanvas(most of the times when I remove actors from vtkRenderer
and add new actors). I went through the user's archive and as suggested in
that, I never make direct call to vtkRenderWindow.Render(). But still the
problem persists. Can somebody please help me. below is the error message
Thanks
Ramu
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x246B0F14
Function=vtkFileOutputWindow::NewInstance+0x884E9
Library=C:\WINNT\system32\vtkCommon.dll
Current Java thread:
at vtk.vtkRenderWindow.Render_6(Native Method)
at vtk.vtkRenderWindow.Render(vtkRenderWindow.java:36)
at vtk.vtkPanel.Render(vtkPanel.java:141) //Here vtkPanel.java calls
rw.Render() with proper locking
- locked <1149E818> (a VTKWindow)
at VTKWindow.displayChanged(VTKWindow.java:272)
at VTKWindow.fireDisplayChanged(VTKModel.java:761)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:150)
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:\WINNT\system32\java.exe
0x77F60000 - 0x77FBE000 C:\WINNT\System32\ntdll.dll
0x77DC0000 - 0x77DFF000 C:\WINNT\system32\ADVAPI32.dll
0x77F00000 - 0x77F5E000 C:\WINNT\system32\KERNEL32.dll
0x77E70000 - 0x77EC5000 C:\WINNT\system32\USER32.dll
0x77ED0000 - 0x77EFC000 C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E67000 C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x10000000 - 0x10018000 C:\WINNT\system32\NVDESK32.DLL
0x6D340000 - 0x6D46A000 C:\Program
Files\Java\j2re1.4.1_02\bin\client\jvm.dll
0x77FD0000 - 0x77FFA000 C:\WINNT\system32\WINMM.dll
0x6D1E0000 - 0x6D1E7000 C:\Program Files\Java\j2re1.4.1_02\bin\hpi.dll
0x6D310000 - 0x6D31E000 C:\Program Files\Java\j2re1.4.1_02\bin\verify.dll
0x6D220000 - 0x6D239000 C:\Program Files\Java\j2re1.4.1_02\bin\java.dll
0x6D330000 - 0x6D33D000 C:\Program Files\Java\j2re1.4.1_02\bin\zip.dll
0x6D000000 - 0x6D105000 C:\Program Files\Java\j2re1.4.1_02\bin\awt.dll
0x77C00000 - 0x77C18000 C:\WINNT\system32\WINSPOOL.DRV
0x76AB0000 - 0x76AB5000 C:\WINNT\system32\IMM32.dll
0x77B20000 - 0x77BD7000 C:\WINNT\system32\ole32.dll
0x24540000 - 0x24618000 C:\WINNT\system32\vtkCommonJava.dll
0x24620000 - 0x24847000 C:\WINNT\system32\vtkCommon.dll
0x24850000 - 0x24867000 C:\WINNT\system32\MSVCIRTD.dll
0x24870000 - 0x248D0000 C:\WINNT\system32\MSVCRTD.dll
0x248D0000 - 0x2494E000 C:\WINNT\system32\MSVCP60D.dll
0x24A60000 - 0x24A90000 C:\WINNT\system32\vtkFilteringJava.dll
0x24A90000 - 0x24B1E000 C:\WINNT\system32\vtkFiltering.dll
0x24B20000 - 0x24B76000 C:\WINNT\system32\vtkIOJava.dll
0x24B80000 - 0x24E6E000 C:\WINNT\system32\vtkIO.dll
0x24E70000 - 0x24EA1000 C:\WINNT\system32\vtkpng.dll
0x24EB0000 - 0x24EC9000 C:\WINNT\system32\vtkzlib.dll
0x24ED0000 - 0x24F01000 C:\WINNT\system32\vtkjpeg.dll
0x24F10000 - 0x24F72000 C:\WINNT\system32\vtktiff.dll
0x24F80000 - 0x24FB1000 C:\WINNT\system32\vtkexpat.dll
0x24FC0000 - 0x25027000 C:\WINNT\system32\vtkImagingJava.dll
0x25030000 - 0x2537E000 C:\WINNT\system32\vtkImaging.dll
0x25380000 - 0x2544C000 C:\WINNT\system32\vtkGraphicsJava.dll
0x25450000 - 0x257F2000 C:\WINNT\system32\vtkGraphics.dll
0x25800000 - 0x258A1000 C:\WINNT\system32\vtkRenderingJava.dll
0x258B0000 - 0x25BBD000 C:\WINNT\system32\vtkRendering.dll
0x755B0000 - 0x75678000 C:\WINNT\system32\OPENGL32.dll
0x76C80000 - 0x76CA2000 C:\WINNT\system32\GLU32.dll
0x77160000 - 0x77167000 C:\WINNT\system32\DCIMAN32.dll
0x25BC0000 - 0x25BD2000 C:\WINNT\system32\vtkftgl.dll
0x25BE0000 - 0x25C4D000 C:\WINNT\system32\vtkfreetype.dll
0x6D240000 - 0x6D245000 D:\Apps\jdk1.4\jre\bin\jawt.dll
0x27C20000 - 0x27C83000 C:\WINNT\system32\vtkHybridJava.dll
0x27C90000 - 0x27E98000 C:\WINNT\system32\vtkHybrid.dll
0x27EA0000 - 0x27EC8000 C:\WINNT\system32\vtkParallelJava.dll
0x27ED0000 - 0x27F98000 C:\WINNT\system32\vtkParallel.dll
0x776D0000 - 0x776D8000 C:\WINNT\system32\WSOCK32.dll
0x776B0000 - 0x776C4000 C:\WINNT\system32\WS2_32.dll
0x776A0000 - 0x776A7000 C:\WINNT\system32\WS2HELP.dll
0x6D190000 - 0x6D1E0000 C:\Program
Files\Java\j2re1.4.1_02\bin\fontmanager.dll
0x77130000 - 0x77156000 C:\WINNT\system32\ddraw.dll
0x6D290000 - 0x6D2AE000 C:\Program Files\Java\j2re1.4.1_02\bin\jpeg.dll
0x2A270000 - 0x2A277000 D:\Apps\AOL\idlemon.dll
0x71300000 - 0x71306000 C:\WINNT\system32\MSIDLE.DLL
0x6D140000 - 0x6D162000 C:\Program Files\Java\j2re1.4.1_02\bin\dcpr.dll
0x77C40000 - 0x77D7C000 C:\WINNT\system32\shell32.dll
0x71780000 - 0x7180A000 C:\WINNT\system32\COMCTL32.dll
0x77A40000 - 0x77A4D000 C:\WINNT\system32\ntshrui.dll
0x77800000 - 0x7783A000 C:\WINNT\system32\NETAPI32.dll
0x77840000 - 0x77849000 C:\WINNT\system32\NETRAP.dll
0x777E0000 - 0x777ED000 C:\WINNT\system32\SAMLIB.dll
0x77BF0000 - 0x77BF7000 C:\WINNT\system32\rpcltc1.dll
0x77720000 - 0x77731000 C:\WINNT\system32\mpr.dll
0x777F0000 - 0x777FC000 C:\WINNT\System32\ntlanman.dll
0x77890000 - 0x778A5000 C:\WINNT\system32\NETUI0.dll
0x77850000 - 0x7788A000 C:\WINNT\system32\NETUI1.dll
0x69500000 - 0x6968A000 C:\WINNT\system32\nvoglnt.dll
0x76AC0000 - 0x76ADD000 C:\WINNT\system32\imagehlp.dll
0x71DC0000 - 0x71DCA000 C:\WINNT\system32\PSAPI.DLL
Local Time = Wed Jun 25 11:09:57 2003
Elapsed Time = 68
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
#
More information about the vtkusers
mailing list