Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8889

NPE in the oak-run console az:*

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.26.0
    • Component/s: oak-run, segment-azure
    • Labels:
      None

      Description

      The oak-run console can be used with the Azure Segment Store, by providing the az: URL and the secret in an env variable. However, it'll throw a NPE, because of the missing options.getTempDirectory() value in org.apache.jackrabbit.oak.run.cli.SegmentTarFixtureProvider#configureSegment. There's no way to set this value from command line options for oak-run console. We can create a temp directory in this case - it shouldn't be used anyway, that's just a requirement for creating the FileStore.

      //cc: Andrei Dulceanu

        Attachments

          Activity

            People

            • Assignee:
              tomek.rekawek Tomek Rękawek
              Reporter:
              tomek.rekawek Tomek Rękawek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: