You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the program, I attempt to use rxtx-2.2.2 to connect to my CDC Barcode scanner. After successfully establishing the connection, I proceed to read the barcode, but the following error occurs. Could you please explain why?
This is my error message when start my program
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180005b00, pid=20624, tid=0x0000000000003744
#
# JRE version: OpenJDK Runtime Environment (8.0_432-b06) (build 1.8.0_432-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.432-b06 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [rxtxSerial-amd64-2.2.2.dll+0x5b00]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\ME03A_TouchPanelBRS��\hs_err_pid20624.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/corretto/corretto-8/issues/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
### Platform information
OS: Windows 11 Professional
Version :
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
Eclipse OpenJ9 VM (build openj9-0.20.0, JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20200422_667 (JIT enabled, AOT enabled)
OpenJ9 - 05fa2d361
OMR - d4365f371
JCL - 5e623848e9 based on jdk8u252-b09)
rxtx version: rxtx-2.2.2
##This is my hs_err_pid20624
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180005b00, pid=20624, tid=0x0000000000003744
#
# JRE version: OpenJDK Runtime Environment (8.0_432-b06) (build 1.8.0_432-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.432-b06 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [rxtxSerial-amd64-2.2.2.dll+0x5b00]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# https://github.com/corretto/corretto-8/issues/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x0000029b7cf69800): JavaThread "Thread-2" daemon [_thread_in_native, id=14148, stack(0x000000d5ba800000,0x000000d5ba900000)]
siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffba8ff388
Registers:
RAX=0x0000000000000001, RBX=0x0000000000000000, RCX=0x000000018001d4d5, RDX=0xfffffffffffff665
RSP=0x000000d5ba8fe930, RBP=0x00000000ffffffff, RSI=0x0000000000000000, RDI=0x0000029b7cf69a60
R8 =0x0000000000000002, R9 =0xfffffffffffff63c, R10=0x0000000000000168, R11=0x8101010101010100
R12=0xffffffffba8ff380, R13=0x0000000000000003, R14=0x000000d5ba8feb10, R15=0x0000000000000000
RIP=0x0000000180005b00, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000d5ba8fe930)
0x000000d5ba8fe930: 0000000000000000 ffffffffba8ff380
0x000000d5ba8fe940: 0000000000000000 0000000000000000
0x000000d5ba8fe950: 0000000000000000 000000d5ba8feb10
0x000000d5ba8fe960: 0000029b7fa26640 0000000000000001
0x000000d5ba8fe970: 0000029b7cf69a60 0000000000000003
0x000000d5ba8fe980: ffffffffffffffff 0000000180006211
0x000000d5ba8fe990: 0000029b7d61cb20 ffffffffffffffff
0x000000d5ba8fe9a0: 0000000000000001 0000029b7d61cb20
0x000000d5ba8fe9b0: 0000029b00000003 00000000ffffffff
0x000000d5ba8fe9c0: 000000d5ba8feb18 000000005d51f36b
0x000000d5ba8fe9d0: 000000d5ba8fea00 0000000000000000
0x000000d5ba8fe9e0: 0000029b7cf69800 0000029b7a0b3618
0x000000d5ba8fe9f0: 0000029b7fa26648 0000029b7cf69800
0x000000d5ba8fea00: 0000029b7fa26648 000062ff165663b1
0x000000d5ba8fea10: 0000029b55647b00 0000029b7fa26640
0x000000d5ba8fea20: 0000029b7cf69800 000000d5ba8feb18
Instructions: (pc=0x0000000180005b00)
0x0000000180005ae0: 15 23 7a 01 00 48 8d 48 60 e8 3a 5d 00 00 4c 8b
0x0000000180005af0: e5 8b ac 24 88 00 00 00 44 8b ac 24 80 00 00 00
0x0000000180005b00: 45 8b 74 24 08 41 89 5c 24 08 41 8b fd 85 ed 78
0x0000000180005b10: 09 ff 15 e9 14 01 00 44 8b f8 45 85 ed 7e 4a 90
Register to memory mapping:
RAX=0x0000000000000001 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x000000018001d4d5 is an unknown value
RDX=0xfffffffffffff665 is an unknown value
RSP=0x000000d5ba8fe930 is pointing into the stack for thread: 0x0000029b7cf69800
RBP=0x00000000ffffffff is an unknown value
RSI=0x0000000000000000 is an unknown value
RDI=0x0000029b7cf69a60 is an unknown value
R8 =0x0000000000000002 is an unknown value
R9 =0xfffffffffffff63c is an unknown value
R10=0x0000000000000168 is an unknown value
R11=0x8101010101010100 is an unknown value
R12=0xffffffffba8ff380 is an unknown value
R13=0x0000000000000003 is an unknown value
R14=0x000000d5ba8feb10 is pointing into the stack for thread: 0x0000029b7cf69800
R15=0x0000000000000000 is an unknown value
Stack: [0x000000d5ba800000,0x000000d5ba900000], sp=0x000000d5ba8fe930, free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [rxtxSerial-amd64-2.2.2.dll+0x5b00]
C [rxtxSerial-amd64-2.2.2.dll+0x6211]
C 0x0000029b55659c8e
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j gnu.io.RXTXPort.readArray([BII)I+0
j gnu.io.RXTXPort$SerialInputStream.read([BII)I+298
j gnu.io.RXTXPort$SerialInputStream.read([B)I+91
j org.iii.Load.LoadHome.serialEvent(Lgnu/io/SerialPortEvent;)V+48
j gnu.io.RXTXPort.sendEvent(IZ)Z+806
v ~StubRoutines::call_stub
j gnu.io.RXTXPort.eventLoop()V+0
j gnu.io.RXTXPort$MonitorThread.run()V+20
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000029b7baba800 JavaThread "TimerQueue" daemon [_thread_blocked, id=19700, stack(0x000000d5bb400000,0x000000d5bb500000)]
0x0000029b7bab6800 JavaThread "mysql-cj-abandoned-connection-cleanup" daemon [_thread_blocked, id=12984, stack(0x000000d5bae00000,0x000000d5baf00000)]
0x0000029b7bab6000 JavaThread "Timer-3" [_thread_blocked, id=15472, stack(0x000000d5bad00000,0x000000d5bae00000)]
0x0000029b7bab9000 JavaThread "Timer-2" [_thread_blocked, id=16424, stack(0x000000d5bac00000,0x000000d5bad00000)]
0x0000029b7a0eb000 JavaThread "Timer-1" [_thread_blocked, id=1912, stack(0x000000d5bab00000,0x000000d5bac00000)]
0x0000029b7a0e7800 JavaThread "Timer-0" [_thread_blocked, id=23580, stack(0x000000d5baa00000,0x000000d5bab00000)]
0x0000029b7d011800 JavaThread "Thread-4" [_thread_in_native, id=19888, stack(0x000000d5ba900000,0x000000d5baa00000)]
=>0x0000029b7cf69800 JavaThread "Thread-2" daemon [_thread_in_native, id=14148, stack(0x000000d5ba800000,0x000000d5ba900000)]
0x0000029b53a70800 JavaThread "DestroyJavaVM" [_thread_blocked, id=14056, stack(0x000000d5b7f00000,0x000000d5b8000000)]
0x0000029b7bbdd000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3336, stack(0x000000d5ba700000,0x000000d5ba800000)]
0x0000029b7bbc6800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5756, stack(0x000000d5ba600000,0x000000d5ba700000)]
0x0000029b7bb71800 JavaThread "AWT-Shutdown" [_thread_blocked, id=9256, stack(0x000000d5ba500000,0x000000d5ba600000)]
0x0000029b7b9ab800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=22264, stack(0x000000d5ba400000,0x000000d5ba500000)]
0x0000029b7a146800 JavaThread "Service Thread" daemon [_thread_blocked, id=15772, stack(0x000000d5ba200000,0x000000d5ba300000)]
0x0000029b7a05d000 JavaThread "C1 CompilerThread11" daemon [_thread_blocked, id=21280, stack(0x000000d5ba100000,0x000000d5ba200000)]
0x0000029b7a056000 JavaThread "C1 CompilerThread10" daemon [_thread_blocked, id=11584, stack(0x000000d5ba000000,0x000000d5ba100000)]
0x0000029b7a05c000 JavaThread "C1 CompilerThread9" daemon [_thread_blocked, id=20680, stack(0x000000d5b9f00000,0x000000d5ba000000)]
0x0000029b7a056800 JavaThread "C1 CompilerThread8" daemon [_thread_blocked, id=18164, stack(0x000000d5b9e00000,0x000000d5b9f00000)]
0x0000029b7a05b800 JavaThread "C2 CompilerThread7" daemon [_thread_blocked, id=15008, stack(0x000000d5b9d00000,0x000000d5b9e00000)]
0x0000029b7a05a800 JavaThread "C2 CompilerThread6" daemon [_thread_blocked, id=12688, stack(0x000000d5b9c00000,0x000000d5b9d00000)]
0x0000029b7a05a000 JavaThread "C2 CompilerThread5" daemon [_thread_blocked, id=20792, stack(0x000000d5b9b00000,0x000000d5b9c00000)]
0x0000029b7a059000 JavaThread "C2 CompilerThread4" daemon [_thread_blocked, id=18192, stack(0x000000d5b9a00000,0x000000d5b9b00000)]
0x0000029b7a057800 JavaThread "C2 CompilerThread3" daemon [_thread_blocked, id=22024, stack(0x000000d5b9900000,0x000000d5b9a00000)]
0x0000029b7a058800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=21944, stack(0x000000d5b9800000,0x000000d5b9900000)]
0x0000029b7a04f000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=23468, stack(0x000000d5b9700000,0x000000d5b9800000)]
0x0000029b7a04e000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=24520, stack(0x000000d5b9600000,0x000000d5b9700000)]
0x0000029b7a04a000 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=22196, stack(0x000000d5b9500000,0x000000d5b9600000)]
0x0000029b79e63000 JavaThread "Attach Listener" daemon [_thread_blocked, id=19444, stack(0x000000d5b9400000,0x000000d5b9500000)]
0x0000029b79e62000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=24504, stack(0x000000d5b9300000,0x000000d5b9400000)]
0x0000029b77b44800 JavaThread "Finalizer" daemon [_thread_blocked, id=20772, stack(0x000000d5b9200000,0x000000d5b9300000)]
0x0000029b79df4000 JavaThread "Reference Handler" daemon [_thread_blocked, id=16936, stack(0x000000d5b9100000,0x000000d5b9200000)]
Other Threads:
0x0000029b77b36000 VMThread [stack: 0x000000d5b9000000,0x000000d5b9100000] [id=19836]
0x0000029b7a134800 WatcherThread [stack: 0x000000d5ba300000,0x000000d5ba400000] [id=15348]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
heap address: 0x00000005c7c00000, size: 8068 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x00000007c0000000
Heap:
PSYoungGen total 151040K, used 32762K [0x0000000717f00000, 0x0000000722780000, 0x00000007c0000000)
eden space 129536K, 25% used [0x0000000717f00000,0x0000000719efe978,0x000000071fd80000)
from space 21504K, 0% used [0x000000071fd80000,0x000000071fd80000,0x0000000721280000)
to space 21504K, 0% used [0x0000000721280000,0x0000000721280000,0x0000000722780000)
ParOldGen total 165376K, used 17666K [0x00000005c7c00000, 0x00000005d1d80000, 0x0000000717f00000)
object space 165376K, 10% used [0x00000005c7c00000,0x00000005c8d409b0,0x00000005d1d80000)
Metaspace used 23410K, capacity 23694K, committed 24112K, reserved 1071104K
class space used 2699K, capacity 2820K, committed 2864K, reserved 1048576K
Card table byte_map: [0x0000029b64a00000,0x0000029b659d0000] byte_map_base: 0x0000029b61bc2000
Marking Bits: (ParMarkBitMap*) 0x000000005dc648d0
Begin Bits: [0x0000029b66460000, 0x0000029b6e270000)
End Bits: [0x0000029b6e270000, 0x0000029b76080000)
Polling page: 0x0000029b53a20000
CodeCache: size=245760Kb used=9873Kb max_used=9886Kb free=235886Kb
bounds [0x0000029b55640000, 0x0000029b55ff0000, 0x0000029b64640000]
total_blobs=3198 nmethods=2562 adapters=545
compilation: enabled
Compilation events (10 events):
Event: 48.042 Thread 0x0000029b7a056000 nmethod 2735 0x0000029b55c9c310 code [0x0000029b55c9c460, 0x0000029b55c9c598]
Event: 48.042 Thread 0x0000029b7a05c000 nmethod 2734 0x0000029b55fe41d0 code [0x0000029b55fe4320, 0x0000029b55fe44d8]
Event: 48.043 Thread 0x0000029b7a056800 2736 3 java.nio.Buffer::nextPutIndex (32 bytes)
Event: 48.044 Thread 0x0000029b7a05d000 2737 1 sun.security.ssl.OutputRecord::isClosed (5 bytes)
Event: 48.044 Thread 0x0000029b7a056800 nmethod 2736 0x0000029b55fe3d50 code [0x0000029b55fe3ec0, 0x0000029b55fe40f0]
Event: 48.044 Thread 0x0000029b7a05d000 nmethod 2737 0x0000029b55fe3a90 code [0x0000029b55fe3be0, 0x0000029b55fe3cf8]
Event: 48.044 Thread 0x0000029b7a05b800 nmethod 2732 0x0000029b55feccd0 code [0x0000029b55fece20, 0x0000029b55fed678]
Event: 48.044 Thread 0x0000029b7a056000 2738 3 com.microsoft.sqlserver.jdbc.TDSReader::readUnsignedByte (35 bytes)
Event: 48.044 Thread 0x0000029b7a056000 nmethod 2738 0x0000029b55fe3510 code [0x0000029b55fe3680, 0x0000029b55fe3960]
Event: 48.045 Thread 0x0000029b7a04e000 nmethod 2733 0x0000029b55feab50 code [0x0000029b55feaca0, 0x0000029b55feb5f8]
GC Heap History (4 events):
Event: 9.459 GC heap before
{Heap before GC invocations=1 (full 0):
PSYoungGen total 151040K, used 99787K [0x0000000717f00000, 0x0000000722780000, 0x00000007c0000000)
eden space 129536K, 77% used [0x0000000717f00000,0x000000071e072f98,0x000000071fd80000)
from space 21504K, 0% used [0x0000000721280000,0x0000000721280000,0x0000000722780000)
to space 21504K, 0% used [0x000000071fd80000,0x000000071fd80000,0x0000000721280000)
ParOldGen total 345600K, used 0K [0x00000005c7c00000, 0x00000005dcd80000, 0x0000000717f00000)
object space 345600K, 0% used [0x00000005c7c00000,0x00000005c7c00000,0x00000005dcd80000)
Metaspace used 20787K, capacity 21028K, committed 21296K, reserved 1069056K
class space used 2453K, capacity 2575K, committed 2608K, reserved 1048576K
Event: 9.469 GC heap after
Heap after GC invocations=1 (full 0):
PSYoungGen total 151040K, used 17678K [0x0000000717f00000, 0x0000000722780000, 0x00000007c0000000)
eden space 129536K, 0% used [0x0000000717f00000,0x0000000717f00000,0x000000071fd80000)
from space 21504K, 82% used [0x000000071fd80000,0x0000000720ec3ae0,0x0000000721280000)
to space 21504K, 0% used [0x0000000721280000,0x0000000721280000,0x0000000722780000)
ParOldGen total 345600K, used 18043K [0x00000005c7c00000, 0x00000005dcd80000, 0x0000000717f00000)
object space 345600K, 5% used [0x00000005c7c00000,0x00000005c8d9ec70,0x00000005dcd80000)
Metaspace used 20787K, capacity 21028K, committed 21296K, reserved 1069056K
class space used 2453K, capacity 2575K, committed 2608K, reserved 1048576K
}
Event: 9.469 GC heap before
{Heap before GC invocations=2 (full 1):
PSYoungGen total 151040K, used 17678K [0x0000000717f00000, 0x0000000722780000, 0x00000007c0000000)
eden space 129536K, 0% used [0x0000000717f00000,0x0000000717f00000,0x000000071fd80000)
from space 21504K, 82% used [0x000000071fd80000,0x0000000720ec3ae0,0x0000000721280000)
to space 21504K, 0% used [0x0000000721280000,0x0000000721280000,0x0000000722780000)
ParOldGen total 345600K, used 18043K [0x00000005c7c00000, 0x00000005dcd80000, 0x0000000717f00000)
object space 345600K, 5% used [0x00000005c7c00000,0x00000005c8d9ec70,0x00000005dcd80000)
Metaspace used 20787K, capacity 21028K, committed 21296K, reserved 1069056K
class space used 2453K, capacity 2575K, committed 2608K, reserved 1048576K
Event: 9.492 GC heap after
Heap after GC invocations=2 (full 1):
PSYoungGen total 151040K, used 0K [0x0000000717f00000, 0x0000000722780000, 0x00000007c0000000)
eden space 129536K, 0% used [0x0000000717f00000,0x0000000717f00000,0x000000071fd80000)
from space 21504K, 0% used [0x000000071fd80000,0x000000071fd80000,0x0000000721280000)
to space 21504K, 0% used [0x0000000721280000,0x0000000721280000,0x0000000722780000)
ParOldGen total 165376K, used 17666K [0x00000005c7c00000, 0x00000005d1d80000, 0x0000000717f00000)
object space 165376K, 10% used [0x00000005c7c00000,0x00000005c8d409b0,0x00000005d1d80000)
Metaspace used 20787K, capacity 21028K, committed 21296K, reserved 1069056K
class space used 2453K, capacity 2575K, committed 2608K, reserved 1048576K
}
Deoptimization events (10 events):
Event: 9.516 Thread 0x0000029b7bab6000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000029b55b305a8 method=sun.security.util.math.intpoly.IntegerPolynomial$MutableElement.setProduct(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/intpoly/IntegerPolynomial$Muta
Event: 9.516 Thread 0x0000029b7bab9000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000029b55b305a8 method=sun.security.util.math.intpoly.IntegerPolynomial$MutableElement.setProduct(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/intpoly/IntegerPolynomial$Muta
Event: 9.516 Thread 0x0000029b7bab6000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000029b55c260e8 method=sun.security.util.math.intpoly.IntegerPolynomial$MutableElement.setSum(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/intpoly/IntegerPolynomial$MutableE
Event: 9.516 Thread 0x0000029b7bab9000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000029b55c260e8 method=sun.security.util.math.intpoly.IntegerPolynomial$MutableElement.setSum(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/intpoly/IntegerPolynomial$MutableE
Event: 9.516 Thread 0x0000029b7bab6000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000029b55c260e8 method=sun.security.util.math.intpoly.IntegerPolynomial$MutableElement.setSum(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/intpoly/IntegerPolynomial$MutableE
Event: 9.516 Thread 0x0000029b7bab9000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000029b55b42ca8 method=sun.security.util.math.intpoly.IntegerPolynomial$MutableElement.setSum(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/intpoly/IntegerPolynomial$MutableE
Event: 9.553 Thread 0x0000029b7bab6000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000029b55c93dc0 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 162
Event: 9.553 Thread 0x0000029b7bab6000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000029b55c663e0 method=java.util.HashMap.resize()[Ljava/util/HashMap$Node; @ 206
Event: 9.554 Thread 0x0000029b7bab6000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000029b55b0f38c method=java.util.HashMap.getNode(ILjava/lang/Object;)Ljava/util/HashMap$Node; @ 84
Event: 9.554 Thread 0x0000029b7bab9000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000029b55a8d72c method=java.util.HashMap.getNode(ILjava/lang/Object;)Ljava/util/HashMap$Node; @ 84
Classes redefined (0 events):
No events
Internal exceptions (10 events):
Event: 29.190 Thread 0x0000029b7d011800 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000007197c19f8) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 31.231 Thread 0x0000029b7d011800 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000007197c27c0) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 33.156 Thread 0x0000029b7d011800 Exception <a 'java/net/SocketException': Socket operation on nonsocket: connect> (0x00000007197c35a0) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 35.191 Thread 0x0000029b7d011800 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000007197c4368) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 37.223 Thread 0x0000029b7d011800 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000007197c5130) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 39.169 Thread 0x0000029b7d011800 Exception <a 'java/net/SocketException': Socket operation on nonsocket: connect> (0x00000007197c6450) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 41.188 Thread 0x0000029b7d011800 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000007197c7218) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 43.227 Thread 0x0000029b7d011800 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000007197c7ff8) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 45.180 Thread 0x0000029b7d011800 Exception <a 'java/net/SocketException': Socket operation on nonsocket: connect> (0x00000007197c8dd8) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Event: 47.233 Thread 0x0000029b7d011800 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000007197c9ba0) thrown at [C:\wsjdk\Corretto8Src\installers\windows\zip\corretto-build\buildRoot\hotspot\src\share\vm\prims\jni.cpp, line 739]
Events (10 events):
Event: 45.181 Thread 0x0000029b7a05c000 flushing nmethod 0x0000029b55d14b50
Event: 45.508 Thread 0x0000029b7a05d000 flushing nmethod 0x0000029b55da1350
Event: 48.027 Thread 0x0000029b7cf69800 DEOPT PACKING pc=0x0000029b5596995b sp=0x000000d5ba8fd8f0
Event: 48.027 Thread 0x0000029b7cf69800 DEOPT UNPACKING pc=0x0000029b556875d8 sp=0x000000d5ba8fd610 mode 0
Event: 48.027 Thread 0x0000029b7cf69800 DEOPT PACKING pc=0x0000029b5596995b sp=0x000000d5ba8fd930
Event: 48.027 Thread 0x0000029b7cf69800 DEOPT UNPACKING pc=0x0000029b556875d8 sp=0x000000d5ba8fd650 mode 0
Event: 48.039 Thread 0x0000029b7cf69800 DEOPT PACKING pc=0x0000029b55f5f97c sp=0x000000d5ba8fd9b0
Event: 48.039 Thread 0x0000029b7cf69800 DEOPT UNPACKING pc=0x0000029b556875d8 sp=0x000000d5ba8fd6b8 mode 0
Event: 48.039 Thread 0x0000029b7cf69800 DEOPT PACKING pc=0x0000029b55da65b2 sp=0x000000d5ba8fd780
Event: 48.039 Thread 0x0000029b7cf69800 DEOPT UNPACKING pc=0x0000029b556875d8 sp=0x000000d5ba8fd480 mode 0
Dynamic libraries:
0x00007ff6026a0000 - 0x00007ff6026e6000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\bin\java.exe
0x00007ffe5f110000 - 0x00007ffe5f327000 C:\Windows\SYSTEM32\ntdll.dll
0x00007ffe5df70000 - 0x00007ffe5e034000 C:\Windows\System32\KERNEL32.DLL
0x00007ffe5c4e0000 - 0x00007ffe5c89a000 C:\Windows\System32\KERNELBASE.dll
0x00007ffe5dd50000 - 0x00007ffe5de02000 C:\Windows\System32\ADVAPI32.dll
0x00007ffe5d010000 - 0x00007ffe5d0b7000 C:\Windows\System32\msvcrt.dll
0x00007ffe5e060000 - 0x00007ffe5e107000 C:\Windows\System32\sechost.dll
0x00007ffe5ca60000 - 0x00007ffe5ca88000 C:\Windows\System32\bcrypt.dll
0x00007ffe5cee0000 - 0x00007ffe5cff4000 C:\Windows\System32\RPCRT4.dll
0x00007ffe5db70000 - 0x00007ffe5dd1e000 C:\Windows\System32\USER32.dll
0x00007ffe5cde0000 - 0x00007ffe5ce06000 C:\Windows\System32\win32u.dll
0x00007ffe5dd20000 - 0x00007ffe5dd49000 C:\Windows\System32\GDI32.dll
0x00007ffe5ca90000 - 0x00007ffe5cbab000 C:\Windows\System32\gdi32full.dll
0x00007ffe5c9c0000 - 0x00007ffe5ca5a000 C:\Windows\System32\msvcp_win.dll
0x00007ffe5c8a0000 - 0x00007ffe5c9b1000 C:\Windows\System32\ucrtbase.dll
0x00007ffe4ecd0000 - 0x00007ffe4ef62000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.4541_none_2710d1c57384c085\COMCTL32.dll
0x00007ffe5d6c0000 - 0x00007ffe5d6f1000 C:\Windows\System32\IMM32.DLL
0x00007ffe3e4a0000 - 0x00007ffe3e4b5000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\vcruntime140.dll
0x00007ffe3a230000 - 0x00007ffe3a2cb000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\msvcp140.dll
0x000000005d480000 - 0x000000005dcdd000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\server\jvm.dll
0x00007ffe5e360000 - 0x00007ffe5e368000 C:\Windows\System32\PSAPI.DLL
0x00007ffe29130000 - 0x00007ffe29139000 C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ffe56160000 - 0x00007ffe56194000 C:\Windows\SYSTEM32\WINMM.dll
0x00007ffe4f140000 - 0x00007ffe4f14a000 C:\Windows\SYSTEM32\VERSION.dll
0x00007ffe5d140000 - 0x00007ffe5d1b1000 C:\Windows\System32\WS2_32.dll
0x00007ffe5b4d0000 - 0x00007ffe5b4e8000 C:\Windows\SYSTEM32\kernel.appcore.dll
0x00007ffe416a0000 - 0x00007ffe416b0000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\verify.dll
0x00007ffe3a3c0000 - 0x00007ffe3a3eb000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\java.dll
0x00007ffe322e0000 - 0x00007ffe32312000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\instrument.dll
0x00007ffe3d8e0000 - 0x00007ffe3d8f8000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\zip.dll
0x00007ffe5e850000 - 0x00007ffe5f0c8000 C:\Windows\System32\SHELL32.dll
0x00007ffe5a200000 - 0x00007ffe5ab08000 C:\Windows\SYSTEM32\windows.storage.dll
0x00007ffe5d1c0000 - 0x00007ffe5d54f000 C:\Windows\System32\combase.dll
0x00007ffe5a010000 - 0x00007ffe5a14f000 C:\Windows\SYSTEM32\wintypes.dll
0x00007ffe5d750000 - 0x00007ffe5d84a000 C:\Windows\System32\SHCORE.dll
0x00007ffe5e370000 - 0x00007ffe5e3ce000 C:\Windows\System32\shlwapi.dll
0x00007ffe5c310000 - 0x00007ffe5c33b000 C:\Windows\SYSTEM32\profapi.dll
0x00007ffe32250000 - 0x00007ffe3226a000 C:\Program Files\JetBrains\IntelliJ IDEA 2024.2.4\bin\breakgen64.dll
0x00007ffe32230000 - 0x00007ffe3224c000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\net.dll
0x00007ffe5b940000 - 0x00007ffe5b9a9000 C:\Windows\system32\mswsock.dll
0x00007ffddcf00000 - 0x00007ffddd094000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\awt.dll
0x00007ffe5de10000 - 0x00007ffe5dee7000 C:\Windows\System32\OLEAUT32.dll
0x00007ffe53d20000 - 0x00007ffe53db7000 C:\Windows\SYSTEM32\apphelp.dll
0x00007ffe55f60000 - 0x00007ffe56011000 C:\Windows\system32\uxtheme.dll
0x00007ffe5d850000 - 0x00007ffe5d9b1000 C:\Windows\System32\MSCTF.dll
0x00007ffe5d9c0000 - 0x00007ffe5db65000 C:\Windows\System32\ole32.dll
0x00007ffe5c460000 - 0x00007ffe5c4db000 C:\Windows\System32\bcryptPrimitives.dll
0x00007ffe566a0000 - 0x00007ffe566cb000 C:\Windows\system32\DWMAPI.DLL
0x00007ffde0a70000 - 0x00007ffde0b15000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\freetype.dll
0x00007ffe14590000 - 0x00007ffe145db000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\fontmanager.dll
0x00007ffde1310000 - 0x00007ffde1410000 C:\Windows\system32\opengl32.dll
0x00007ffe415a0000 - 0x00007ffe415cd000 C:\Windows\SYSTEM32\GLU32.dll
0x00007ffe59400000 - 0x00007ffe59437000 C:\Windows\SYSTEM32\dxcore.dll
0x00007ffe31090000 - 0x00007ffe310a3000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\nio.dll
0x0000000180000000 - 0x0000000180025000 C:\Users\morganlu\AppData\Local\Temp\rxtxSerial-amd64-2.2.2.dll
0x00007ffe34ef0000 - 0x00007ffe35035000 C:\Windows\SYSTEM32\textinputframework.dll
0x00007ffe539d0000 - 0x00007ffe53b03000 C:\Windows\SYSTEM32\CoreMessaging.dll
0x00007ffe4f810000 - 0x00007ffe4fb7d000 C:\Windows\SYSTEM32\CoreUIComponents.dll
0x00007ffe5bc10000 - 0x00007ffe5bc1c000 C:\Windows\SYSTEM32\CRYPTBASE.DLL
0x00007ffe5ac90000 - 0x00007ffe5ad92000 C:\Windows\SYSTEM32\DNSAPI.dll
0x00007ffe5ac60000 - 0x00007ffe5ac8d000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x00007ffe5d000000 - 0x00007ffe5d009000 C:\Windows\System32\NSI.dll
0x00007ffe542c0000 - 0x00007ffe542ca000 C:\Windows\System32\rasadhlp.dll
0x00007ffe55560000 - 0x00007ffe555e3000 C:\Windows\System32\fwpuclnt.dll
0x00007ffe043d0000 - 0x00007ffe043e7000 C:\Windows\system32\napinsp.dll
0x00007ffe05df0000 - 0x00007ffe05e0b000 C:\Windows\system32\pnrpnsp.dll
0x00007ffe05e10000 - 0x00007ffe05e21000 C:\Windows\System32\winrnr.dll
0x00007ffe0b250000 - 0x00007ffe0b265000 C:\Windows\system32\wshbth.dll
0x00007ffe043f0000 - 0x00007ffe04417000 C:\Windows\system32\nlansp_c.dll
0x00007ffe5bc30000 - 0x00007ffe5bc4b000 C:\Windows\SYSTEM32\CRYPTSP.dll
0x00007ffe5b430000 - 0x00007ffe5b465000 C:\Windows\system32\rsaenh.dll
0x00007ffe5b9e0000 - 0x00007ffe5ba08000 C:\Windows\SYSTEM32\USERENV.dll
0x00007ffe55600000 - 0x00007ffe55619000 C:\Windows\SYSTEM32\dhcpcsvc6.DLL
0x00007ffe55660000 - 0x00007ffe5567f000 C:\Windows\SYSTEM32\dhcpcsvc.DLL
0x00007ffe5ce30000 - 0x00007ffe5cee0000 C:\Windows\System32\clbcatq.dll
0x00007ffe55d70000 - 0x00007ffe55f20000 C:\Windows\SYSTEM32\WindowsCodecs.dll
0x00007ffe2e890000 - 0x00007ffe2e8ee000 C:\Windows\system32\dataexchange.dll
0x00007ffe50260000 - 0x00007ffe50504000 C:\Windows\system32\twinapi.appcore.dll
0x00007ffe307c0000 - 0x00007ffe307e4000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\sunec.dll
0x00007ffe39e10000 - 0x00007ffe39e1e000 C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\bin\sunmscapi.dll
0x00007ffe5cbb0000 - 0x00007ffe5cd16000 C:\Windows\System32\CRYPT32.dll
0x00007ffe5bd20000 - 0x00007ffe5bd4d000 C:\Windows\SYSTEM32\ncrypt.dll
0x00007ffe5bce0000 - 0x00007ffe5bd17000 C:\Windows\SYSTEM32\NTASN1.dll
0x00007ffe59d40000 - 0x00007ffe59f72000 C:\Windows\SYSTEM32\dbghelp.dll
VM Arguments:
jvm_args: -javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2024.2.4\lib\idea_rt.jar=52203:C:\Program Files\JetBrains\IntelliJ IDEA 2024.2.4\bin -Dfile.encoding=UTF-8
java_command: org.iii.Load.LoadHome
java_class_path (initial): C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\charsets.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\access-bridge-64.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\cldrdata.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\dnsns.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\jaccess.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\jfxrt.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\localedata.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\nashorn.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\sunec.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\sunjce_provider.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\sunmscapi.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\sunpkcs11.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\ext\zipfs.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\jce.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\jfr.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\jfxswt.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\jsse.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\management-agent.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\resources.jar;C:\Users\morganlu\.jdks\corretto-1.8.0_432\jre\lib\rt.jar;D:\ME03A_TouchPanelBRS \out\production\ME03A_TouchPanelBRS ;D:\ME03A_TouchPanelBRS \BRS\UnloadBRS_office.jar;D:\ME03A_TouchPanelBRS \BRS\LoadBRS_formal.jar;D:\ME03A_TouchPanelBRS \BRS\LoadBRS_office.jar;D:\ME03A_TouchPanelBRS \UnloadBRS.jar;D:\ME03A_TouchPanelBRS \load.jar;D:\ME03A_TouchPanelBRS \lib\mysql-connector-java-8.0.26.jar;D:\ME03A_TouchPanelBRS \lib\mssql-jdbc-9.4.0.jre8.jar;D:\ME03A_TouchPanelBRS \lib\junit-4.13.2.jar;D:\ME03A_TouchPanelBRS \lib\hamcrest-core-1.3.jar;D:\ME03A_TouchPanelBRS \lib\ini4j-0.5.4.jar;D:\ME03A_TouchPanelBRS \lib\rxtx-2.2pre2.jar;D:\ME03A_TouchPanelBRS \lib\rxtx-2.2.2.jar;D:\ME03A_TouchPanelBRS
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\AdoptOpenJDK\jdk-8.0.252.09-openj9
PATH=C:\Program Files\AdoptOpenJDK\jdk-8.0.252.09-openj9\bin;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files (x86)\Common Files\Oracle\Java\java8path;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\AdoptOpenJDK\jdk-8.0.252.09-openj9\bin;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Users\morganlu\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\IntelliJ IDEA 2024.2.4\bin;C:\Users\morganlu\.dotnet\tools
USERNAME=morganlu
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 170 Stepping 4, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 11 , 64 bit Build 22621 (10.0.22621.4391)
CPU:total 22 (initial active 22) (11 cores per cpu, 2 threads per core) family 6 model 170 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx
Memory: 4k page, physical 33039440k(17042232k free), swap 38020176k(17941512k free)
vm_info: OpenJDK 64-Bit Server VM (25.432-b06) for windows-amd64 JRE (1.8.0_432-b06), built on Oct 9 2024 03:59:20 by "Administrator" with MS VC++ 15.9 (VS2017)
time: Thu Jan 9 14:06:32 2025
timezone: Intel64 Family 6 Model 170 Stepping 4, GenuineIntel
elapsed time: 48.069590 seconds (0d 0h 0m 48s)
The text was updated successfully, but these errors were encountered:
It seems like you have a mix of 2 different JVMs being used here, one configured with JAVA_HOME and one through IntelliJ.
IntelliJ appears to be using the latest Corretto 8 release
VM Arguments:
jvm_args: -javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2024.2.4\lib\idea_rt.jar=52203:C:\Program Files\JetBrains\IntelliJ IDEA 2024.2.4\bin -Dfile.encoding=UTF-8
java_command: org.iii.Load.LoadHome
however something else has configured Eclipse OpenJ9 v 8u252, from 2020-04.
When I run the program, I attempt to use rxtx-2.2.2 to connect to my CDC Barcode scanner. After successfully establishing the connection, I proceed to read the barcode, but the following error occurs. Could you please explain why?
This is my error message when start my program
The text was updated successfully, but these errors were encountered: