Michael Dürig created OAK-4046:
----------------------------------

             Summary: NPE in oak-run graph when repository contains bulk 
segments
                 Key: OAK-4046
                 URL: https://issues.apache.org/jira/browse/OAK-4046
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: run
            Reporter: Michael Dürig
            Assignee: Michael Dürig
             Fix For: 1.3.17


{code}
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)
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to