Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-392 Improve repository tests
  3. REPO-394

ConfigurationTest logs stacktraces on ERROR level

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.23.02-alpha
    • None
    • None

    Description

      If the ConfigurationTest is successful we should not have errors like these in the console:

      Running org.hippoecm.repository.ConfigurationTest
      21.06.2012 11:57:58 ERROR [org.hippoecm.repository.LoadInitializationModule.refresh():486] configuration as specified by /hippo:configuration/hippo:initialize/testnode failed
      javax.jcr.PathNotFoundException: /test/propnode/hippo:single
      at org.hippoecm.repository.LoadInitializationModule.refresh(LoadInitializationModule.java:400)
      at org.hippoecm.repository.LoadInitializationModule.refresh(LoadInitializationModule.java:198)
      at org.hippoecm.repository.LoadInitializationModule$1.run(LoadInitializationModule.java:168)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      21.06.2012 11:58:03 ERROR [org.hippoecm.repository.LoadInitializationModule.refresh():470] configuration as specified by /hippo:configuration/hippo:initialize/testnode failed
      javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for

      {http://www.onehippo.org/jcr/hippo/nt/2.0.4}

      single
      at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:782)
      at org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:835)
      at org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:435)
      at org.apache.jackrabbit.core.NodeImpl$7.perform(NodeImpl.java:2076)
      at org.apache.jackrabbit.core.NodeImpl$7.perform(NodeImpl.java:2069)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2069)
      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1831)
      at org.hippoecm.repository.decorating.NodeDecorator.setProperty(NodeDecorator.java:139)
      at org.hippoecm.repository.LoadInitializationModule.refresh(LoadInitializationModule.java:423)
      at org.hippoecm.repository.LoadInitializationModule.refresh(LoadInitializationModule.java:198)
      at org.hippoecm.repository.LoadInitializationModule$1.run(LoadInitializationModule.java:168)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      Attachments

        Activity

          People

            svoortman Simon Voortman (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: