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

NPE in oak-run graph when repository contains bulk segments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4, 1.4.0
    • run

    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

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

            Dates

              Created:
              Updated:
              Resolved: