FATAL ERROR in JNI code - presumably in the JDIC library

I am using a Java encoded application to track my time on projects.

I used it until IT made a new setup on my station. And now I can not start this application.

I got a log file when I run it saying:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8fd8f5, pid=616, tid=4072
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) Client VM (14.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# V  [jvm.dll+0xfd8f5]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

After some time at Google, I went to the Sun Troubleshooting Guide and ran the application again with -Xcheck:jnithis time argument . As a result, I got this new error:

FATAL ERROR in native method: Wrong object class or methodID passed to JNI call
        at org.jdesktop.jdic.tray.internal.impl.DisplayThread.initTray(Native Method)
        at org.jdesktop.jdic.tray.internal.impl.DisplayThread.run(Unknown Source)
        - locked <0x2801e4e0> (a java.lang.Class for org.jdesktop.jdic.tray.internal.impl.DisplayThread)

I tried to download the latest version of JDIC, ​​but even running my own samples causes me the same error. I think the problem is related to the blocked error message, but I don’t know where to start ...

?

:

  • Windows XP SP3

  • Java 6 (1.6.0_15)

UPDATE

, , , . , , , , java - ... , - .

+3
2

JNI!

, , API , , Java. , , IT-, /DLL/, Java.

0

, , , , .

, . SWIG , , SWIG .

, java , .

0

Source: https://habr.com/ru/post/1714949/


All Articles