You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I convert a solution I get the following exception:
...
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at <StartupCode$Paket-Core>[email protected](XmlNode node)
at Microsoft.FSharp.Primitives.Basics.List.iter[T](FSharpFunc`2 f, FSharpList`1 x)
at [email protected](IEnumerable`1& next)
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
at [email protected](DependenciesFile _arg1)
at Chessie.ErrorHandling.Trial.fSuccess@63-11[p,r,q](FSharpFunc`2 f, p x, FSharpList`1 msgs)
at Paket.NuGetConvert.createResult(DirectoryInfo rootDirectory, NugetEnv nugetEnv, CredsMigrationMode credsMirationMode)
at Chessie.ErrorHandling.Trial.fSuccess@63-11[p,r,q](FSharpFunc`2 f, p x, FSharpList`1 msgs)
at Chessie.ErrorHandling.Trial.fSuccess@63-11[p,r,q](FSharpFunc`2 f, p x, FSharpList`1 msgs)
at Chessie.ErrorHandling.Trial.fSuccess@63-11[p,r,q](FSharpFunc`2 f, p x, FSharpList`1 msgs)
at <StartupCode$Paket-Core>[email protected](Unit unitVar0)
at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc`2 action)
at [email protected](ArgParseResults`1 results)
at Paket.Program.processWithValidation[T](FSharpFunc`2 validateF, FSharpFunc`2 commandF, Command command, String[] args)
at [email protected](Command command, String[] args)
at <StartupCode$paket>.$Paket.Program.main@()
can you please try to debug this (or create a repro). I assume it's in createPaketEnv.
debugging should be easy. clone the repo, set Paket.exe as startup project. Set working dir to your solution path and put "convert-from-nuget" in the command line arg.
Activity
forki commentedon May 20, 2015
woupsi. NPE - I love them.
can you please try to debug this (or create a repro). I assume it's in createPaketEnv.
debugging should be easy. clone the repo, set Paket.exe as startup project. Set working dir to your solution path and put "convert-from-nuget" in the command line arg.
/cc @theimowski
Stift commentedon May 20, 2015
Will do in the late afternoon when I have time. Just wanted to let you know early.
forki commentedon May 20, 2015
thanks. Unfortunately can't see the issue without further data. ;-)
2015-05-20 15:27 GMT+02:00 Christian [email protected]:
theimowski commentedon May 20, 2015
I'll have a look - maybe can predict what went wrong
sibling can be null - references fsprojects#830
Stift commentedon May 20, 2015
I've got the error. I will provide a fix today. Just have to write some unit tests for this. I think I can provide a pull request this evening
Stift commentedon May 20, 2015
Oh @theimowski was faster. Then I only provide some unit tests...
forki commentedon May 20, 2015
Yeah this guy is amazing ;-)
On May 20, 2015 4:25 PM, "Christian" [email protected] wrote:
theimowski commentedon May 20, 2015
😤
Stift commentedon May 20, 2015
absolutely admit 🍰
Merge pull request #831 from theimowski/NPE_RemoveImportAndTargetEntries