Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA-Bridge 4.2.0 - NullPointer on DomoticzHome #507

Closed
kaaspad opened this issue Feb 27, 2017 · 5 comments
Closed

HA-Bridge 4.2.0 - NullPointer on DomoticzHome #507

kaaspad opened this issue Feb 27, 2017 · 5 comments
Labels
Milestone

Comments

@kaaspad
Copy link

kaaspad commented Feb 27, 2017

Hi I just installed this on RPi that has domoticz beta 3.6800 on it. HA-Bridge starts up correctly, but if I try to do anything on the bridge settings pages (which then calls a re-initialize) I get the following in the log:

2017-02-27 21:19:24,074 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener - ended, restart found 2017-02-27 21:19:24,075 [main] INFO com.bwssystems.HABridge.HABridge - HA Bridge (v4.2.0) reinitialization requessted.... Exception in thread "main" java.lang.NullPointerException at com.bwssystems.HABridge.plugins.domoticz.DomoticzHome.closeHome(DomoticzHome.java:164) at com.bwssystems.HABridge.HomeManager.closeHomes(HomeManager.java:107) at com.bwssystems.HABridge.HABridge.main(HABridge.java:88)

any ideas?

when I try the identical on 4.14 it works fine.

@kaaspad kaaspad changed the title HA-Bridge 4.2.0 HA-Bridge 4.2.0 - NullPointer on DomoticzHome Feb 27, 2017
@bwssytems bwssytems added the bug label Feb 27, 2017
@bwssytems
Copy link
Owner

Need to check if it is valid before closing.

@bwssytems
Copy link
Owner

Until this gets fixed, you'll have to restart the bridge from the system.

@kaaspad
Copy link
Author

kaaspad commented Feb 28, 2017

what do you mean by "restart the bridge from the system"? currently regardless if I add a domoticz server I still get the memory release issue - the moment the bridge initializes that error appears. Should I just downgrade to 4.1.4 for now?

@bwssytems
Copy link
Owner

So, once you have a domoticz address in the system, when you start the system again from the command line or startup configuration, it will not do that again. IT is a bug when there is no domoticz configured or for the first time that a domoticz is being configured.

@bwssytems
Copy link
Owner

If you want a beta that has this fixed: http://bwssystems.com/files/ha-bridge-4.2.0a.jar

@bwssytems bwssytems added this to the V4.2.1 milestone Mar 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants