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!

Exception on pushing docker images



  • Hi,

    Since updating from version 7.6 to 4.8.8 we've not been able to push new docker images. We just get multiple failed retry from docker push and eventually a 500 error.

    The error exception in the message center is

    System.NullReferenceException: Object reference not set to an instance of an object.
    at Inedo.IO.SlimMemoryStream.SeekToChunk()
    at Inedo.IO.SlimMemoryStream.<CopyToAsync>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.ProGet.Feeds.Docker.DockerFeed.<WriteBlobChunkAsync>d__6.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.SimpleHandlers.Docker.DockerHandler.<ProcessBlobUploadAsync>d__7.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.SimpleHandlers.Docker.DockerHandler.<ProcessRequestAsync>d__5.MoveNext()

    Product: ProGet
    Version: 5.0.0



  • We have exactly the same problem. Running Proget 4.8.8 broke our docker feed.



  • Reverting to 4.8.7 fixed this issue.


  • inedo-engineer

    Sorry for the late reply,

    ILIB-6 is the tracking number for this bug (zero-length SlimMemoryStream throws a NullReferenceException when CopyToAsync is called).

    It will be fixed in the next version of ProGet, or, as noted above, you can revert to ProGet 4.8.7. There were no database structure changes between 4.8.7 and 4.8.8, so backing up your database is recommended, but restoring an old copy is not required.



  • Hi,

    Was this fix included in 5.0.1?

    Looking at the Update Notes doesn't seem like it.

    Thanks



  • Yes, though it wasn't properly noted in release notes.

    I just checked; this fix was included in InedoLib v511, and we shipped InedoLib v513 (a newer version which included other changes) in ProGet v5.0.1


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation