Announcement

Collapse
No announcement yet.

a nill instance was returned

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

  • a nill instance was returned

    Dirk,

    After upgrading to HS3 3.0.0.425 I keep getting groups of errors every 5 minutes in the log regarding the Sonos plugin:

    Code:
    apr-12 14:45:58	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_B8E937DE13DA01400
    apr-12 14:45:48	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_5CAAFDF5FDE201400
    apr-12 14:45:38	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_B8E937DB2DDE01400
    apr-12 14:45:28	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_5CAAFDF5F07401400
    apr-12 14:45:00	 	regenkans	er valt 0,1 mm/u om 14:55
    apr-12 14:40:56	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_B8E937DE13DA01400
    apr-12 14:40:46	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_5CAAFDF5FDE201400
    apr-12 14:40:35	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_B8E937DB2DDE01400
    apr-12 14:40:25	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_5CAAFDF5F07401400
    apr-12 14:40:00	 	regenkans	er valt 0,21 mm/u om 14:40
    apr-12 14:39:38	 	Event	Event Trigger "Tuin Tuinpomp uit"
    apr-12 14:35:53	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_B8E937DE13DA01400
    apr-12 14:35:43	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_5CAAFDF5FDE201400
    apr-12 14:35:33	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_B8E937DB2DDE01400
    apr-12 14:35:23	 	Sonos Error	Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance was returned for UDN = uuid:RINCON_5CAAFDF5F07401400
    Any idea what might be causing this?

    Wim
    -- Wim

    Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
    650 devices ---- 336 events ----- 40 scripts

  • #2
    I had problems after the latest windows 10 update. it did the update while I was away, killed homeseer and corrupted everything, wiped out all my zwave devices and gave me errors on a reboot with sonos. lucky and thanks to blade I had a good backup. I restored with the backup, rebooted and everything was fine. updated to the latest .425, and did another backup. I hope setting windows 10 to a metered connection stops the updates until I am ready....

    Comment


    • #3
      That is not the case here. No devices were erased today. But it appears that after the upgrade of HS3 the sonos plugin has created double root devices. I have stopped the plugin here, removed the doubles and deleted the ini file.
      Then with a restart of the plugin the errors were gone again and all seems to function normal again.

      Guess there has been a hickup during the upgrade?

      Wim
      -- Wim

      Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
      650 devices ---- 336 events ----- 40 scripts

      Comment


      • #4
        I am having the same problem. How did you know which instance of the player to delete? Or does it matter?

        Comment


        • #5
          Originally posted by pcourt View Post
          I am having the same problem. How did you know which instance of the player to delete? Or does it matter?
          Never delete players from the HS devices management page!

          Make sure you are on the 3.1.x.x PI version not the end-of-life'd 3.0.x.x. stream (because delete players is broken there due to post release changes in HS)

          Assuming you are on 3.1.x.x release stream, I would delete the player from the plugin's config page in the device player table. If you had events (on the original players), they are corrupted anyway so if you delete the wrong player and it comes back, delete both and the player will be rediscovered and come back and that should be the end of it (I think!).

          If not:

          Stop hs
          delete sonos.ini file
          restart hs

          Comment


          • #6
            Im seeing the same thing. I wound up resetting everything, creating new devices (after fresh .ini file etc). All was good but today my log is again flooded with "Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance" Now the plugin shows the correct zones and everything seems to be working, so the error feels noise but wanted to let you know...

            Comment


            • #7
              Originally posted by bsobel View Post
              Im seeing the same thing. I wound up resetting everything, creating new devices (after fresh .ini file etc). All was good but today my log is again flooded with "Error in CreateOneSonosController while instantiating the SonosPlayerInfo a nill instance" Now the plugin shows the correct zones and everything seems to be working, so the error feels noise but wanted to let you know...
              Could you turn debug on, restart HS, capture log and post here together with .ini file?

              Comment


              • #8
                Originally posted by dcorsus View Post

                Could you turn debug on, restart HS, capture log and post here together with .ini file?
                You got it, I probably won't be able to do this until tomorrow, but I'll posts here as soon as I can.

                Comment


                • #9
                  Question; I assumed you meant a text log file created by the plugin. I enabled debug, super debug, and log to file. Rebooted but I cant find a log file associated with the plugin, I turned off log to file and rebooted and have plenty of log messages in the HS log, but not sure how to capture that?

                  Comment


                  • #10
                    Originally posted by bsobel View Post
                    Question; I assumed you meant a text log file created by the plugin. I enabled debug, super debug, and log to file. Rebooted but I cant find a log file associated with the plugin, I turned off log to file and rebooted and have plenty of log messages in the HS log, but not sure how to capture that?
                    Don't enable superdebug, just debug.
                    The log file is created under <hsroot>\html\sonos\logs but only written to when you turn the logging to disk off.

                    So here are the steps:
                    a/ HS is running
                    b/ turn PI debug on and logging to disk
                    c/ restart hs
                    d/ wait until restart and init is complete
                    e/ turn logging to disk off
                    f/ go to <hsroot>\html\sonos\logs
                    g/ upload log to posting

                    Dirk

                    Comment


                    • #11
                      Attached is the zipped log file and my ini file. Good hunting!
                      Attached Files

                      Comment


                      • #12
                        Originally posted by bsobel View Post
                        Attached is the zipped log file and my ini file. Good hunting!
                        any chance to post your player table

                        Comment


                        • #13
                          Here is a printout of the full settings page...
                          Attached Files

                          Comment


                          • #14
                            Originally posted by bsobel View Post
                            Attached is the zipped log file and my ini file. Good hunting!
                            another question: are you on the sonos beta program or running release sonos SW?
                            I see so many errors in the log, never ever seen that on a simple GetZoneGroupState

                            Comment


                            • #15
                              While I am a Sonos beta member, I am not currently running a beta. I am on 9.1 release build 45156150

                              Sonos about info:


                              Associated ZP: 10.1.3.126

                              ---------------------------------

                              Boost: Boost Living

                              Serial Number: B8-E9-37-0C-58-CA:0

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.12.1.2-1

                              Series ID: A100

                              IP Address: 10.1.3.100

                              WM: 0

                              ---------------------------------

                              Boost: Boost Screening

                              Serial Number: B8-E9-37-0E-5C-96:5

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.12.1.2-1

                              Series ID: A100

                              IP Address: 10.1.3.143

                              WM: 0

                              ---------------------------------

                              Play:3: Breakfast Room

                              Serial Number: 00-0E-58-F8-AF-C0:6

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.1.2-1

                              Series ID: A100

                              IP Address: 10.1.3.106

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:5: Casita Living

                              Serial Number: 00-0E-58-55-11-CA:1

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.16.4.1-1

                              Series ID: P100

                              IP Address: 10.1.3.130

                              WM: 0

                              OTP: 1.1.1(1-16-4-zp5s-0.5)

                              ---------------------------------

                              ZP80: Deck Lower

                              Serial Number: 00-0E-58-20-16-22:6

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.1.16.3-1

                              Series ID: S100

                              IP Address: 10.1.3.123

                              WM: 0

                              r8: 16.0-7

                              ---------------------------------

                              Connect:Amp: Deck Upper

                              Serial Number: 00-0E-58-30-FF-32:G

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.16.3.1-1

                              Series ID: P100

                              IP Address: 10.1.3.117

                              WM: 0

                              OTP: 1.1.1(1-16-3-0.9)

                              ---------------------------------

                              Play:3: Dining Room

                              Serial Number: 00-0E-58-71-94-B6:4

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.1.2-1

                              Series ID: A100

                              IP Address: 10.1.3.103

                              WM: 0

                              OTP:

                              ---------------------------------

                              ZP80: Game Room

                              Serial Number: 00-0E-58-20-18-14:B

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.1.16.3-1

                              Series ID: S100

                              IP Address: 10.1.3.122

                              WM: 0

                              r8: 16.0-7

                              ---------------------------------

                              Connect:Amp: Great Tree

                              Serial Number: 00-0E-58-3A-B9-44:8

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.16.3.1-1

                              Series ID: P100

                              IP Address: 10.1.3.132

                              WM: 0

                              OTP: 1.1.1(1-16-3-0.9)

                              ---------------------------------

                              Play:1: Guest Upper 1

                              Serial Number: B8-E9-37-5F-5E-DC:5

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.110

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:1: Guest Upper 2

                              Serial Number: 5C-AA-FD-6D-4C-06:2

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.111

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:1: Gym Bathroom

                              Serial Number: B8-E9-37-B6-71-14

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.124

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:3: Kitchen

                              Serial Number: 00-0E-58-7B-82-DA:F

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.1.2-1

                              Series ID: A100

                              IP Address: 10.1.3.105

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:5: Living Room

                              Serial Number: 00-0E-58-81-28-F8:C

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.16.4.1-1

                              Series ID: P100

                              IP Address: 10.1.3.102

                              WM: 0

                              OTP: 1.1.1(1-16-4-zp5s-0.5)

                              ---------------------------------

                              Connect:Amp: Main House Front

                              Serial Number: 00-0E-58-3A-B9-00:8

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.16.3.1-1

                              Series ID: P100

                              IP Address: 10.1.3.101

                              WM: 0

                              OTP: 1.1.1(1-16-3-0.9)

                              ---------------------------------

                              Play:1: Massage Room (L)

                              Serial Number: B8-E9-37-EB-A1-EC:7

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.125

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:1: Massage Room (R)

                              Serial Number: B8-E9-37-EA-E5-98:7

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.126

                              WM: 0

                              OTP:

                              ---------------------------------

                              One: Master Bathroom

                              Serial Number: 78-28-CA-05-CE-40:1

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.21.1.8-1

                              Series ID: A100

                              IP Address: 10.1.3.139

                              WM: 0

                              ---------------------------------

                              Playbar: Master Bedroom

                              Serial Number: 00-0E-58-BF-DF-24:B

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.9.1.10-1

                              Series ID: A100

                              IP Address: 10.1.3.112

                              Audio In:

                              WM: 0

                              OTP:

                              ---------------------------------

                              Sub: Master Bedroom

                              Serial Number: 5C-AA-FD-80-9E-D6:5

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.2.5-1

                              Series ID: A100

                              IP Address: 10.1.3.113

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:1: Master Sun Room (L)

                              Serial Number: B8-E9-37-54-15-5C:E

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.115

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:1: Master Sun Room (R)

                              Serial Number: B8-E9-37-55-49-DA:6

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.114

                              WM: 0

                              OTP:

                              ---------------------------------

                              ZP100: Pool

                              Serial Number: 00-0E-58-10-92-14:F

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.1.3.2-1

                              Series ID: S100

                              IP Address: 10.1.3.135

                              WM: 0

                              m16: 1.0-12170 r8: 0.8-16

                              ---------------------------------

                              ZP100: Pool Spa

                              Serial Number: 00-0E-58-10-39-A4:2

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.1.3.0-1

                              Series ID: S100

                              IP Address: 10.1.3.136

                              WM: 0

                              m16: 1.0-12170 r8: 0.8-16

                              ---------------------------------

                              Playbar: Screening Room

                              Serial Number: 00-0E-58-B1-CF-69:G

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.9.1.10-1

                              Series ID: A100

                              IP Address: 10.1.3.121

                              Audio In:

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:5: Small Bar

                              Serial Number: 00-0E-58-52-53-BA:E

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.16.4.1-1

                              Series ID: P100

                              IP Address: 10.1.3.104

                              WM: 0

                              OTP: 1.1.1(1-16-4-zp5s-0.5)

                              ---------------------------------

                              Play:1: TV Room (R)

                              Serial Number: 78-28-CA-6F-DB-34:6

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.20.1.6-1

                              Series ID: A200

                              IP Address: 10.1.3.138

                              WM: 0

                              ---------------------------------

                              Play:1: TV Room (L)

                              Serial Number: 78-28-CA-6F-DB-3C:E

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.20.1.6-1

                              Series ID: A200

                              IP Address: 10.1.3.137

                              WM: 0

                              ---------------------------------

                              Play:3: TV Sun Room

                              Serial Number: 00-0E-58-F8-34-96:B

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.1.2-1

                              Series ID: A100

                              IP Address: 10.1.3.108

                              WM: 0

                              OTP:

                              ---------------------------------

                              Play:1: Wine Cellar

                              Serial Number: 5C-AA-FD-6D-4D-46:G

                              Version: 9.1 (build 45156150)

                              Hardware Version: 1.8.3.7-1

                              Series ID: A101

                              IP Address: 10.1.3.118

                              WM: 0

                              OTP:

                              Comment

                              Working...
                              X