- Platform information:
- OS:Windows 10 20H2
- Java Runtime Environment: oracle java 1.8.0_261
- openHAB version: 2.3.0
- Issue of the topic:
Installed Serial binding 1.12.0 but getting following error:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006af4753d, pid=13368, tid=0x0000000000001918
JRE version: Java™ SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)
Java VM: Java HotSpot™ 64-Bit Server VM (25.261-b12 mixed mode windows-amd64 compressed oops)
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:
If you would like to submit a bug report, please visit:
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
This is rather old.
I am using this version for quite some time, Can you help me with the issue?
What did you set your EXTRA_JAVA_OPTS to?
Are you using 64-bit Java? Not supported by OH2 - mostly due to serial problems as it happens.
I have not set any extra opts.
Yes, it is 64bit version.
Trying with older version of java, will update you soon.
Issue is resolved after changing the the java version to 1.8.0_172,64-bit.