GXSerial uncaught exception in JRE

6 posts / 0 new
Last post
eugenephua
GXSerial uncaught exception in JRE

I am using the Gurux DLMS client example in Java (gurux.dlms.client.example.java). I have specified the required input parameters and it was able to read meter. However, when closing the serial port, there is always a Java exception error generating a hs_err_pidxxxx.log.

The meter model is from TESSERACT and I am using Windows 10 (64bit).

The header contents of the log is:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x75fb2c92, pid=6764, tid=0x0000179c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_211-b12) (build 1.8.0_211-b12)
# Java VM: Java HotSpot(TM) Client VM (25.211-b12 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [KERNELBASE.dll+0x112c92]
#
# 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:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Kurumi
Kurumi's picture

Hi,

What USB to serial port converter you are using?

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

eugenephua

I am using Prolific, when I use another cable from FTDI, it is ok -.-"

Kurumi
Kurumi's picture

Hi,

Is it working OK with GXDLMSDirector? Do you have the latest drivers from Prolific?

BR,

Miko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

eugenephua

Hi, I decided to use the cable with FTDI instead.. I do not have the latest drivers from Prolific..

Kurumi
Kurumi's picture

Hi,

I believe it's a good solution.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi