javax.imageio.IIOException: Unsupported Image Type

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Adam Stuckey [Atlassian],
  • 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)
    via by Adam Stuckey [Atlassian],
  • 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.
    via by Michael Tokar,
  • 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.
    via by Michael Tokar,
  • 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 --------------------------
    via by Gliffy ChrisK,
  • 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 --------------------------
    via by Gliffy ChrisK,
  • We have found that update the pdfbox library to the last stable version (1.2.1) solve all our current issues with pdf text extraction and improve performance. This could help people that want rely on the DSpace "out-of-box" pdf extractor without using XPDF. Below some samples of exception that go away updating the pdfbox version. Patch attached against trunk r5439 == java.io.IOException: Error: Could not find font(COSName{F1.0}) in map={} at org.pdfbox.util.operator.SetTextFont.process(SetTextFont.java:83) at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215) at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174) at org.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:336) at org.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:259) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139) === java.lang.ClassCastException: org.pdfbox.cos.COSArray cannot be cast to org.pdfbox.cos.COSDictionary at org.pdfbox.filter.FlateFilter.decode(FlateFilter.java:70) at org.pdfbox.cos.COSStream.doDecode(COSStream.java:290) at org.pdfbox.cos.COSStream.doDecode(COSStream.java:243) at org.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:170) at org.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:101) at org.pdfbox.cos.COSStream.getStreamTokens(COSStream.java:132) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:202) at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174) at org.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:336) at org.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:259) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139) ==== java.io.IOException: Unknown colorspace array type:COSName{DeviceRGB} at org.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace(PDColorSpaceFactory.java:116) at org.pdfbox.pdmodel.PDResources.getColorSpaces(PDResources.java:264) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:193) at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174) at org.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:336) at org.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:259) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139) === java.lang.NullPointerException at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:194) at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:182) at org.pdfbox.pdmodel.PDDocumentCatalog.getAllPages(PDDocumentCatalog.java:226) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139) === java.util.zip.ZipException: unknown compression method at java.util.zip.InflaterInputStream.read(Unknown Source) at org.pdfbox.filter.FlateFilter.decode(FlateFilter.java:97) at org.pdfbox.cos.COSStream.doDecode(COSStream.java:290) at org.pdfbox.cos.COSStream.doDecode(COSStream.java:235) at org.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:170) at org.pdfbox.pdfparser.PDFObjectStreamParser.<init>(PDFObjectStreamParser.java:66) at org.pdfbox.cos.COSDocument.dereferenceObjectStreams(COSDocument.java:450) at org.pdfbox.pdmodel.PDDocument.openProtection(PDDocument.java:908) at org.pdfbox.pdmodel.PDDocument.decrypt(PDDocument.java:489) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:204) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139) === java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at java.io.PushbackInputStream.unread(Unknown Source) at org.pdfbox.pdfparser.BaseParser.parseCOSString(BaseParser.java:524) at org.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:873) at org.pdfbox.pdfparser.PDFObjectStreamParser.parse(PDFObjectStreamParser.java:94) at org.pdfbox.cos.COSDocument.dereferenceObjectStreams(COSDocument.java:451) at org.pdfbox.pdmodel.PDDocument.openProtection(PDDocument.java:908) at org.pdfbox.pdmodel.PDDocument.decrypt(PDDocument.java:489) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:204) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139) === java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.InflaterInputStream.fill(Unknown Source) at java.util.zip.InflaterInputStream.read(Unknown Source) at org.pdfbox.filter.FlateFilter.decode(FlateFilter.java:97) at org.pdfbox.cos.COSStream.doDecode(COSStream.java:290) at org.pdfbox.cos.COSStream.doDecode(COSStream.java:235) at org.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:170) at org.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:101) at org.pdfbox.cos.COSStream.getStreamTokens(COSStream.java:132) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:202) at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174) at org.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:336) at org.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:259) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139)
    via by Andrea Bollini,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    serious2monkeys
    serious2monkeys3 times, last one,
    13 more bugmates