okleine / nCoAP

Java implementation of the CoAP protocol using netty
BSD 3-Clause "New" or "Revised" License
179 stars 57 forks source link

UintOption.removeLeadingZeroBytes() throws NullPointerException #4

Closed stefanhueske closed 12 years ago

stefanhueske commented 12 years ago

For example

removeLeadingZeroBytes(new byte[]{0x00})

will cause a NullPointerException.

(note: I fixed this issue in my fork 17a29db95a71cdb60aea8972c5a916594b2d0875)