Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Can't open Docker feed because of null reference exception

    Scheduled Pinned Locked Moved Support
    8 Posts 2 Posters 17 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      luminiscence_6236
      last edited by luminiscence_6236

      Since migration to Proget 5.4.3 docker registry page could not be opened any more for logged in user. Instead of docker images list, standard asp.net exception page is always shown with the following stacktrace:

      [ArgumentNullException: Value cannot be null.
      Parameter name: value]
      System.String.StartsWith(String value, StringComparison comparisonType) +598
      System.Linq.WhereListIterator1.MoveNext() +81 System.Linq.Enumerable.Count(IEnumerable1 source) +259
      Inedo.ProGet.WebApplication.Pages.Docker.d__17.MoveNext() +5963
      System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
      Inedo.ProGet.WebApplication.Pages.Docker.d__16.MoveNext() +1642
      System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
      Inedo.ProGet.WebApplication.Pages.d__3.MoveNext() +201
      System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
      Inedo.Web.PageFree.d__46.MoveNext() +220
      System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
      Inedo.Web.PageFree.d__45.MoveNext() +323
      System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
      System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
      System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59
      Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33
      System.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar) +234
      System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +169
      

      Problem has workaround - page could be opened without problems for anonymous users.

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        Hi @luminiscence_6236 ,

        Could you please provide the entire stack trace for the error? You should be able to retrieve it from the Diagnostics Center on the Administration page.

        Thanks,
        Rich

        Products Engineer, Inedo

        1 Reply Last reply Reply Quote 0
        • L Offline
          luminiscence_6236
          last edited by luminiscence_6236

          Attached stack from diagnostics center, although it's the same as far as I can see

          Stack trace: at System.String.StartsWith(String value, StringComparison comparisonType)
          at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
          at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
          at Inedo.ProGet.WebApplication.Pages.Docker.ListRepositoriesPage.<CreateOutOfBoxExperience>d__17.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Inedo.ProGet.WebApplication.Pages.Docker.ListRepositoriesPage.<CreateChildControlsAsync>d__16.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Inedo.ProGet.WebApplication.Pages.ProGetSimplePageBase.<InitializeAsync>d__3.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Inedo.Web.PageFree.SimplePageBase.<ExecutePageLifeCycleAsync>d__46.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__45.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
          at Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
          at System.Web.HttpApplication.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar)
          at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)
          
          1 Reply Last reply Reply Quote 0
          • rhessingerR Offline
            rhessinger inedo-engineer
            last edited by

            Hi @luminiscence_6236 ,

            Do you see any other errors in the diagnostic center? Does the page load when you click the Containers link at the top of the page? If that is the one that is erroring, are you able to navigate to your registry by first going to the Feeds then clicking on your registry there?

            Thanks,
            Rich

            Products Engineer, Inedo

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              luminiscence_6236 @rhessinger
              last edited by luminiscence_6236

              Hi, @rhessinger

              Do you see any other errors in the diagnostic center?

              No, that's the only error we found

              Does the page load when you click the Containers link at the top of the page?

              Yes

              are you able to navigate to your registry by first going to the Feeds then clicking on your registry there?

              Any link to the registry fails with exception, either from Feeds or from Home page

              1 Reply Last reply Reply Quote 0
              • rhessingerR Offline
                rhessinger inedo-engineer
                last edited by

                Hi @luminiscence_6236 ,

                If you click on the Containers link at the top. Does it error when you click on a local tag? Also do you have any connectors on your docker registry?

                Thanks,
                Rich

                Products Engineer, Inedo

                1 Reply Last reply Reply Quote 0
                • L Offline
                  luminiscence_6236
                  last edited by luminiscence_6236

                  We found today that page stops crashing if docker connector is removed and starts crashing again if it returned back.

                  1 Reply Last reply Reply Quote 0
                  • rhessingerR Offline
                    rhessinger inedo-engineer
                    last edited by

                    Hi @luminiscence_6236 ,

                    I'm glad to hear you figured out the issue. I'm going to add an internal ticket to add better error handling around docker connectors.

                    Thanks,
                    Rich

                    Products Engineer, Inedo

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post
                    Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation