I’m running into an exception where there’s someho...
# klaxon
d
I’m running into an exception where there’s somehow a null PathMatcher. It’s not clear what my app could be doing to add a null PathMatcher to the list so I was hoping someone in this channel might have some insight. This is on version 5.0.5 and the stack trace is:
Copy code
java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.beust.klaxon.PathMatcher.pathMatches(java.lang.String)' on a null object reference
       at com.beust.klaxon.World.foundValue$klaxon(World.kt:97)
       at com.beust.klaxon.KlaxonParser$1$5.invoke(KlaxonParser.kt:105)
       at com.beust.klaxon.KlaxonParser$1$5.invoke(KlaxonParser.kt:9)
       at com.beust.klaxon.StateMachine.next(StateMachine.kt:20)
       at com.beust.klaxon.KlaxonParser.fullParseLoop(KlaxonParser.kt:63)
       at com.beust.klaxon.KlaxonParser.parse(KlaxonParser.kt:25)
       [app code calls .parse]