Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-844

ArrayStoreException while reregistering existing node types

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.3
    • Component/s: jackrabbit-core
    • Labels:
      None

      Description

      class: NodeTypeManagerImpl
      method: public NodeType[] registerNodeTypes(InputStream in, String contentType, boolean reregisterExisting)

      ...
      return (NodeType[]) nodeTypes.toArray(new NodeTypeDef[nodeTypes.size()]);
      ...

      => should be (I suppose !)

      return (NodeType[]) nodeTypes.toArray(new NodeType[nodeTypes.size()]);

        Attachments

          Activity

            People

            • Assignee:
              stefan@jira Stefan Guggisberg
              Reporter:
              tlevieux Thierry Levieux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: