none
WP7应用更新出错 RRS feed

  • 问题

  • 你好!最近在商店更新WP7应用时出错,错误如下提示:

    System.ArgumentNullException: Value cannot be null.
     Parameter name: key
     at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
     at Microsoft.MarketplaceServices.Ingestion.ProductCatalogService.Utilities.UnpublishedPhoneProductGuidProvider.GetIdByPackageFamilyName(String name) in c:\B\322\DCEProductCatalog_Live\S\private\DCEProductCatalog\src\ProductCatalogFD\Utilities\UnpublishedPhoneProductGuidProvider.cs:line 208
     at Microsoft.MarketplaceServices.Ingestion.ProductCatalogService.Controllers.V1.PackageValidationV1Controller.<CreateOrGetPhoneProductAsync>d__1a9.MoveNext() in c:\B\322\DCEProductCatalog_Live\S\private\DCEProductCatalog\src\ProductCatalogFD\ProductCatalogFD\V1\Global\PackageValidationV1Controller.cs:line 3121
     --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at Microsoft.MarketplaceServices.Ingestion.ProductCatalogService.Controllers.V1.PackageValidationV1Controller.<CreateEntitiesForWindowsPhonePackageAsync>d__f6.MoveNext() in c:\B\322\DCEProductCatalog_Live\S\private\DCEProductCatalog\src\ProductCatalogFD\ProductCatalogFD\V1\Global\PackageValidationV1Controller.cs:line 1989
     --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at Microsoft.MarketplaceServices.Ingestion.ProductCatalogService.Controllers.V1.PackageValidationV1Controller.<ApplyPacSuccessResultAsync>d__db.MoveNext() in c:\B\322\DCEProductCatalog_Live\S\private\DCEProductCatalog\src\ProductCatalogFD\ProductCatalogFD\V1\Global\PackageValidationV1Controller.cs:line 1732
     --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at Microsoft.MarketplaceServices.Ingestion.ProductCatalogService.Controllers.V1.PackageValidationV1Controller.<HandlePacPackageProcessingAsync>d__68.MoveNext() in c:\B\322\DCEProductCatalog_Live\S\private\DCEProductCatalog\src\ProductCatalogFD\ProductCatalogFD\V1\Global\PackageValidationV1Controller.cs:line 851
     --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.MarketplaceServices.Ingestion.ProductCatalogService.Controllers.V1.PackageValidationV1Controller.<UpdateValidationStatusAsync>d__40.MoveNext() in c:\B\322\DCEProductCatalog_Live\S\private\DCEProductCatalog\src\ProductCatalogFD\ProductCatalogFD\V1\Global\PackageValidationV1Controller.cs:line 551
     --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at Microsoft.MarketplaceServices.Ingestion.ProductCatalogService.Controllers.V1.PackageValidationV1Controller.<GetValidations>d__0.MoveNext() in c:\B\322\DCEProductCatalog_Live\S\private\DCEProductCatalog\src\ProductCatalogFD\ProductCatalogFD\V1\Global\PackageValidationV1Controller.cs:line 242

    请各位指导

    2015年6月24日 3:12

全部回复

  • 你好,

    看起来似乎是更新以后有一个参数为空了,但是这个恐怕只能你自己来调试了,我们这边也没你的环境和你的代码。你可以看看你的代码里哪边的参数是跟这段相关的:System.Collections.Generic.Dictionary`2.FindEntry(TKey key)

    Regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2015年6月25日 9:02
    版主
  • 你好,现在是编译过了,我们在windows phone商店上更新软件的时候,上载安装包的步骤遇到的错误。并且,我们上载以前可以正常上载的安装包也会遇到同样的问题。应该不是代码问题,是不是微软的wp7的应用上传策略有变化?
    2015年6月29日 8:17
  • 你好,

        问题是这样的,编译成功,可以在真机及模拟器上正常运行。上传微软商店时,可以正常上传,上传完成后在微软商店分析包的过程中,提示了以上的信息。

    2015年6月29日 9:04
  • 你好,

    如果不上传用你的Windows App Certification Kit来分析的时候有同样的问题么?我指的是以下这个工具:

    似乎现在是在迁移整个商店,不确定会不会是这个的原因:

    https://msdn.microsoft.com/zh-cn/library/windows/apps/jj206724(v=vs.105).aspx

    重要说明:

    本主题适用于较早的 Windows Phone 开发人员中心仪表板,不适用于统一的新开发人员中心仪表板。由于我们仍处于迁移所有开发者帐户的过程中,如果你的帐户已迁移到新仪表板,则此处的信息可能不适用。有关详细信息,请参阅使用统一的开发人员中心仪表板

    我建议你试试我以上提到的工具,运行它来检测你的安装包,然后试试能不能Fix你的问题。



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2015年6月30日 9:54
    版主
  • 我跟你的错误一样,我也是在上载程序包的时候出的错误
    2015年7月5日 3:06