[ 
https://issues.apache.org/jira/browse/JENA-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439267#comment-17439267
 ] 

Andy Seaborne commented on JENA-2193:
-------------------------------------

That is not a stacktrace in any useful sense.

A text stacktrace is something that IDE can use to navigate the code. Not an 
image.

> XMLHandler#endElement can throw NPE
> -----------------------------------
>
>                 Key: JENA-2193
>                 URL: https://issues.apache.org/jira/browse/JENA-2193
>             Project: Apache Jena
>          Issue Type: Improvement
>            Reporter: Henry Kuijpers
>            Priority: Major
>         Attachments: screenshot-1.png
>
>
> In our case:
> {code:java}
> package org.apache.jena.rdfxml.xmlinput.impl;
> public class XMLHandler extends ... {
>     public void endElement(String uri, String localName, String rawName) 
> throws SAXException {
>         this.frame.endElement();
>         this.frame = this.frame.getParent();
>         this.frame.afterChild();
>     }
> }
> {code}
> The result of getParent was null, which triggered a NullPointerException. 
> However, maybe the issue is one of the upper layers (I'm not too familiar 
> with all the internals of JENA/RDF and I also don't see any nullability 
> annotations)?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to