We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-61032

JIRA log flooded with java.io.IOException: Broken pipe

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

       Issue is tracked under JRASERVER-63503

      Summary

      After upgrading from JIRA 6.x to JIRA 7.1.x, the following trace can be found in the logs

      ERROR [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() for servlet [default] in context with path [] threw exception
      java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
      at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:27)
      at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48)
      at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala)
      at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24)
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164)
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120)
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112)
      ... 55 filtered
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
      at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)
      at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
      at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
      at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
      at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)
      at com.sun.jersey.spi.container.ContainerResponse$CommittingOutputStream.flush(ContainerResponse.java:146)
      at org.codehaus.jackson.impl.Utf8Generator.flush(Utf8Generator.java:1085)
      at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1606)
      at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:558)
      at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)
      ... 5 filtered
      at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
      ... 1 filtered
      at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
      ... 91 filtered
      at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
      ... 16 filtered
      at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
      ... 22 filtered
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:169)
      at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25)
      ... 65 more
      Caused by: java.io.IOException: Broken pipe
      at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
      at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
      at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
      at sun.nio.ch.IOUtil.write(IOUtil.java:65)
      at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
      
      • This is thrown so frequent in the logs that it is spamming the logs
      • Normally, this is thrown due to Closing a page before it finished loading
      • But in this case, it doesnt seems to be it as this is being thrown abnormally frequent

      Steps to Reproduce

      1. Unknown at the moment

      Expected Results

      The exception should not be thrown as frequent

      Actual Results

      The below exception is thrown in the atlasian-jira.log file in a large number:

       http-nio-8080-exec-5 ERROR      [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() for servlet [default] in context with path [] threw exception
      java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
      

      Notes

      Under investigation by DEV

      Workaround

      -

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Jira Data Center'
            1. Jira Data Center
            2. JRASERVER-61032

            JIRA log flooded with java.io.IOException: Broken pipe

                NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

                 Issue is tracked under JRASERVER-63503

                Summary

                After upgrading from JIRA 6.x to JIRA 7.1.x, the following trace can be found in the logs

                ERROR [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() for servlet [default] in context with path [] threw exception
                java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:27)
                at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48)
                at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala)
                at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24)
                at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164)
                at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120)
                at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112)
                ... 55 filtered
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.lang.Thread.run(Thread.java:745)
                Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)
                at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
                at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
                at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
                at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)
                at com.sun.jersey.spi.container.ContainerResponse$CommittingOutputStream.flush(ContainerResponse.java:146)
                at org.codehaus.jackson.impl.Utf8Generator.flush(Utf8Generator.java:1085)
                at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1606)
                at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:558)
                at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)
                ... 5 filtered
                at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
                ... 1 filtered
                at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
                ... 91 filtered
                at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
                ... 16 filtered
                at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
                ... 22 filtered
                at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:169)
                at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25)
                ... 65 more
                Caused by: java.io.IOException: Broken pipe
                at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
                at sun.nio.ch.IOUtil.write(IOUtil.java:65)
                at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
                
                • This is thrown so frequent in the logs that it is spamming the logs
                • Normally, this is thrown due to Closing a page before it finished loading
                • But in this case, it doesnt seems to be it as this is being thrown abnormally frequent

                Steps to Reproduce

                1. Unknown at the moment

                Expected Results

                The exception should not be thrown as frequent

                Actual Results

                The below exception is thrown in the atlasian-jira.log file in a large number:

                 http-nio-8080-exec-5 ERROR      [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() for servlet [default] in context with path [] threw exception
                java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                

                Notes

                Under investigation by DEV

                Workaround

                -

                        ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
                        mmcmahon Matthew McMahon (Inactive)
                        Votes:
                        7 Vote for this issue
                        Watchers:
                        156 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
                            mmcmahon Matthew McMahon (Inactive)
                            Affected customers:
                            7 This affects my team
                            Watchers:
                            156 Start watching this issue

                              Created:
                              Updated:
                              Resolved: