Announcement

Collapse
No announcement yet.

Webconfig: Error: BuildContent: Object reference not set

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Webconfig: Error: BuildContent: Object reference not set

    Hi,

    I'm trying to run the JowiHue plugin on Linux.

    I had it working before, but there was a lot of messing around I had to do just to get JowiHue to discover the bridge. From what I recall, part of this was because I've had some strict iptables rules in place, and part of it seemed to be some confusion about which interface (eth0 or eth1) to broadcast on.

    Since then, I've upgraded to the new square bridge and lost my JowiHue connection again.

    In case it helps: I stopped the plugin and then deleted all of the old devices. I have also added two rules to the top of my input and output iptables, which grants access both ways for any IP on my internal network (eth0; internet is on eth1).

    After more fiddling and frustration (ie. couldn't even find the bridge), I decided to upgrade to the latest beta; version 1.0.6.11.

    This version was able to find the bridge and accept the "registration" (ie. pressing the button), but then it would throw an exception. The bridge device would be added to my Devices page, but I couldn't go into the configuration for the plugin without stopping and restarting it. When I went back in, it lost its registration.

    Here's a sample of my debug logs, latest entry first, with some duplicate lines removed and the username vetted out:

    Code:
    Dec-22 8:28:06 PM 	JowiHue	Webconfig: Error: BuildContent: Object reference not set to an instance of an object
    Dec-22 8:27:58 PM 	JowiHue	UpdateConfigDevices called for unknown reason. Ref = 216 change
    Dec-22 8:27:36 PM 	JowiHue	Debug: :id:timer
    Dec-22 8:27:36 PM 	JowiHue	Debug: :Createuser BridgeRow.User:7ed7aab214a0ed015db4czzzzzzzzzzz
    Dec-22 8:27:36 PM 	JowiHue	Registering bridge was succesfull
    Dec-22 8:27:36 PM 	JowiHue	Debug: :Createuser response:[{"success":{"username":"7ed7aab214a0ed015db4czzzzzzzzzzz"}}]
    Dec-22 8:27:36 PM 	JowiHue	Debug: :Createuser response:[{"error":{"type":101,"address":"","description":"link button not pressed"}}]
    Dec-22 8:27:33 PM 	JowiHue	Debug: :id:timer
    Dec-22 8:27:30 PM 	JowiHue	Debug: :Createuser response:[{"error":{"type":101,"address":"","description":"link button not pressed"}}]
    Dec-22 8:27:30 PM 	JowiHue	Debug: :id:timer
    Dec-22 8:27:27 PM 	JowiHue	Debug: :Createuser response:[{"error":{"type":101,"address":"","description":"link button not pressed"}}]
    Dec-22 8:27:27 PM 	JowiHue	Debug: :BridgeReg_001788FFFE23611D:Submit
    Dec-22 8:27:27 PM 	JowiHue	Debug: :registrationstring:{"devicetype": "JowiHue"}
    Dec-22 8:27:27 PM 	JowiHue	Debug: :id:oBridgeReg_btnBridge_001788FFFE23611D
    Dec-22 8:27:16 PM 	JowiHue	Debug: :End search for bridges
    Dec-22 8:27:16 PM 	JowiHue	============================================================================================
    Dec-22 8:27:16 PM 	JowiHue	------------------------------------------NEW Bridge ---------------------------------------
    Dec-22 8:27:16 PM 	JowiHue	Info: Unregistered bridge found at IP address 192.168.84.185
    Dec-22 8:27:16 PM 	JowiHue	Please register this bridge in the configuration page
    Dec-22 8:27:16 PM 	JowiHue	============================================================================================
    Dec-22 8:27:15 PM 	JowiHue	Debug: :btnScan:Submit
    Dec-22 8:27:15 PM 	JowiHue	Debug: :id:obtnScan
    Dec-22 8:27:12 PM 	JowiHue	Debug: :id:timer
    Dec-22 8:27:11 PM 	JowiHue	Debug: :id:Debug
    Dec-22 8:27:11 PM 	JowiHue	Debug: :Debug:checked
    Dec-22 8:26:58 PM 	JowiHue	MainWatchThread: No bridge found, plugin will scan until found
    Dec-22 8:26:58 PM 	JowiHue	Upgrading devices to latest version 7
    Dec-22 8:26:58 PM 	JowiHue	FindBridgesSelf error: Column 'BridgeSerial' does not allow nulls.
    Dec-22 8:26:58 PM 	Plug-In	Finished initializing plug-in JowiHue
    Dec-22 8:26:58 PM 	JowiHue	InitIO:Plugin basic initialisation done
    Dec-22 8:26:58 PM 	JowiHue	Starting plugin JowiHue 1.0.6.11
    Dec-22 8:26:57 PM 	Info	Plugin JowiHue has connected. IP:127.0.0.1:52247
    Dec-22 8:26:53 PM 	Info	Plugin JowiHue with instance: has disconnected
    Dec-22 8:26:53 PM 	JowiHue	could not close normally
    Dec-22 8:26:53 PM 	Plug-In	Shutting down Plug-In: JowiHue
    Dec-22 8:26:49 PM 	JowiHue	Webconfig: Error: BuildContent: Object reference not set to an instance of an object
    Dec-22 8:26:19 PM 	JowiHue	Webconfig: Error: BuildContent: Object reference not set to an instance of an object
    Any ideas?

    Thanks in advance!

    #2
    Boonebytes,

    There is an issue indeed in the beta when registering a new bridge. This has been resolved in the release version, but it seems to take some time to publish this release due to the holidays.

    If you want to proceed with the release version you can find the download and instructions here.
    Make sure that you set the rights in Linux correct after download, at least that has been my struggle each time with Linux when something went wrong

    Thanks,

    Wim
    -- Wim

    Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

    1210 devices/features ---- 392 events ----- 40 scripts

    Comment

    Working...
    X