java.io.IOException: Cannot read the image

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Chuck Burt, 1 year ago
Cannot read the image
via Atlassian JIRA by Chuck Burt, 1 year ago
Cannot read the image
java.io.IOException: Cannot read the image
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager$1.getImage(DefaultThumbnailManager.java:215)
at com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:416)
at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:384)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager$2$1.withInputStream(DefaultThumbnailManager.java:282)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager$2$1.withInputStream(DefaultThumbnailManager.java:278)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.withStreamConsumer(DefaultThumbnailManager.java:432)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.access$700(DefaultThumbnailManager.java:57)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager$2.get(DefaultThumbnailManager.java:277)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager$2.get(DefaultThumbnailManager.java:239)
at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.doGetThumbnail(DefaultThumbnailManager.java:239)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnail(DefaultThumbnailManager.java:159)
at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager.getThumbnail(DefaultThumbnailManager.java:147)
at sun.reflect.GeneratedMethodAccessor525.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:83)
at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28)
at com.sun.proxy.$Proxy188.getThumbnail(Unknown Source)
at sun.reflect.GeneratedMethodAccessor525.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
at com.sun.proxy.$Proxy188.getThumbnail(Unknown Source)
at sun.reflect.GeneratedMethodAccessor525.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
at com.sun.proxy.$Proxy188.getThumbnail(Unknown Source)
at com.atlassian.jira.issue.attachment.AttachmentsCategoriser$AttachmentItemCreator.apply(AttachmentsCategoriser.java:135)
at com.atlassian.jira.issue.attachment.AttachmentsCategoriser$AttachmentItemCreator.apply(AttachmentsCategoriser.java:125)
at java.util.AbstractList$Itr.next(AbstractList.java:358)
at java.util.AbstractCollection.toArray(AbstractCollection.java:141)
at com.google.common.collect.ImmutableList.copyFromCollection(ImmutableList.java:291)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:260)
at com.atlassian.jira.issue.attachment.AttachmentItems.(AttachmentItems.java:22)
at com.atlassian.jira.issue.attachment.AttachmentsCategoriser.items(AttachmentsCategoriser.java:81)
at com.atlassian.jira.plugin.viewissue.AttachmentBlockContextProvider.getContextMap(AttachmentBlockContextProvider.java:116)
at com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.initContextMap(CacheableContextProviderDecorator.java:70)
at com.atlassian.jira.plugin.webfragment.CacheableContextProviderDecorator.getContextMap(CacheableContextProviderDecorator.java:46)
at com.atlassian.jira.plugin.webfragment.contextproviders.MultiContextProvider.getContextMap(MultiContextProvider.java:99)
at com.atlassian.plugin.web.model.AbstractWebItem.getContextMap(AbstractWebItem.java:30)
at com.atlassian.plugin.web.model.DefaultWebLabel.getDisplayableLabel(DefaultWebLabel.java:55)
at com.atlassian.jira.plugin.issuenav.viewissue.webpanel.WebPanelBeanBuilder.getLabel(WebPanelBeanBuilder.java:91)
at com.atlassian.jira.plugin.issuenav.viewissue.webpanel.WebPanelBeanBuilder.builder(WebPanelBeanBuilder.java:72)
at com.atlassian.jira.plugin.issuenav.viewissue.webpanel.WebPanelBeanBuilder.buildWithoutHtml(WebPanelBeanBuilder.java:63)
at com.atlassian.jira.plugin.issuenav.viewissue.webpanel.WebPanelMapperUtil.mapAndRenderPanels(WebPanelMapperUtil.java:90)
at com.atlassian.jira.plugin.issuenav.viewissue.webpanel.WebPanelMapperUtil.create(WebPanelMapperUtil.java:60)
at com.atlassian.jira.plugin.issuenav.action.IssueAction.populateIssueFields(IssueAction.java:163)
at com.atlassian.jira.plugin.issuenav.action.IssueAction.doDefault(IssueAction.java:132)
at sun.reflect.GeneratedMethodAccessor900.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.