chef 3749 Posted May 18, 2015 Share Posted May 18, 2015 Hi there! Recently the Vera Home Automation plugin team ran into a bit of a road block. Unfortunately in order to test the latest build of our plugin we need someone without a Vera to try our plugin and report any strange occurrences with the emby server. If you would like to help (or have a spare moment) please DL the DLL from the link below and place it in your plugin directory and restart the server. Any help would be greatly appreciated. Thank you in advance Chef [link]https://dl.dropboxusercontent.com/u/46151346/SampleProject/SampleProject/bin/Debug/Vera%20Smart%20Home%20Automation.dll[/link] Link to comment Share on other sites More sharing options...
Raff 51 Posted May 18, 2015 Share Posted May 18, 2015 Emby won't start. Null pointer reference in the Vera plug-in. server-63567532064.txt unhandled_19244c8d-1ec3-4812-ad21-91412420a9a7.txt VeraHomeAutomation-1.0.0.1121.txt 1 Link to comment Share on other sites More sharing options...
chef 3749 Posted May 18, 2015 Author Share Posted May 18, 2015 Thank you! That is exactly what we were looking for. Link to comment Share on other sites More sharing options...
chef 3749 Posted May 18, 2015 Author Share Posted May 18, 2015 @@Raff would you mind trying new version of the plugin? https://dl.dropboxusercontent.com/u/46151346/SampleProject/SampleProject/bin/Debug/Vera%20Smart%20Home%20Automation.dll in hopes that the server doesn't have any unexpected crashes... Link to comment Share on other sites More sharing options...
Raff 51 Posted May 18, 2015 Share Posted May 18, 2015 There was an error when I restarted, but the logs suggest it was my token/log-in was expired. I have restarted my instance a couple of times just in case, and Emby comes back up with just this error in the logs: 2015-05-18 09:38:16.1862 Error - App: Error in ServerEntryPoint *** Error Report *** ----- Snipping version/OS/etc ------ The method or operation is not implemented. System.NotImplementedException at VeraSmartHomeAutomation.ServerEntryPoint.IServerEntryPoint_Run() at MediaBrowser.Server.Startup.Common.ApplicationHost.<RunStartupTasks>b__0(IServerEntryPoint entryPoint) Doesn't seem to have any ill effects at the moment. Link to comment Share on other sites More sharing options...
Raff 51 Posted May 18, 2015 Share Posted May 18, 2015 General comments: No logo shows up in the plug-in list. I'm guessing you haven't set one up yet. While the "GoodBye!" is mildly amusing to me, you may want to remove that from under "Verify!" - I'm guessing there is a chance the device isn't recognized and a frustrated user won't be a big fan of that language. And I just realized that this is probably the wrong forum. I don't visit the Plug-in forum much since I don't really use many of them (Auto-box and Lastfm) so a mod may want to move this over there. Link to comment Share on other sites More sharing options...
chef 3749 Posted May 18, 2015 Author Share Posted May 18, 2015 General comments: No logo shows up in the plug-in list. I'm guessing you haven't set one up yet. While the "GoodBye!" is mildly amusing to me, you may want to remove that from under "Verify!" - I'm guessing there is a chance the device isn't recognized and a frustrated user won't be a big fan of that language. And I just realized that this is probably the wrong forum. I don't visit the Plug-in forum much since I don't really use many of them (Auto-box and Lastfm) so a mod may want to move this over there. Indeed! I had "goodbye" in there as a gag. I'll make sure it is removed for a final release. Lol Thank you again for your time. Link to comment Share on other sites More sharing options...
chef 3749 Posted May 18, 2015 Author Share Posted May 18, 2015 Okay I think I finally coded the thing. If you have time to try this last DLL. https://dl.dropboxusercontent.com/u/46151346/SampleProject/SampleProject/bin/Debug/Vera%20Smart%20Home%20Automation.dll Link to comment Share on other sites More sharing options...
Raff 51 Posted May 18, 2015 Share Posted May 18, 2015 You may want to put some warning in that hitting verify requires you have the Vera server and it is up. This is probably a minor issue, since most people won't install the plug-in unless they do, but I am wondering if this would be the same user experience if the Vera system is down. Just to see what happened, I refreshed the plugin page and hit "Verify". It asked me to restart (not sure if anything was actually verified) and the restart failed with the same NPR issue. I recovered quickly enough by deleting the DLL, but you may not have users that immediately realize that. I would actually recommend catching whatever is breaking in MoveNext(). I don't have access to the MiOS/Vera APIs but I would expect that "GetDeviceInfoAsync" object to have something to check its internal list isn't empty before calling "next" - but I am making a lot of assumptions just from the error log. The good news is that I left the previous DLL installed through my rip of Babylon 5 and Aeon Flux. It didn't interfere with anything I was doing, no additional errors in the logs, etc. Link to comment Share on other sites More sharing options...
chef 3749 Posted May 30, 2015 Author Share Posted May 30, 2015 Yeah that is exactly what I did. Thank you so much for the feed back. I was able to exit any subroutines which where causing errors, by checking for empty classes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now