Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-888

javax.jcr.NamespaceException: : is not a registered namespace uri

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.3, 1.3
    • Fix Version/s: 2.1.2, 2.2
    • Component/s: jackrabbit-core
    • Labels:
      None
    • Environment:
      IBM JVM 1.6

      Description

      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)

      1. aix-namespace.patch
        14 kB
        Chris Schmidt
      2. NamespaceRegistryImpl.java
        21 kB
        Paul Slattery
      3. NamespaceRegistryImpl.java.patch
        0.6 kB
        Rohnny Moland

        Activity

        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jukka Zitting made changes -
        Fix Version/s 2.1.2 [ 12315228 ]
        Jukka Zitting made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Jukka Zitting [ jukkaz ]
        Fix Version/s 2.2.0 [ 12314844 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Status Reopened [ 4 ] Patch Available [ 10002 ]
        Jukka Zitting made changes -
        Workflow jira [ 12402693 ] no-reopen-closed, patch-avail [ 12467984 ]
        Chris Schmidt made changes -
        Attachment aix-namespace.patch [ 12406783 ]
        Stefan Guggisberg made changes -
        Environment Windows XP, Eclipse 3.1, JRE 1.4.2 and 5.0 IBM JVM 1.6
        Paul Slattery made changes -
        Attachment NamespaceRegistryImpl.java [ 12404740 ]
        Stefan Guggisberg made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Rohnny Moland made changes -
        Attachment NamespaceRegistryImpl.java.patch [ 12379059 ]
        Dave Erickson made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Dave Erickson created issue -

          People

          • Assignee:
            Jukka Zitting
            Reporter:
            Dave Erickson
          • Votes:
            10 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development