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

NPE in oak-run graph when repository contains bulk segments

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4, 1.4.0
    • Component/s: run
    • Labels:

      Description

      Exception in thread "main" java.lang.NumberFormatException: null
      	at java.lang.Long.parseLong(Long.java:404)
      	at java.lang.Long.valueOf(Long.java:540)
      	at org.apache.jackrabbit.oak.plugins.segment.SegmentGraph.asLong(SegmentGraph.java:494)
      	at org.apache.jackrabbit.oak.plugins.segment.SegmentGraph.writeNode(SegmentGraph.java:464)
      	at org.apache.jackrabbit.oak.plugins.segment.SegmentGraph.writeSegmentGraph(SegmentGraph.java:173)
      	at org.apache.jackrabbit.oak.run.GraphCommand.execute(GraphCommand.java:92)
      	at org.apache.jackrabbit.oak.run.Mode.execute(Mode.java:63)
      

      The cause for this is not properly checking the info map before deciding whether to print a bulk or a data node.

        Attachments

          Activity

            People

            • Assignee:
              mduerig Michael Dürig
              Reporter:
              mduerig Michael Dürig
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: