jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rink <kaw...@zimmer428.net>
Subject first hop - RepositoryException
Date Mon, 03 Sep 2007 08:33:30 GMT
Folks;

being rather new to jackrabbit and just about to taking my first steps
here, I started making my way through the "First Hops with Jackrabbit"
document but have to admit I ended up rather soon, while trying to run
FirstHop.java. Stacktrace is posted below; can anyone enlighten me
what's goin' wrong here? Is the First Hops document still up to date at
all? For what I have seen, it refers to using jackrabbit-1.0.jar whereas
I am having 1.3.1 included in my build (using maven2).

Thanks loads for any hints,
Kristian



[Stacktrace]
javax.jcr.RepositoryException: internal error: invalid built-in node
type definition stored in
org/apache/jackrabbit/core/nodetype/builtin_nodetypes.xml: Invalid
namespace reference in a node type definition: Invalid namespace
reference in a node type definition
   at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.loadBuiltInNodeTypeDefs(NodeTypeRegistry.java:799)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.<init>(NodeTypeRegistry.java:741)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.create(NodeTypeRegistry.java:118)
   at
org.apache.jackrabbit.core.RepositoryImpl.createNodeTypeRegistry(RepositoryImpl.java:508)
   at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:255)
   at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:521)
   at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
   at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
   at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
   at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:388)
   at com.mycompany.firsthop.App.main(App.java:18)
Caused by:
org.apache.jackrabbit.core.nodetype.InvalidNodeTypeDefException: Invalid
namespace reference in a node type definition
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.read(NodeTypeReader.java:69)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeDefStore.load(NodeTypeDefStore.java:55)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.loadBuiltInNodeTypeDefs(NodeTypeRegistry.java:787)
   ...10 more
Caused by: org.apache.jackrabbit.name.IllegalNameException: 'nt:base' is
not a valid name
   at org.apache.jackrabbit.name.NameFormat.doParse(NameFormat.java:309)
   at
org.apache.jackrabbit.name.NameFormat.parseIgnoreCache(NameFormat.java:252)
   at org.apache.jackrabbit.name.NameFormat.parse(NameFormat.java:80)
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.getNodeTypeDef(NodeTypeReader.java:133)
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.getNodeTypeDefs(NodeTypeReader.java:116)
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.read(NodeTypeReader.java:67)
   ...12 more
org.apache.jackrabbit.core.nodetype.InvalidNodeTypeDefException: Invalid
namespace reference in a node type definition
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.read(NodeTypeReader.java:69)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeDefStore.load(NodeTypeDefStore.java:55)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.loadBuiltInNodeTypeDefs(NodeTypeRegistry.java:787)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.<init>(NodeTypeRegistry.java:741)
   at
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.create(NodeTypeRegistry.java:118)
   at
org.apache.jackrabbit.core.RepositoryImpl.createNodeTypeRegistry(RepositoryImpl.java:508)
   at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:255)
   at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:521)
   at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:245)
   at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
   at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
   at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:388)
   at com.mycompany.firsthop.App.main(App.java:18)
Caused by: org.apache.jackrabbit.name.IllegalNameException: 'nt:base' is
not a valid name
   at org.apache.jackrabbit.name.NameFormat.doParse(NameFormat.java:309)
   at
org.apache.jackrabbit.name.NameFormat.parseIgnoreCache(NameFormat.java:252)
   at org.apache.jackrabbit.name.NameFormat.parse(NameFormat.java:80)
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.getNodeTypeDef(NodeTypeReader.java:133)
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.getNodeTypeDefs(NodeTypeReader.java:116)
   at
org.apache.jackrabbit.core.nodetype.xml.NodeTypeReader.read(NodeTypeReader.java:67)
   ...12 more

Mime
View raw message