I have a Java program that my predecessor in my position wrote and I am to complete and expand. It uses Jacob 1.16M2 ( on Windows XP 32 Bit) to access a COM control. There are some methods that take several arguments including 2-dimensional arrays in form of com.jacob.com.Variants. Those are created via Viariant.putSafeArray().
Now, whenever I invoke such a method, I get a message like this:
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8fdd45, pid=5384, tid=5372
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode, sharing windows-x86 )
# Problematic frame:
# An error report file with more information is saved as:
# <path to eclipse project>\hs_err_pid5384.log
# If you would like to submit a bug report, please visit:
The log file contains a lot more information, but I can't really make much out of it. This stack trace might be the most helpful (dupeSearch is the method that tries tro invoke the COM method):
Stack: , sp=0x0090f604, free space=13d0090f138k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
I really don't know what to do. Other methods of the API work fine, but these are the ones I need the most. Does anyone have any ideas?
I am also facing the same error with Jacob.dll. Did you get a chance to solve this issue?
Log in to post a comment.