Facing the problem while create the node help me out
I just trying to create the node in the cq and migrating the aem6 to mongodb and supported jars listed below
Oak-jcr-0.9.jar, Oak-core-0.8.jar, oak-mongomk-0.8, oak-mongomk-0.9 by importing the com.mongodb.*, org.apache.jackrabbit.oak.*, and other corresponding packages
and i tried to create the node using the others site help like "http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2013/12/starting_with_apacheoak.html" but the main issues is that after writting the code when i compile the code i am facing the problem like this
"
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.apache.jackrabbit.oak.kernel.KernelNodeState.readProperty(KernelNodeState.java:638)
at org.apache.jackrabbit.oak.kernel.KernelNodeState.init(KernelNodeState.java:180)
at org.apache.jackrabbit.oak.kernel.KernelNodeState.hasChildNode(KernelNodeState.java:262)
at org.apache.jackrabbit.oak.plugins.memory.MutableNodeState.hasChildNode(MutableNodeState.java:268)
at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.hasChildNode(MemoryNodeBuilder.java:262)
at org.apache.jackrabbit.oak.plugins.nodetype.write.InitialContent.initialize(InitialContent.java:52)
at org.apache.jackrabbit.oak.spi.lifecycle.CompositeInitializer.initialize(CompositeInitializer.java:47)
at org.apache.jackrabbit.oak.spi.lifecycle.OakInitializer.initialize(OakInitializer.java:43)
at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:247)
at org.apache.jackrabbit.oak.jcr.Jcr.createRepository(Jcr.java:153)
at CreateCollectiobn.main(CreateCollectiobn.java:100)
Caused by: java.lang.IllegalArgumentException: unknown type: 10
at javax.jcr.PropertyType.nameFromValue(PropertyType.java:92)
at org.apache.jackrabbit.oak.kernel.TypeCodes.<clinit>(TypeCodes.java:40)
... 11 more
"
