sangupta / nutz

Markdown processor for JVM. Hand-coded parser generates AST and allows for easy addition of extensions.
http://sangupta.com/projects/nutz
2 stars 2 forks source link

Nested unordered lists: nullpointerexception #3

Open cweiske opened 7 years ago

cweiske commented 7 years ago

The following markup produces a NullPointerException:

* Item 1
* Item 2
* Item 3
    * Item 3a
    * Item 3b
    * Item 3c

stack trace:

java.lang.NullPointerException
    at com.sangupta.nutz.Parser.parseList(Parser.java:448)
    at com.sangupta.nutz.Parser.parseLine(Parser.java:244)
    at com.sangupta.nutz.Parser.readLines(Parser.java:192)
    at com.sangupta.nutz.Parser.parse(Parser.java:137)

See https://jira.atlassian.com/browse/CONFSERVER-44227

sangupta commented 7 years ago

@cweiske Was travelling and thus could reply earlier. I have been able to reproduce both the issues and will get a fix in a few days. Thanks for reporting.

cweiske commented 7 years ago

Good that you could reproduce the issue.