Thanks. I added to v011101Now it is solid as a rock! Figured it out by putting a try catch around the following and it no longer crashes (the code needs to check for nulls on all metadata it seems):
case 5 :
try{
handle_metainfo(buf,buf_len);
}
catch(Exception e) {
e.printStackTrace();
}
Example caught error(s):
java.lang.NullPointerException: Cannot invoke "String.trim()" because "wio_line1_str" is null
at MicroP25RXMon.handle_metainfo(MicroP25RXMon.java:829)
at MicroP25RXMon.process_buffer(MicroP25RXMon.java:369)
at MicroP25RXMon.draw(MicroP25RXMon.java:215)
at processing.core.PApplet.handleDraw(PApplet.java:2094)
at processing.awt.PSurfaceAWT$9.callDraw(PSurfaceAWT.java:1386)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:356)
java.lang.NullPointerException: Cannot invoke "String.trim()" because "site_name_str" is null
at MicroP25RXMon.handle_metainfo(MicroP25RXMon.java:849)
at MicroP25RXMon.process_buffer(MicroP25RXMon.java:369)
at MicroP25RXMon.draw(MicroP25RXMon.java:215)
at processing.core.PApplet.handleDraw(PApplet.java:2094)
at processing.awt.PSurfaceAWT$9.callDraw(PSurfaceAWT.java:1386)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:356)