U4-3305 - When installing a package in the back office sometimes a YSOD is produced based on reading the stream from the repository feed

Created by Shannon Deminick 02 Nov 2013, 02:39:30 Updated by Per Ploug 20 Nov 2013, 07:56:20

I got this when trying to install the : Improved Mediapicker and True Color Picker, Image Cropper.

Here's the YSOD:

Server Error in '/' Application.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object reference not set to an instance of an object. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at PackageRepoWebservices.Our.Repository.fetchPackageByVersion(String packageGuid, String repoVersion) in C:\WIP\Repo\our\Repository.cs:line 378 at PackageRepoWebservices.Repository.fetchPackageByVersion(String packageGuid, Version schemaVersion) in C:\WIP\Repo\Repository.asmx.cs:line 334

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object reference not set to an instance of an object. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at PackageRepoWebservices.Our.Repository.fetchPackageByVersion(String packageGuid, String repoVersion) in C:\WIP\Repo\our\Repository.cs:line 378 at PackageRepoWebservices.Repository.fetchPackageByVersion(String packageGuid, Version schemaVersion) in C:\WIP\Repo\Repository.asmx.cs:line 334

Source Error:

Line 539: public byte[] fetchPackageByVersion(string packageGuid, Version schemaVersion) Line 540: { Line 541: object[] results = this.Invoke("fetchPackageByVersion", new object[] { Line 542: packageGuid, Line 543: schemaVersion});

Source File: x:\Projects\Umbraco\Umbraco_7.0\src\umbraco.cms\businesslogic\Packager\Repositories\RepositoryWebservice.cs Line: 541

Stack Trace:

[SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object reference not set to an instance of an object. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at PackageRepoWebservices.Our.Repository.fetchPackageByVersion(String packageGuid, String repoVersion) in C:\WIP\Repo\our\Repository.cs:line 378 at PackageRepoWebservices.Repository.fetchPackageByVersion(String packageGuid, Version schemaVersion) in C:\WIP\Repo\Repository.asmx.cs:line 334] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +503338 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +215 umbraco.cms.businesslogic.packager.repositories.RepositoryWebservice.fetchPackageByVersion(String packageGuid, Version schemaVersion) in x:\Projects\Umbraco\Umbraco_7.0\src\umbraco.cms\businesslogic\Packager\Repositories\RepositoryWebservice.cs:541 umbraco.cms.businesslogic.packager.repositories.Repository.fetch(String packageGuid, String key) in x:\Projects\Umbraco\Umbraco_7.0\src\umbraco.cms\businesslogic\Packager\Repositories\Repository.cs:202 umbraco.cms.businesslogic.packager.repositories.Repository.fetch(String packageGuid) in x:\Projects\Umbraco\Umbraco_7.0\src\umbraco.cms\businesslogic\Packager\Repositories\Repository.cs:146 umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) in x:\Projects\Umbraco\Umbraco_7.0\src\Umbraco.Web\umbraco.presentation\umbraco\developer\Packages\installer.aspx.cs:81 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 umbraco.BasePages.BasePage.OnLoad(EventArgs e) in x:\Projects\Umbraco\Umbraco_7.0\src\umbraco.businesslogic\BasePages\BasePage.cs:361 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440

Comments

Per Ploug 20 Nov 2013, 07:56:20

This is an issue with the our feed, not so much V7


Priority: Normal

Type: Bug

State: Closed

Assignee: Per Ploug

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.0

Sprint:

Story Points:

Cycle: