hap-java / HAP-Java

Java implementation of the HomeKit Accessory Protocol
MIT License
153 stars 82 forks source link

NullPointer if a characteristic is not implemented #32

Closed Lemongrass3110 closed 5 years ago

Lemongrass3110 commented 7 years ago
java.lang.NullPointerException: null
at com.beowulfe.hap.characteristics.BaseCharacteristic.makeBuilder(BaseCharacteristic.java:71) ~[hap-1.1.3.jar:?]

Reason: getValue returns null. It would be helpful if you could trace the information which characteristic needs to be implemented.

Lemongrass3110 commented 7 years ago

Okay I just found out my problem was already addressed in this commit ea6be83, but this is not in the maven repo yet. Would be nice if you could make a new release version available. 👍