Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1543

Missing ResourceBundlesInstruction resource breaks repository inititialization

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 4.0.0
    • 4.1.0
    • None
    • None
    • Platform Sprint 136

    Description

      javax.jcr.RepositoryException: Failed to read bundle file
        at org.onehippo.repository.bootstrap.instructions.ResourceBundlesInstruction.getBundleFileInfo(ResourceBundlesInstruction.java:90)
        at org.onehippo.repository.bootstrap.instructions.ResourceBundlesInstruction.getContextPaths(ResourceBundlesInstruction.java:76)
        at org.onehippo.repository.bootstrap.instructions.ResourceBundlesInstruction.initializeItem(ResourceBundlesInstruction.java:56)
        at org.onehippo.repository.bootstrap.InitializeItem.initialize(InitializeItem.java:464)
        at org.onehippo.repository.bootstrap.Extension.load(Extension.java:69)
      

      The above exception is already thrown and escalated (bubbled up) during ResourceBundlesInstruction#initializeItem, which breaks the repository bootstrap.

      Instead (like for the other bootstrap Instruction types) such error should be trapped here and only escalated (bubbled up) during the actual execution of the instruction.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adouma Ate Douma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: