Uploaded image for project: 'JIRA Server (including JIRA Core)'
  1. JIRA Server (including JIRA Core)
  2. JRASERVER-20075

Activity Stream broken when CMYK JPEG is attached to an issue

    XMLWordPrintable

    Details

    • Support reference count:
      3
    • Symptom Severity:
      Major
    • UIS:
      1

      Description

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

      Activity stream dies with: An internal server error occurred when requesting resource http://localhost:8080/plugins/servlet/streams?os_authType=basic&maxResults=100.

      See attached image for screen shot of this error.

      This appears to be caused by an issue that has CMYK JPEG's attached.

      Some exceptions seen in the logs:

      2010-01-05 11:54:58,142 http-8080-Processor23 ERROR xxxxxx 42895x1184x1 z82x4w http://localhost:8080/plugins/servlet/streams [atlassian.streams.servlet.StreamsActivityServlet] Error getting activity
      java.lang.NullPointerException
      at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getThumbnailedAttachments(JiraSyndEntryFactoryImpl.java:364)
      at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildAttachmentHtml(JiraSyndEntryFactoryImpl.java:310)
      at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildAttachments(JiraSyndEntryFactoryImpl.java:277)
      at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.buildChanged(JiraSyndEntryFactoryImpl.java:196)
      at com.atlassian.streams.jira.JiraSyndEntryFactoryImpl.getSyndEntries(JiraSyndEntryFactoryImpl.java:118)
      at com.atlassian.streams.jira.JiraStreamsActivityProvider.getActivityFeed(JiraStreamsActivityProvider.java:113)
      at com.atlassian.streams.servlet.StreamsActivityServlet$1.doInTransaction(StreamsActivityServlet.java:118)
      at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
      at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)
      at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      at $Proxy229.doInTransaction(Unknown Source)

      and

      2010-01-05 09:16:53,743 http-8080-Processor20 ERROR xxxxxxx 33411x645x1 z82x4w http://localhost:8080/plugins/servlet/streams [core.util.thumbnail.Thumber] Unable to create thumbnail image for id 11849
      javax.imageio.IIOException: Unsupported Image Type
      at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:922)
      at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:897)
      at javax.imageio.ImageIO.read(ImageIO.java:1422)
      at javax.imageio.ImageIO.read(ImageIO.java:1326)
      at com.atlassian.core.util.thumbnail.Thumber.getImage(Thumber.java:281)
      at com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:241)
      at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:215)
      at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:86)
      at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnail(DefaultThumbnailManager.java:104)
      at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnails(DefaultThumbnailManager.java:50)
      at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:70)
      at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28)
      at $Proxy92.getThumbnails(Unknown Source)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                astuckey Adam Stuckey [Atlassian]
              • Votes:
                14 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: