Hi,
I am facing some issues randomly with some meters. It doesn't happens always, just in some random lectures.
I attach you the last part of the Log and the error my Android app throws
Do you know why that error is thrown? Can i do something to solve it?
Reading Monthly CI (0.0.98.1.1.255)
TX: 7EA04D022103982398E6E600C001C100070000620101FF0201010204020412000809060000010000FF0F02120000090C07E8060106000000FFFF8880090C07E8070101000000FFFF8880010079887E
RX: 7EA1070300020021B8E58EE6E700C402C400000000010081ED01020264090C07E805010300000000800080090C07E80601060000000080008006000C9B64060001B2220600021DA406000138B006000144C3060000B1960600059C92060000DD1D06000003920600000A43060000175206000032A1060000245A06000060F806000389E20600004F9A06000061CF0600004FBB0600006304060000299A060001FC1E0600004CC50600000295060000050D0600000A6F06000014C5060000072C0600001EBF060000102306000000C5060000017D06000002D206000002CB060000019306000006AF060001CD0C0600002E2A0600003FE70600002E84060000325006000020D235417E
TX: 7EA014022103BA35BEE6E600C002C10000000151BE7E
RX: 7EA1090300020021DAD048E6E700C402C400000000020081EF060000DD530600001E8D060000000006000000000600000000060000047A060000055D06000014B70600002CCA0600000000060000000006000000000600000B29060000114C06000010550600000BE00600000000060000000006000000000600000316060000024C060000067F0600000982060000000006000000000600000000060000057F060000026D0600000195060000024F06000000000600000000060000000006000000EE060000009106000000D1060000039A0600000000060000000006000000000600000081060000006D06000002AD0600011188090C07E8050904072D0000800080060000000037EC7E
TX: 7EA014022103DC05B8E6E600C002C100000002CA8C7E
RX: 7EA0870300020021FC678DE6E700C402C4000000000300816D090C07E8050103000000008000800600000000090C07E8050103000000008000800600000000090C07E805010300000000800080060000E938090C07E8050E02091E00008000800600010488090C07E8050204082D00008000800600011188090C07E8050904072D000080008090067E
TX: 7EA014022103FE15BAE6E600C002C100000003439D7E
RX: 7EA10A03000200211E9660E6E700C402C400000000040081F00264090C07E806010600000000800080090C07E80701010000000080008006000CC0B6060001B2220600021DA40600013E450600014ACD060000B196060005B645060000FDBE06000003920600000A430600001E270600003E1A060000245A0600006F4C060003A14B0600004F9A06000061CF06000053E40600006623060000299A0600020C3F0600005C040600000295060000050D0600000EE30600001900060000072C060000254F060000120606000000C5060000017D0600000427060000031F060000019306000006E9060001D0710600002E2A0600003FE70600002F8B06000032FF06000020D2060000DF022C0E7E
TX: 7EA0140221031065B4E6E600C002C100000004FCE97E
RX: 7EA104030002002130CB2EE6E700C100C10004FCE97E0081EA0600002552060000000006000000000600000595060000060A060000000006000019B306000020A10600000000060000000006000006D50600000B7906000000000600000E540600001769060000000006000000000600000429060000031F060000000006000010210600000F3F060000000006000000000600000474060000043B0600000000060000069006000001E306000000000600000000060000015506000000540600000000060000003A060000036506000000000600000000060000010706000000AF060000000006000001AF0600013374090C07E8061C05071E00008000800600000000FFD57E
TX: 7EA0140221033275B6E6E600C002C10000000575F87E
RX: 7EA08703000200215213C1E6E700C402C4010000000600816D090C07E8060106000000008000800600000000090C07E806010600000000800080060000EDFC090C07E8060B020A2D0000800080060000E52C090C07E8061303081E00008000800600000000090C07E8060106000000008000800600013374090C07E8061C05071E00008000808B507E
TX: 7EA0140221035445B0E6E600C002C100000006EECA7E
RX: 7EA0120300020021745046E6E700D801C8F1187E
MeterApp crash stacktrace ->
java.lang.NullPointerException: Attempt to invoke virtual method 'int gurux.dlms.enums.ExceptionServiceError.ordinal()' on a null object reference
at gurux.dlms.GXDLMS.handleExceptionResponse(GXDLMS.java:3506)
at gurux.dlms.GXDLMS.getPdu(GXDLMS.java:3289)
at gurux.dlms.GXDLMS.getData(GXDLMS.java:3773)
at gurux.dlms.GXDLMSClient.getData(GXDLMSClient.java:2407)
at gurux.dlms.GXDLMSClient.getData(GXDLMSClient.java:2358)
at net.gisce.giscedistri.serial.DLMS.SerialJava.readDLMSPacket(SerialJava.java:486)
at net.gisce.giscedistri.serial.DLMS.SerialJava.readDataBlock(SerialJava.java:543)
at net.gisce.giscedistri.serial.DLMS.SerialJava.readDataBlock(SerialJava.java:523)
at net.gisce.giscedistri.serial.DLMS.SerialJava.readRowsByRange(SerialJava.java:391)
at net.gisce.giscedistri.serial.DLMS.SerialJava.onExecute(SerialJava.java:788)
at net.gisce.giscedistri.serial.GXTask.doInBackground(GXTask.java:82)
at net.gisce.giscedistri.serial.GXTask.doInBackground(GXTask.java:42)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Thank you so much.
BR
Hi, The meter reply #5 is…
Hi,
The meter reply #5 is corrupted for some reason. It will cause the client ask for more data, and the meter returns a command that looks like Exception Response, but it's not.
You need to ask the meter manufacturer if a firmware update is available to fix this.
You can try to read only 12 hours at a time. Now you are reading for 24 hours. That will help sometimes.
BR,
Mikko