Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4453

Upgrade fails and exception is not handled correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • r2.12.18
    • r2.12.21
    • None
    • None

    Description

      Aug 12 11:53:27 s1727 2010-08-12 11:53:27,785 DEBUG [main] nl.myproject.update.modules.support.ModifiableNode - Setting Date property 'common:frontenddate' to value 'Mon Jun 21 13:27:29 CEST 2010'
      Aug 12 11:53:38 s1727 2010-08-12 11:53:38,648 ERROR [main] org.hippoecm.repository.HippoRepository - Error while setting up JCR repository:
      Aug 12 11:53:38 s1727 javax.jcr.RepositoryException: unchecked exception: java.lang.reflect.InvocationTargetException: null: null: null
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:194)
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:154)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
      Aug 12 11:53:38 s1727 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      Aug 12 11:53:38 s1727 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
      Aug 12 11:53:38 s1727 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Aug 12 11:53:38 s1727 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      Aug 12 11:53:38 s1727 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      Aug 12 11:53:38 s1727 at java.lang.reflect.Method.invoke(Method.java:597)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      Aug 12 11:53:38 s1727 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Aug 12 11:53:38 s1727 Caused by: java.lang.reflect.InvocationTargetException
      Aug 12 11:53:38 s1727 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Aug 12 11:53:38 s1727 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      Aug 12 11:53:38 s1727 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      Aug 12 11:53:38 s1727 at java.lang.reflect.Method.invoke(Method.java:597)
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:181)
      Aug 12 11:53:38 s1727 ... 27 more
      Aug 12 11:53:38 s1727 Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      Aug 12 11:53:38 s1727 at java.lang.String.substring(String.java:1937)
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.updater.UpdaterEngine.migrate(UpdaterEngine.java:580)
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:365)
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:265)
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.LocalHippoRepository.<init>(LocalHippoRepository.java:142)
      Aug 12 11:53:38 s1727 at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:150)
      Aug 12 11:53:38 s1727 ... 32 more
      Aug 12 11:53:38 s1727 java.lang.reflect.InvocationTargetException
      Aug 12 11:53:38 s1727 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      Attachments

        Activity

          People

            jreijn Jeroen Reijn (Inactive)
            jreijn Jeroen Reijn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: