Uploaded image for project: '[Read Only] - Hippo GOGREEN'
  1. [Read Only] - Hippo GOGREEN
  2. GOGREEN-408

Starting GoGreen second time raises an exception in the GalleryUpdater

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 3.01.06
    • 3.01.08, 3.02.00
    • None

    Description

      When I start-stop and start gogreen cms again I get the following exception in the log:

      08.02.2011 11:48:46 ERROR [com.onehippo.gogreen.repository.update.GalleryUpdater$2.processImage():199] Could not retrieve image width and/or height
      javax.imageio.IIOException: I/O error reading header!
      at com.sun.imageio.plugins.gif.GIFImageReader.readHeader(GIFImageReader.java:494)
      at com.sun.imageio.plugins.gif.GIFImageReader.locateImage(GIFImageReader.java:556)
      at com.sun.imageio.plugins.gif.GIFImageReader.getWidth(GIFImageReader.java:163)
      at com.onehippo.gogreen.repository.update.GalleryUpdater$2.processImage(GalleryUpdater.java:195)
      at com.onehippo.gogreen.repository.update.GalleryUpdater$2.leaving(GalleryUpdater.java:156)
      at org.hippoecm.repository.ext.UpdaterItemVisitor$Iterated.visit(UpdaterItemVisitor.java:289)
      at org.hippoecm.repository.updater.UpdaterEngine.upgrade(UpdaterEngine.java:799)
      at org.hippoecm.repository.updater.UpdaterEngine.migrate(UpdaterEngine.java:620)
      at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:378)
      at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:278)
      at org.hippoecm.repository.LocalHippoRepository.<init>(LocalHippoRepository.java:155)
      at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:181)
      at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:153)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      Caused by: java.io.EOFException
      at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:339)
      at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:347)
      at com.sun.imageio.plugins.gif.GIFImageReader.readHeader(GIFImageReader.java:464)
      ... 43 more
      08.02.2011 11:48:46 ERROR [com.onehippo.gogreen.repository.update.GalleryUpdater$2.processImage():199] Could not retrieve image width and/or height
      javax.imageio.IIOException: I/O error reading header!
      at com.sun.imageio.plugins.gif.GIFImageReader.readHeader(GIFImageReader.java:494)
      at com.sun.imageio.plugins.gif.GIFImageReader.locateImage(GIFImageReader.java:556)
      at com.sun.imageio.plugins.gif.GIFImageReader.getWidth(GIFImageReader.java:163)
      at com.onehippo.gogreen.repository.update.GalleryUpdater$2.processImage(GalleryUpdater.java:195)
      at com.onehippo.gogreen.repository.update.GalleryUpdater$2.leaving(GalleryUpdater.java:163)
      at org.hippoecm.repository.ext.UpdaterItemVisitor$Iterated.visit(UpdaterItemVisitor.java:289)
      at org.hippoecm.repository.updater.UpdaterEngine.upgrade(UpdaterEngine.java:799)
      at org.hippoecm.repository.updater.UpdaterEngine.migrate(UpdaterEngine.java:620)
      at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:378)
      at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:278)
      at org.hippoecm.repository.LocalHippoRepository.<init>(LocalHippoRepository.java:155)
      at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:181)
      at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:153)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      Caused by: java.io.EOFException
      at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:339)
      at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:347)
      at com.sun.imageio.plugins.gif.GIFImageReader.readHeader(GIFImageReader.java:464)
      ... 43 more

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            vkiran Vijay Kiran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: