You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Paul Slattery (JIRA)" <ji...@apache.org> on 2009/04/06 17:24:12 UTC

[jira] Commented: (JCR-888) javax.jcr.NamespaceException: : is not a registered namespace uri

    [ https://issues.apache.org/jira/browse/JCR-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696127#action_12696127 ] 

Paul Slattery commented on JCR-888:
-----------------------------------

Hi , 
I am also experiencing this issue indirectly by a project that uses the JackRabbit library.
I'm sorry , but I don't accept that the solution to this is to change JDK. We are currently using IBM SDK on Z linux and this is not an option for us.
 I have made an attempt to fix this in the code , but one unit test is still failing.
Also , can someone please explain why these property files have null entry keys ? It seems to be a strange and non-semantic approach to achieve this configuration.

Paul


> javax.jcr.NamespaceException: : is not a registered namespace uri
> -----------------------------------------------------------------
>
>                 Key: JCR-888
>                 URL: https://issues.apache.org/jira/browse/JCR-888
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.2.3, 1.3
>         Environment: Windows XP, Eclipse 3.1, JRE 1.4.2 and 5.0
>            Reporter: Dave Erickson
>         Attachments: NamespaceRegistryImpl.java.patch
>
>
> Using the first hops with both versions 1.2.3 and 1.3, the repository is created successfully the first time it is run.  Subsequent attempts to login result in a javax.jcr.NamespaceException.
> DEBUG - Initializing transient repository
> INFO - Starting repository...
> INFO - LocalFileSystem initialized at path repository\repository
> Exception in thread "main" javax.jcr.NamespaceException: : is not a registered namespace uri.
> 	at org.apache.jackrabbit.core.NamespaceRegistryImpl.getPrefix(NamespaceRegistryImpl.java:538)
> 	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.checkNamespace(NodeTypeRegistry.java:1292)
> 	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.validateNodeTypeDef(NodeTypeRegistry.java:1415)
> 	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.internalRegister(NodeTypeRegistry.java:1221)
> 	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.<init>(NodeTypeRegistry.java:671)
> 	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.create(NodeTypeRegistry.java:118)
> 	at org.apache.jackrabbit.core.RepositoryImpl.createNodeTypeRegistry(RepositoryImpl.java:571)
> 	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:262)
> 	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584)
> 	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 testing.FirstHops.main(FirstHops.java:24)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.