Continuous BASIC RUNTIME error alert from the printer

// Expert user has replied.
S Senthil Subramanian 3 years 4 months ago
11 1 0

I am facing an issue where printer is continuously sending BASIC RUNTIME error alert. I am trying to get the alerts that has been set already in the printer. I am using AlertsUtilLinkOs class for getting the alerts. When trying to get alerts from the printer, I ended up with the following exception:
com.zebra.sdk.device.ZebraIllegalArgumentException: Error processing response from device: [ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:21] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:21] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:21] [ZD500]
{"alerts.configured":"COLD START,SNMP,Y,N,255.255.255.255,162,N,|ALL MESSAGES,BLUETOOTH,Y,Y,,0,N,"}ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:22] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:22] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:22] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:22] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:22] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:23] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:23] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:23] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:23] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:24] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:24] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:24] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:24] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:24] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:25] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:25] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:25] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:25] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:26] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:26] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:26] [ZD500]
ERROR CONDITION: BASIC RUNTIME [2020-08-11 23:52:26] [ZD500]
]
at com.zebra.sdk.settings.internal.JsonHelper.parseGetResponse(Unknown Source:34)
at com.zebra.sdk.settings.internal.AlertsUtilLinkOs.a(Unknown Source:36)
at com.zebra.sdk.settings.internal.AlertsUtilLinkOs.getAlerts(Unknown Source:0)
at sdk.chkpoint.com.devicezebraprinter.interfaces.ZebraPrinterDriver.c(Unknown Source:10)
at sdk.chkpoint.com.devicezebraprinter.interfaces.ZebraPrinterDriver.f(Unknown Source:0)
at sdk.chkpoint.com.devicezebraprinter.interfaces.ZebraPrinterDriver$e.execute(Unknown Source:398)
at sdk.chkpoint.com.core.common.dispatchqueue.applicationlogic.a.run(Unknown Source:39)
at sdk.chkpoint.com.core.common.dispatchqueue.applicationlogic.SyncOperation.run(Unknown Source:0)
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:764)
Since the JSON returned has lot of BASIC RUNTIME error alert, the JSON parsing is failing, which leads to ZebraIllegalArgumentException. Please let me know why this BASIC RUNTIME error is continuously been sent by the printer and is there a way to stop this alert?
Following are the device and SDK information that I am using.
Printer Model – ZD500R
Firmware – v74.20.22Z
Platform – Android
Connection mode – Bluetooth
SDK – LinkOS SDK

Please Register or Login to post a reply

1 Replies

S Steven Si

In the log, you have configured the printer to send out alerts on ALL MESSAGE, including the BASIC RUNTIME events.

{"alerts.configured":"COLD START,SNMP,Y,N,255.255.255.255,162,N,|ALL MESSAGES,BLUETOOTH,Y,Y,,0,N,"}The BASIC RUNTIME events are from ZBI (Zebra Basic Interpreter). You may have a ZBI program running, which generates this event. To stop this, you need to reconfigure the alerts. Instead of using ALL MESSAGES, you can specify the specific alert conditions you want to monitor. Or, you can try to stop the ZBI program from running.
Alternatively, you can try ^SQ command in ZPL to stop the BASIC RUNTIME events.

CONTACT
Can’t find what you’re looking for?