When calling any function on the beehive interface when no beehive is connected, a Java NullpointerException is thrown. It would be better you could do a null check on the hive entity and return false, "beehive is not connected" or something. A null pointer exception is especially confusing when a bee nest is connected instead of a beehive, which I know is no implementation for.
When calling any function on the beehive interface when no beehive is connected, a Java NullpointerException is thrown. It would be better you could do a null check on the hive entity and return
false, "beehive is not connected"
or something. A null pointer exception is especially confusing when a bee nest is connected instead of a beehive, which I know is no implementation for.