Skip to content

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

Closed

Description

@madhon

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)

Activity

  1. forki commented on Feb 9, 2015

    @forki
    Member

    ouch. could you please retry?

  2. madhon commented on Feb 9, 2015

    @madhon
    Author

    Hi,

    That's fixed it, thanks for quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions