javax.imageio.IIOException: Unexpected block type 0!

Atlassian JIRA | Michael Tokar | 7 years ago
  1. 0

    Steps to create problematic image: # On a Mac using OS X 10.5 or 10.6 # Use Preview to capture part of the screen (_File > Grab_) # Save the image in GIF format. # Attach the GIF image to a JIRA issue, then open that issue. Problem: * Thumbnail does not appear in image attachments * ERRORS appear in logs: {noformat} 2009-10-28 10:51:57,863 http-8080-Processor21 ERROR [core.util.thumbnail.Thumber] Unable to create thumbnail image for id 10000 javax.imageio.IIOException: Unexpected block type 0! at com.sun.imageio.plugins.gif.GIFImageReader.readMetadata(GIFImageReader.java:721) at com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:954) at javax.imageio.ImageIO.read(ImageIO.java:1400) at javax.imageio.ImageIO.read(ImageIO.java:1322) 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) {noformat} {noformat} 2009-10-28 10:51:57,874 http-8080-Processor21 ERROR [webwork.util.ValueStack] METHOD: "attachment", exception: com.atlassian.jira.exception.AttachmentNotFoundException: null at com.atlassian.jira.issue.managers.DefaultAttachmentManager.getAttachment(DefaultAttachmentManager.java:85) {noformat} {noformat} 2009-10-28 10:51:57,882 http-8080-Processor21 ERROR [webwork.util.ValueStack] METHOD: "latestFile", exception: java.lang.NullPointerException at com.atlassian.jira.web.bean.LatestFileBean.isLatestFile(LatestFileBean.java:44) {noformat} (I attached a full log file for posterity) I tested this against JIRA 3.13.5 and the issue does not occur - this is new in 4.0. Using this method of doing screen grabs works if you save to JPEG instead of GIF.

    Atlassian JIRA | 7 years ago | Michael Tokar
    javax.imageio.IIOException: Unexpected block type 0!
  2. 0

    Steps to create problematic image: # On a Mac using OS X 10.5 or 10.6 # Use Preview to capture part of the screen (_File > Grab_) # Save the image in GIF format. # Attach the GIF image to a JIRA issue, then open that issue. Problem: * Thumbnail does not appear in image attachments * ERRORS appear in logs: {noformat} 2009-10-28 10:51:57,863 http-8080-Processor21 ERROR [core.util.thumbnail.Thumber] Unable to create thumbnail image for id 10000 javax.imageio.IIOException: Unexpected block type 0! at com.sun.imageio.plugins.gif.GIFImageReader.readMetadata(GIFImageReader.java:721) at com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:954) at javax.imageio.ImageIO.read(ImageIO.java:1400) at javax.imageio.ImageIO.read(ImageIO.java:1322) 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) {noformat} {noformat} 2009-10-28 10:51:57,874 http-8080-Processor21 ERROR [webwork.util.ValueStack] METHOD: "attachment", exception: com.atlassian.jira.exception.AttachmentNotFoundException: null at com.atlassian.jira.issue.managers.DefaultAttachmentManager.getAttachment(DefaultAttachmentManager.java:85) {noformat} {noformat} 2009-10-28 10:51:57,882 http-8080-Processor21 ERROR [webwork.util.ValueStack] METHOD: "latestFile", exception: java.lang.NullPointerException at com.atlassian.jira.web.bean.LatestFileBean.isLatestFile(LatestFileBean.java:44) {noformat} (I attached a full log file for posterity) I tested this against JIRA 3.13.5 and the issue does not occur - this is new in 4.0. Using this method of doing screen grabs works if you save to JPEG instead of GIF.

    Atlassian JIRA | 7 years ago | Michael Tokar
    javax.imageio.IIOException: Unexpected block type 0!
  3. 0

    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)

    Atlassian JIRA | 7 years ago | Adam Stuckey [Atlassian]
    javax.imageio.IIOException: Unsupported Image Type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    Atlassian JIRA | 7 years ago | Adam Stuckey [Atlassian]
    javax.imageio.IIOException: Unsupported Image Type
  6. 0

    Steps to reproduce: # Attached the .gif in this issue to a page # Edit the page # Click the image icon to select the gif that was just added to the page Expected Result: The image should show up in the 'Insert Image' dialog Actual Result: The image does not show up in the 'Insert Image' dialog and an error is written to the Confluence log. Error below: 2010-03-02 17:13:12,144 ERROR [http-8302-5] [core.util.thumbnail.Thumber] retrieveOrCreateThumbNail Unable to create thumbnail image for id 589836 -- referer: http://localhost:8302/users/insertimageinpage.action?mode=search&spaceKey=ds&formname=editpageform&fieldname=content&pageId=32799 | url: /download/thumbnails/32799/jiffy.gif | userName: admin javax.imageio.IIOException: Unexpected block type 0! at com.sun.imageio.plugins.gif.GIFImageReader.readMetadata(GIFImageReader.java:722) at com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:794) 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:286) at com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:246) at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:220) at com.atlassian.confluence.pages.thumbnail.DefaultThumbnailManager.getThumbnail(DefaultThumbnailManager.java:93) at com.atlassian.confluence.importexport.resource.ThumbnailDownloadResourceManager.getResourceReader(ThumbnailDownloadResourceManager.java:44) at com.atlassian.confluence.importexport.resource.DelegatorDownloadResourceManager.getResourceReader(DelegatorDownloadResourceManager.java:40) at com.atlassian.confluence.servlet.download.AttachmentDownload.getStreamForDownload(AttachmentDownload.java:55) at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload$StreamResultCallback.doInTransaction(ServeAfterTransactionDownload.java:140) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.getStreamInTransaction(ServeAfterTransactionDownload.java:41) at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:50) at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:30) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:204) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:81) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:427) at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:34) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:637) 2010-03-02 17:13:12,340 INFO [http-8302-5] [confluence.admin.actions.SystemErrorInformationLogger] writeToLog -------------------------- Build Information -------------------------- home = /Users/chrisk/gliffy/confluence/3.0.2/data buildNumber = 1636 upTime = 1 day, 1 hour, 59 minutes, 36 seconds devMode = false supportEntitlementNumber = null version = 3.0.2 Request Unique ID : 825610b7-268b-4138-9dbf-8db5209e07c0 -------------------------- Server Information -------------------------- Application Server: Apache Tomcat/6.0.14 Servlet Version:: 2.5 -------------------------- Database Information -------------------------- Database Dialect: net.sf.hibernate.dialect.HSQLDialect Database Driver Name: org.hsqldb.jdbcDriver Database Driver Version: 1.8 Database Name: HSQL Database Engine Database Version: 1.8.0 Database Latency:0 -------------------------- System Information -------------------------- favouriteColour = Lemon chiffon javaRuntime = Java(TM) SE Runtime Environment jvmInputArgs = -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/Users/chrisk/gliffy/confluence/3.0.2/conf/logging.properties -Djava.endorsed.dirs=/Users/chrisk/gliffy/confluence/3.0.2/endorsed -Dcatalina.base=/Users/chrisk/gliffy/confluence/3.0.2 -Dcatalina.home=/Users/chrisk/gliffy/confluence/3.0.2 -Djava.io.tmpdir=/Users/chrisk/gliffy/confluence/3.0.2/temp operatingSystem = Mac OS X 10.6.2 jvmVersion = 1.0 fileSystemEncoding = MacRoman javaVm = Java HotSpot(TM) 64-Bit Server VM javaVendor = Apple Inc. jvmImplementationVersion = 14.3-b01-101 systemTimezone = America/Los_Angeles appServer = Apache Tomcat tempDirectory = /Users/chrisk/gliffy/confluence/3.0.2/temp date = Tuesday, 02 Mar 2010 time = 17:13:12 jvmVendor = Sun Microsystems Inc. userName = chrisk javaVersion = 1.6.0_17 systemLanguage = en operatingSystemArchitecture = x86_64 workingDirectory = /Users/chrisk/gliffy/confluence/3.0.2 -------------------------- JVM Stats -------------------------- usedMemory = 378241976 usedMemoryInMegabytes = 360 totalMemory = 528482304 freeMemory = 150240328 freeMemoryInMegabytes = 143 totalMemoryInMegabytes = 504 -------------------------- Global Settings -------------------------- numberOfBreadcrumbAncestors = 1 enableSpaceStyles = false webdavUsername = null allowRemoteApi = false allowThreadedComments = true nofollowExternalLinks = true senMissingInLicenseMessageOff = false backupAttachmentsDaily = true gzippingResponse = false sharedMode = false baseUrl = http://localhost:8302 webdavServerUrl = null enableQuickNav = true viewSpaceGoesToSpaceSummary = false globalDefaultLocale = en_GB siteTitle = Confluence enableWysiwyg = true maxThumbWidth = 200 defaultSpaceHomepageTitle = Home indexingLanguage = english maxThumbHeight = 200 allowCamelCase = false emailAddressVisibility = email.address.public defaultEncoding = UTF-8 maxSimultaneousQuickNavRequests = 40 backupDaily = true denyPublicSignup = true maxRssItems = 200 almostSupportPeriodEndMessageOff = false enableDidYouMean = false externalUserManagement = false attachmentMaxSize = 10485760 timeZone = time.zone.America.Los.Angeles baseUrlAdminMessageOff = false webdavPassword = null supportRequestEmail = confluence-autosupportrequests@atlassian.com allowRemoteApiAnonymous = false attachmentDataStore = file.system.based.attachments.storage emailAdminMessageOff = false disableLogo = false maxAttachmentsInUI = 5 dailyBackupDateFormatPattern = yyyy_MM_dd enableOpenSearch = true displayLinkIcons = false addWildcardsToUserAndGroupSearches = true useWysiwygByDefault = true allowTrackbacks = false antiXssMode = true webdavEnabled = false siteHomePage = null dailyBackupFilePrefix = daily-backup- backupPath = /Users/chrisk/gliffy/confluence/3.0.2/data/backups draftSaveInterval = 30000 -------------------------- Cluster Information -------------------------- Not clustered. -------------------------- Enabled Plugins -------------------------- Add Content Menu Sections (confluence.menu.add, Version: 1.0, Installed: bundled) Admin Sections (confluence.sections.admin, Version: 1.0, Installed: bundled) Advanced Macros (confluence.macros.advanced, Version: 1.6.2.10, Installed: bundled) Atlassian UI Plugin (com.atlassian.auiplugin, Version: 1.0.2, Installed: bundled) Attachment Actions (confluence.sections.attachments, Version: 1.0, Installed: bundled) Attachment Extractors (com.atlassian.confluence.plugins.attachmentExtractors, Version: 1.0-SNAPSHOT, Installed: bundled) Basic Macros (confluence.macros.basic, Version: 1.4, Installed: bundled) Browse Menu Items (confluence.sections.browse, Version: 1.0, Installed: bundled) Chart Plugin (confluence.extra.chart, Version: 1.12, Installed: bundled) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.5, Installed: bundled) Code Macro (confluence.macros.code, Version: 1.5, Installed: bundled) Comment Action Sections (confluence.comment.action, Version: 1.0, Installed: bundled) Confluence Atlassian Plugin Repository (confluence.repository.client, Version: 2.1.4, Installed: bundled) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.15, Installed: bundled) Confluence Blogging RPC Plugin (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.4, Installed: bundled) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.2.3, Installed: bundled) Confluence HTML Macros (confluence.macros.html, Version: 1.7.2, Installed: bundled) Confluence PDF Export (com.atlassian.confluence.extra.flyingpdf, Version: 1.2, Installed: bundled) Confluence Remote API (confluence.extra.confluencerpc, Version: 3.0.2, Installed: bundled) Confluence Thread Dump Plugin (com.atlassian.confluence.plugin.threaddump, Version: 1.2, Installed: bundled) Content Action Menu Sections (confluence.content.action.menu, Version: 1.0, Installed: bundled) Content Buttons (confluence.sections.page.temp, Version: 1.0, Installed: bundled) Content Metadata (confluence.sections.content.metadata, Version: 1.0, Installed: bundled) Core Extractors (confluence.extractors.core, Version: 1.4, Installed: bundled) Core Listeners (confluence.listeners.core, Version: 1.3, Installed: bundled) Core Path Converters (confluence.converters.core, Version: 1.0, Installed: bundled) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1, Installed: bundled) Dashboard Macros (confluence.macros.dashboard, Version: 1.12, Installed: bundled) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0, Installed: bundled) Did You Mean Index Building Interface (confluence.sections.admin.indexing, Version: 1.0, Installed: bundled) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 3.2.4, Installed: bundled) Edit Settings Sections (confluence.sections.settings.edit, Version: 1.0, Installed: bundled) Editor Actions (confluence.editor.actions, Version: 1.0, Installed: bundled) EhCache Plugins (confluence.cache.ehcache, Version: 3.0, Installed: bundled) Follow list resources (confluence.sections.user.follow.list, Version: 1.0, Installed: bundled) French language pack (confluence.languages.fr_FR, Version: 1.15, Installed: bundled) German language pack (confluence.languages.de_DE, Version: 1.10, Installed: bundled) Gliffy Plugin for Confluence (com.gliffy.integration.confluence, Version: 2.2_CHRISK_DEV_a, Installed: Mar 2, 2010) Global Dashboard Actions (confluence.sections.dashboard.global, Version: 1.0, Installed: bundled) Global Labels Sections (confluence.sections.labels, Version: 1.0, Installed: bundled) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.5, Installed: bundled) Information Macros (confluence.extra.information, Version: 1.1, Installed: bundled) JIRA Macros (confluence.extra.jira, Version: 2.8.13, Installed: bundled) Layout Macros (confluence.extra.layout, Version: 1.3, Installed: bundled) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.7, Installed: bundled) Live Search Macros (confluence.extra.livesearch, Version: 2.10, Installed: bundled) Lucene Boosting Strategies (confluence.search.lucene.boosting, Version: 1.0, Installed: bundled) News Tabs (confluence.sections.news, Version: 1.0, Installed: bundled) Office Connector plugin (com.atlassian.confluence.extra.officeconnector, Version: 1.5, Installed: bundled) Page Operations (confluence.sections.page.operations, Version: 1.0, Installed: bundled) Page Tabs (confluence.sections.page, Version: 1.0, Installed: bundled) Page Tabs (confluence.search.mappers.lucene, Version: 1.0, Installed: bundled) Page Tree (com.atlassian.confluence.plugins.pagetree, Version: 1.12, Installed: bundled) Page View Links (confluence.sections.page.actions, Version: 1.0, Installed: bundled) Profile Macros (confluence.macros.profile, Version: 1.0, Installed: bundled) Profile Tabs (confluence.sections.profile, Version: 1.0, Installed: bundled) Search Web Interface (confluence.sections.admin.generalconfig, Version: 1.0, Installed: bundled) Search Web Interface (confluence.sections.search.view, Version: 1.0, Installed: bundled) Shared Application Access Layer API (com.atlassian.sal.sal-api-2.0.3, Version: 2.0.3, Installed: bundled) Shared Application Access Layer Confluence Plugin (com.atlassian.sal.confluence, Version: 2.0.3, Installed: bundled) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.3.1, Installed: bundled) Space Actions Sections (confluence.sections.space.actions, Version: 1.0, Installed: bundled) Space Admin Sections (confluence.sections.space.admin, Version: 1.0, Installed: bundled) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0, Installed: bundled) Space Browse Sections (confluence.sections.space.browse, Version: 1.0, Installed: bundled) Space Export Web Interface (confluence.sections.space.export.view, Version: 1.0, Installed: bundled) Space Item Tabs (confluence.sections.space, Version: 1.0, Installed: bundled) Space Labels Sections (confluence.sections.space.labels, Version: 1.0, Installed: bundled) Space Pages Sections (confluence.sections.space.pages, Version: 1.0, Installed: bundled) System Web Resources (confluence.web.resources, Version: 1.0, Installed: bundled) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.10.1, Installed: bundled) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7, Installed: bundled) TinyMCE Editor Plugin (com.atlassian.confluence.tinymceplugin, Version: 3.0.2, Installed: bundled) UWC Importer Admin Panel (com.atlassian.confluence.plugins.uwc.uwcimporter-adminpanel, Version: 1.1, Installed: bundled) User Administration (confluence.admin.user, Version: 1.0, Installed: bundled) User Hover Menu Sections (confluence.user.hover.menu, Version: 1.0, Installed: bundled) User Lister (confluence.extra.userlister, Version: 2.4.3, Installed: bundled) User Menu Sections (confluence.user.menu, Version: 1.0, Installed: bundled) User Menu Sections (confluence.user.menu.concise, Version: 1.0, Installed: bundled) User Status (confluence.userstatus, Version: 1.0, Installed: bundled) View Profile Web Interface (confluence.sections.profile.view, Version: 1.0, Installed: bundled) View follow resources (confluence.sections.user.view.follow, Version: 1.0, Installed: bundled) WebDAV Plugin (confluence.extra.webdav, Version: 2.3, Installed: bundled) Widget Connector (com.atlassian.confluence.extra.widgetconnector, Version: 1.2.3, Installed: bundled) Wiki Renderer Components (confluence.renderer.components, Version: 1.0, Installed: bundled) -------------------------- Request Information -------------------------- URL: http://localhost:8302/500page.jsp Scheme: http Server: localhost Port: 8302 URI: /500page.jsp Context Path: Servlet Path: /500page.jsp Path Info: null Query String: null -------------------------- Attributes -------------------------- javax.servlet.forward.request_uri: /download/thumbnails/32799/jiffy.gif javax.servlet.forward.context_path: javax.servlet.forward.servlet_path: /download javax.servlet.forward.path_info: /500page.jsp os_securityfilter_already_filtered: true javax.servlet.error.message: atlassian.core.seraph.original.url: /download/thumbnails/32799/jiffy.gif com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true javax.servlet.error.status_code: 500 javax.servlet.error.servlet_name: file-server javax.servlet.error.exception: java.lang.RuntimeException: java.io.FileNotFoundException: Thumbnail file for attachment jiffy.gif is '/Users/chrisk/gliffy/confluence/3.0.2/data/thumbnails/32799/thumb_jiffy.gif'. But this file does not exist. com.atlassian.gzipfilter.GzipFilter_already_filtered: true javax.servlet.error.request_uri: /download/thumbnails/32799/jiffy.gif loginfilter.already.filtered: true com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true Confluence-Request-Time: 1267578792142 -------------------------- Parameters --------------------------

    Atlassian JIRA | 7 years ago | Gliffy ChrisK
    javax.imageio.IIOException: Unexpected block type 0!

  1. serious2monkeys 3 times, last 1 month ago
  2. rexgreenza 10 times, last 3 months ago
  3. ptrstovka 2 times, last 8 months ago
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.imageio.IIOException

    Unexpected block type 0!

    at com.sun.imageio.plugins.gif.GIFImageReader.readMetadata()
  2. Java RT
    ImageIO.read
    1. com.sun.imageio.plugins.gif.GIFImageReader.readMetadata(GIFImageReader.java:721)
    2. com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:954)
    3. javax.imageio.ImageIO.read(ImageIO.java:1400)
    4. javax.imageio.ImageIO.read(ImageIO.java:1322)
    4 frames
  3. com.atlassian.core
    Thumber.retrieveOrCreateThumbNail
    1. com.atlassian.core.util.thumbnail.Thumber.getImage(Thumber.java:281)
    2. com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:241)
    3. com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:215)
    4. com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:86)
    4 frames
  4. com.atlassian.jira
    DefaultThumbnailManager.getThumbnails
    1. com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnail(DefaultThumbnailManager.java:104)
    2. com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnails(DefaultThumbnailManager.java:50)
    2 frames