Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26804

NullPointerException for remote Docker repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.33.6
    • Fix Version/s: None
    • Component/s: Remote Repository
    • Labels:
      None
    • Location:
      External

      Description

      This is what we observe in our logs multiple times a day:

      [jfrt ] [INFO ] [o.a.r.RemoteRepoBase:686      ] [tp-nio-8081-exec-736] - Timed-out waiting on concurrent download of 'artifact' in 'repo'.
      [jfrt ] [ERROR] [c.e.m.GlobalExceptionMapper:48] [tp-nio-8081-exec-736] - null
      java.lang.NullPointerException: null
      [tomct] [SEVERE][org.glassfish.jersey.server.ServerRuntime$Responder] [org.glassfish.jersey.server.ServerRuntime$Responder writeResponse] - An I/O error has occurred while writing a response message entity to the container output stream.
      org.glassfish.jersey.server.internal.process.MappableException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
              at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:67)
              at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
              at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
              at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:635)
              at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:373)
              at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:419)
              at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:263)
              at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
              at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
              at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
              at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
              at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
              at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
              at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
              at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
              at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
              at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
              at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
              at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
              at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:203)
              at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:105)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:563)
              at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:419)
              at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:268)
              at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:207)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:87)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.artifactory.webapp.servlet.ArtifactoryCsrfFilter.doFilter(ArtifactoryCsrfFilter.java:83)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:164)
              at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
              at org.artifactory.webapp.servlet.SessionFilter.doFilter(SessionFilter.java:67)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.artifactory.webapp.servlet.ArtifactoryTracingFilter.doFilter(ArtifactoryTracingFilter.java:32)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:123)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
              at org.apache.catalina.valves.rewrite.RewriteValve.invoke(RewriteValve.java:305)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:364)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:624)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1673)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
              at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
              at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:328)
              at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:291)
              at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:118)
              at org.springframework.session.web.http.OnCommittedResponseWrapper$SaveContextServletOutputStream.flush(OnCommittedResponseWrapper.java:458)
              at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.flush(ResponseWriter.java:306)
              at org.glassfish.jersey.message.internal.CommittingOutputStream.flush(CommittingOutputStream.java:263)
              at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.flush(WriterInterceptorExecutor.java:281)
              at com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1193)
              at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:1008)
              at com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:626)
              at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
              at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
              at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
              at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
              at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
              at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
              ... 65 more
      Caused by: java.io.IOException: Broken pipe
              at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
              at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
              at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
              at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
              at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
              at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:462)
              at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
              at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
              at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
              at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
              at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
              at org.apache.tomcat.util.net.SocketWrapperBase.flushBlocking(SocketWrapperBase.java:671)
              at org.apache.tomcat.util.net.SocketWrapperBase.flush(SocketWrapperBase.java:661)
              at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.flush(Http11OutputBuffer.java:655)
              at org.apache.coyote.http11.filters.ChunkedOutputFilter.flush(ChunkedOutputFilter.java:166)
              at org.apache.coyote.http11.Http11OutputBuffer.flush(Http11OutputBuffer.java:256)
              at org.apache.coyote.http11.Http11Processor.flush(Http11Processor.java:1442)
              at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:407)
              at org.apache.coyote.Response.action(Response.java:206)
              at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:324)
              ... 80 more
      
      

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              przemek Przemek Bielicki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-26814 -
                  SYNCHRONIZED
                  • Last Sync Date: