NPE within ReadWriteListener$ReadWriteEvent.isNull



  • Hi,

    We just encountered the following exception:

        java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.idevicesinc.sweetblue.ReadWriteListener$Type.isNull()' on a null object reference
            at com.idevicesinc.sweetblue.ReadWriteListener$ReadWriteEvent.isNull(Unknown Source:4)
    

    This is surprising, since it seems we got a non-null ReadWriteEvent throws an NPE when we call isNull(), since it internally does type().isNull() but type() seems to return null.

    This seems like a bug in SweetBlue. Could this be the case?