Curtains Driver Help

I got this driver from smarthomedb. Honestly, not my best purchase. Anyway, they did a quick and dirty conversion of their smartthings driver for me. It works. A while back someone here fixed up one of the errors it had. I'm wondering if I could get help with the last error. Since they stopped responding to my emails.

The log spews..

java.lang.NullPointerException: Cannot invoke method endsWith() on null object

Every couple minutes. If I turn debug on it's always after it receives this from the device.

[raw:catchall: 0000 0013 00 00 0040 00 76FE 00 00 0000 00 00 00FE76D3A0AE14004B12008E, profileId:0000, clusterId:0013, clusterInt:19, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:76FE, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, FE, 76, D3, A0, AE, 14, 00, 4B, 12, 00, 8E]]

My guess is because the last bit there, 'data:[]' is an array within the array, right? endsWith is looking for a character, so the function doesn't work. At least that's my guess with my knows-just-enough-to-be-dangerous brain.

Here's the current driver.