Unable to start Docker after Upgrading to Beta 12. "Object reference not set to an instance of an object"

Expected behavior

Docker Starts after the upgrade

Actual behavior

Docker failed to initialize “Object reference not set to an instance of an object”

Steps to reproduce the behavior

  1. Upgrade Docker to Beta 12
  2. Start Docker

Information

[12:57:07.995][Program ][Info ] Version 1.11.1-beta12 (build: 3073)
[12:57:07.999][Program ][Info ] Starting on: 5/18/2016 12:57:07 PM
[12:57:08.002][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources
[12:57:08.004][Program ][Info ] OS: Windows 10 Enterprise Insider Preview
[12:57:08.006][Program ][Info ] Edition: Enterprise
[12:57:08.008][Program ][Info ] Id: 1511
[12:57:08.010][Program ][Info ] Build: 14332
[12:57:08.012][Program ][Info ] BuildLabName: 14332.1001.amd64fre.rs1_release.160422-1940
[12:57:08.018][Program ][Info ] Mixpanel Id: ad004b76-0fb4-40f8-a589-ac8a478869c8
[12:57:08.022][Program ][Info ] Sha1: 2fb5b031ee60c8a9b514883b54bcea8cf6d2ae8f
[12:57:08.025][Program ][Info ] You can send feedback, including this log file, at Docker Desktop for Windows - Docker Community Forums
[12:57:08.191][Program ][Error ] Object reference not set to an instance of an object.
[12:57:08.195][NamedPipeClient][Info ] Sending GetDebugInfo()…
[12:57:26.218][NamedPipeClient][Info ] Received response for GetDebugInfo
[12:57:26.254][Program ][Info ] Sending Bugsnag report 2fc900b0-31de-4182-a24a-9d808c2c4664 …
[12:57:27.023][Program ][Info ] Bugsnag report sent

OS Version

SystemDirectory : C:\WINDOWS\system32
Organization :
BuildNumber : 14332
RegisteredUser : admin
SerialNumber : 00329-10280-00000-AA275
Version : 10.0.14332

Installed Files

Directory: C:\Program Files\Docker\Docker

Mode LastWriteTime Length Name


d----- 5/18/2016 12:09 PM resources
-a---- 4/18/2016 11:21 PM 542720 AWSSDK.Core.dll
-a---- 4/18/2016 11:22 PM 387072 AWSSDK.S3.dll
-a---- 4/15/2015 5:00 AM 47616 Bugsnag.dll
-a---- 5/17/2016 3:58 PM 12288 com.docker.service
-a---- 5/17/2016 3:57 PM 528 com.docker.service.config
-a---- 5/17/2016 3:58 PM 41984 Docker.Backend.dll
-a---- 5/17/2016 3:57 PM 536 Docker.Backend.dll.config
-a---- 5/17/2016 3:57 PM 540 Docker.BackendCLI.config
-a---- 5/17/2016 3:58 PM 43008 Docker.Core.dll
-a---- 5/17/2016 3:57 PM 531 Docker.Core.dll.config
-a---- 5/17/2016 3:58 PM 545280 Docker.WPF.dll
-a---- 5/17/2016 3:57 PM 532 Docker.WPF.dll.config
-a---- 5/17/2016 3:59 PM 958016 DockerForWindows.exe
-a---- 5/17/2016 3:57 PM 530 DockerForWindows.exe.config
-a---- 1/7/2015 9:08 AM 47616 HockeyApp.dll
-a---- 1/7/2015 9:08 AM 73728 HockeyAppPCL.dll
-a---- 5/17/2016 3:58 PM 16896 InstallerCli.exe
-a---- 5/17/2016 3:57 PM 532 InstallerCli.exe.config
-a---- 12/10/2015 4:45 PM 36864 Microsoft.Management.Infrastructure.dll
-a---- 7/8/2013 3:15 PM 45416 Microsoft.Web.Infrastructure.dll
-a---- 3/14/2016 9:30 PM 522752 Newtonsoft.Json.dll
-a---- 5/6/2011 10:22 PM 107696 Ookii.Dialogs.Wpf.dll
-a---- 12/10/2015 4:45 PM 360448 System.Management.Automation.dll
-a---- 7/9/2013 11:04 AM 168616 System.Net.Http.Formatting.dll
-a---- 7/9/2013 11:04 AM 323240 System.Web.Http.dll
-a---- 7/9/2013 11:04 AM 507048 System.Web.Mvc.dll
-a---- 7/9/2013 11:05 AM 266944 System.Web.Razor.dll
-a---- 7/9/2013 11:05 AM 41152 System.Web.WebPages.Deployment.dll
-a---- 7/9/2013 11:05 AM 204480 System.Web.WebPages.dll
-a---- 7/9/2013 11:05 AM 39616 System.Web.WebPages.Razor.dll

Installed Resources

Directory: C:\Program Files\Docker\Docker\resources

Mode LastWriteTime Length Name


d----- 5/18/2016 12:09 PM bin
d----- 5/18/2016 12:09 PM qemu-img
-a---- 5/17/2016 3:58 PM 8263680 com.docker.agent.exe
-a---- 5/17/2016 3:58 PM 11892736 com.docker.proxy.exe
-a---- 5/17/2016 3:57 PM 3377 DockerDebugInfo.ps1
-a---- 5/17/2016 3:59 PM 19217 LICENSE.rtf
-a---- 5/17/2016 3:57 PM 72056832 mobylinux.iso
-a---- 5/17/2016 3:57 PM 15381 MobyLinux.ps1
-a---- 5/17/2016 3:57 PM 454110 OSS-LICENCE.rtf
-a---- 5/17/2016 3:58 PM 40 sha1
-a---- 5/17/2016 3:58 PM 4 UpdateChannel

This was resolved in Beta 13

Could you please help me finding Beta 13? All I get from download page is version 11.

I have upgraded to beta 13 and I get the same error. Can anyone tell me how to look at the logs so I can post more info?

I was having this issue even with beta 15.
What fixed it for me was after uninstalling docker finding for any file or folder named docker and delete the ones that were not part of my projects. After I restarted and installed docker (this time he asked again for my beta key which it didn’t on previous uninstall and install attempts, I guess one of the files/folders I deleted had that data saved) and it started without the null reference error.

However I was still having network issues not being able to pull as described in Docker pull won’t work. I couldn’t make it work using the suggestions present on the thread (they did work for me when I had beta 11 though) but after following the 3 steps on https://beta.docker.com/docs/windows/troubleshoot/#networking-issues and restarting I got it working.

Hope this also helps anyone having similar issues.

P.S. - In the middle of all this, trying to resolve the null reference error I also re-installed Hyper-V but I don’t think it helped. Something to keep in mind though…