Skip to content

Home Assistant gets null exception during initialization #1150

@gatortux

Description

@gatortux

I am using the most recent version of hassio (Home Assistant). After entering IP, port and a long lived access token (not a legacy password) for authentication ha-bridge fails to initialize the hass information. Further digging in the logs finds the following:

Nov 05 19:30:17 smarthouse.lan java[31933]: 2019-11-05 19:30:17,156 [main] ERROR com.bwssystems.HABridge.plugins.hass.HassHome - Cannot get hass (smarthouse) setup, Exiting with message: null
Nov 05 19:30:17 smarthouse.lan java[31933]: java.lang.NullPointerException: null
Nov 05 19:30:17 smarthouse.lan java[31933]: at com.bwssystems.HABridge.plugins.hass.HomeAssistant.isLegacyAuth(HomeAssistant.java:111)
Nov 05 19:30:17 smarthouse.lan java[31933]: at com.bwssystems.HABridge.plugins.hass.HomeAssistant.(HomeAssistant.java:31)
Nov 05 19:30:17 smarthouse.lan java[31933]: at com.bwssystems.HABridge.plugins.hass.HassHome.createHome(HassHome.java:53)
Nov 05 19:30:17 smarthouse.lan java[31933]: at com.bwssystems.HABridge.plugins.hass.HassHome.(HassHome.java:34)
Nov 05 19:30:17 smarthouse.lan java[31933]: at com.bwssystems.HABridge.HomeManager.buildHomes(HomeManager.java:82)
Nov 05 19:30:17 smarthouse.lan java[31933]: at com.bwssystems.HABridge.HABridge.main(HABridge.java:92)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions