javax.jcr.RepositoryException

The following nodetype change contains non-trivial changes.Up until now only trivial changes are supported. (see javadoc for org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff): org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff[ nodeTypeName={ http://www.endeca.com/jcr/nt/2011 }tool, mixinFlagDiff=NONE, supertypesDiff=NONE, propertyDifferences=[ ], childNodeDifferences=[ org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedNames, type=MAJOR, operation=REMOVED], org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedDescriptions, type=MAJOR, operation=REMOVED], org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedDescriptions, type=TRIVIAL, operation=ADDED], org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedNames, type=TRIVIAL, operation=ADDED] ] ]

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via by Nick Fryer,
  • via by User387251,
  • Stack trace

    • javax.jcr.RepositoryException: The following nodetype change contains non-trivial changes.Up until now only trivial changes are supported. (see javadoc for org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff): org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff[ nodeTypeName={ http://www.endeca.com/jcr
    • t/2011 }tool, mixinFlagDiff=NONE, supertypesDiff=NONE, propertyDifferences=[ ], childNodeDifferences=[ org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedNames, type=MAJOR, operation=REMOVED], org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedDescriptions, type=MAJOR, operation=REMOVED], org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedDescriptions, type=TRIVIAL, operation=ADDED], org.apache.jackrabbit.core.nodetype.NodeTypeDefDiff$ChildNodeDefDiff[itemName={}localizedNames, type=TRIVIAL, operation=ADDED] ] ] at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.reregisterNodeType(NodeTypeRegistry.java:443) at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.reregisterNodeType(NodeTypeRegistry.java:364) at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.registerNodeTypes(NodeTypeManagerImpl.java:591) at org.apache.jackrabbit.commons.cnd.CndImporter.registerNodeTypes(CndImporter.java:118) at org.apache.sling.jcr.base.NodeTypeLoader.registerNodeType(NodeTypeLoader.java:124) at org.apache.sling.jcr.base.internal.loader.Loader.registerNodeTypes(Loader.java:296) at org.apache.sling.jcr.base.internal.loader.Loader.registerBundleInternal(Loader.java:237) at org.apache.sling.jcr.base.internal.loader.Loader.registerBundle(Loader.java:166) at org.apache.sling.jcr.base.internal.loader.Loader.<init>(Loader.java:78) at org.apache.sling.jcr.base.AbstractSlingRepository.setupRepository(AbstractSlingRepository.java:443) at org.apache.sling.jcr.base.AbstractSlingRepository.startRepository(AbstractSlingRepository.java:807) at org.apache.sling.jcr.base.AbstractSlingRepository.activate(AbstractSlingRepository.java:606) 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.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227) at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38) at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591) at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472) at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:146) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226) at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118) at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:997) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:333) at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:157) at org.apache.felix.scr.impl.config.ConfiguredComponentHolder.enableComponents(ConfiguredComponentHolder.java:262) at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:253) at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147) at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111) at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:285) at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:203) at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758) at org.apache.felix.framework.Felix.startBundle(Felix.java:1780) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:619)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.