Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Regression: NRE in KRE build 10755 (regressed w.r.t build 10753) #974

Closed
borgdylan opened this issue Dec 6, 2014 · 1 comment
Closed
Assignees
Milestone

Comments

@borgdylan
Copy link

When doing k web:

System.ArgumentNullException: Argument cannot be null.
Parameter name: path1
  at System.IO.Path.Combine (System.String path1, System.String path2, System.String path3) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.Servicing.ServicingTable+<>c__DisplayClass0.<LoadIndex>b__1 () [0x00000] in <filename unknown>:0 
  at System.Threading.LazyInitializer.EnsureInitialized[ServicingIndex] (Microsoft.Framework.Runtime.Servicing.ServicingIndex& target, System.Boolean& initialized, System.Object& syncLock, System.Func`1 valueFactory) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.Servicing.ServicingTable.LoadIndex () [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.Servicing.ServicingTable.TryGetReplacement (System.String packageId, NuGet.SemanticVersion packageVersion, System.String assetPath, System.String& replacementPath) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.NuGetDependencyResolver.Initialize (IEnumerable`1 packages, System.Runtime.Versioning.FrameworkName targetFramework) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.WalkContext.Populate (System.Runtime.Versioning.FrameworkName frameworkName, IList`1 libraries) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.DependencyWalker.Walk (System.String name, NuGet.SemanticVersion version, System.Runtime.Versioning.FrameworkName targetFramework) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.DefaultHost.Initialize () [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.Runtime.DefaultHost.GetEntryPoint (System.String applicationName) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.ApplicationHost.Program.ExecuteMain (Microsoft.Framework.Runtime.DefaultHost host, System.String applicationName, System.String[] args) [0x00000] in <filename unknown>:0 
  at Microsoft.Framework.ApplicationHost.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
@davidfowl davidfowl added this to the 1.0.0-beta2 milestone Dec 6, 2014
@davidfowl davidfowl added the bug label Dec 6, 2014
@nosami
Copy link
Member

nosami commented Dec 6, 2014

I'm getting what I think is the same error when trying to invoke the Design Time Host

/Users/jason/.kre/packages/KRE-Mono.1.0.0-beta2-10755/bin/klr /Users/jason/.kre/packages/KRE-Mono.1.0.0-beta2-10755/bin/lib/Microsoft.Framework.DesignTimeHost/Microsoft.Framework.DesignTimeHost.dll 1334 17475 36dae6ce-a6ab-4cd8-82db-b5b6c4724766
(36dae6ce-a6ab-4cd8-82db-b5b6c4724766, Error, 0) -> {
  "Message": "Argument cannot be null.\nParameter name: path1"
}

Builds 10755 and 10756 are broken for me.

davidfowl added a commit that referenced this issue Dec 6, 2014
- Use HOME instead of ProgramFiles
- Removed tracing for replacement attempts
#974
@davidfowl davidfowl assigned davidfowl and unassigned lodejard Dec 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants