Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Object "reference not set to an instance of an object" on update/install #591

Closed
madhon opened this issue Feb 9, 2015 · 2 comments
Labels

Comments

@madhon
Copy link

madhon commented Feb 9, 2015

When Running either an Update or Install with v0.27.5.0 I am getting the following exception

Paket version 0.27.5.0
found: C:\dev\ModelClassCreator\paket.dependencies
Resolving packages:

  • fetching versions for Dapper
    • exploring Dapper 1.38
  • fetching versions for JetBrains.Annotations
    • exploring JetBrains.Annotations 8.0.5.0
  • fetching versions for reactiveui-winforms
    • exploring reactiveui-winforms 6.4.0
    • exploring reactiveui-core 6.4.0
  • fetching versions for Rx-Main
    • exploring Rx-Main 2.2.5
  • fetching versions for Rx-Core
    • exploring Rx-Core 2.2.5
  • fetching versions for Rx-Interfaces
    • exploring Rx-Interfaces 2.2.5
  • fetching versions for Rx-Linq
    • exploring Rx-Linq 2.2.5
  • fetching versions for Rx-PlatformServices
    • exploring Rx-PlatformServices 2.3
    • exploring Rx-PlatformServices 2.2.5
  • fetching versions for Rx-WinRT
    • exploring Rx-WinRT 2.2.5
  • fetching versions for Rx-Xaml
    • exploring Rx-Xaml 2.2.5
  • fetching versions for Splat
    • exploring Splat 1.6.1
      Locked version resolutions written to C:\dev\ModelClassCreator\paket.lock

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at <StartupCode$Paket-Core>.$[email protected](IEnume
rable1& next) at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase1.MoveNextImp
l()
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable1 source) at <StartupCode$Paket-Core>[email protected](IEnume rable1& next)
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase1.MoveNextImp l() at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable1 source)
at <StartupCode$Paket-Core>.$[email protected](IEnume
rable1& next) at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase1.MoveNextImp
l()
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable1 source) at Paket.ProjectFile.RemovePaketNodes() at Paket.ProjectFile.UpdateReferences(FSharpMap2 completeModel, FSharpMap2 usedPackages, Boolean hard) at Paket.InstallProcess.InstallIntoProjects(FSharpList1 sources, Boolean for
ce, Boolean hard, Boolean withBindingRedirects, LockFile lockFile, IEnumerable1 projects) at <StartupCode$Paket-Core>[email protected](Unit unitVar0) at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc2 actio
n)
at [email protected](Unit unitVar)
at <StartupCode$paket>.$Paket.Program.main@()

paket.dependencies contains
source https://www.nuget.org/api/v2

nuget Dapper
nuget reactiveui-winforms
nuget JetBrains.Annotations

paket.lock contains
NUGET
remote: https://www.nuget.org/api/v2
specs:
Dapper (1.38)
JetBrains.Annotations (8.0.5.0)
reactiveui-core (6.4.0)
Rx-Main (>= 2.2.5)
Rx-WinRT (>= 2.2.5)
Rx-Xaml (>= 2.2.5)
Splat (>= 1.6.0)
reactiveui-winforms (6.4.0)
reactiveui-core (6.4.0)
Rx-Core (2.2.5)
Rx-Interfaces (>= 2.2.5)
Rx-Interfaces (2.2.5)
Rx-Linq (2.2.5)
Rx-Core (>= 2.2.5)
Rx-Interfaces (>= 2.2.5)
Rx-Main (2.2.5)
Rx-Core (>= 2.2.5)
Rx-Interfaces (>= 2.2.5)
Rx-Linq (>= 2.2.5)
Rx-PlatformServices (>= 2.2.5)
Rx-PlatformServices (2.2.5)
Rx-Core (>= 2.2.5)
Rx-Interfaces (>= 2.2.5)
Rx-WinRT (2.2.5)
Rx-Main (>= 2.2.5)
Rx-Xaml (2.2.5)
Rx-Main (>= 2.2.5)
Splat (1.6.1)

forki added a commit that referenced this issue Feb 9, 2015
@forki
Copy link
Member

forki commented Feb 9, 2015

ouch. could you please retry?

@forki forki added the bug label Feb 9, 2015
@madhon
Copy link
Author

madhon commented Feb 9, 2015

Hi,

That's fixed it, thanks for quick response.

@forki forki closed this as completed Feb 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants