[ https://issues.apache.org/jira/browse/JENA-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259248#comment-14259248 ]
Bruno P. Kinoshita commented on JENA-355: ----------------------------------------- This issue has probably been fixed already. Just tried to reproduce Jos' steps. {noformat} kinow@chuva:/tmp/eyeball/target$ echo '<a/>' > a.xml kinow@chuva:/tmp/eyeball/target$ java -jar eyeball-2.4.0-SNAPSHOT-exec.jar -check a.xml WARN [main] (RDFDefaultErrorHandler.java:49) - file:a.xml(line 1 column 5): {W104} Unqualified typed nodes are not allowed. Type treated as a relative URI. WARN [main] (RDFDefaultErrorHandler.java:49) - file:a.xml(line 1 column 5): {W136} Relative URIs are not permitted in RDF: specifically <a> On statement: _:b1001 rdf:type a class not declared in any schema: a On statement: _:b1001 rdf:type a eye:badURI: "a" for reason: URI has no scheme kinow@chuva:/tmp/eyeball/target$ {noformat} I think this issue can be closed as Not reproducible, or similar status. Cheers. > eyeball throws exception on simple file > --------------------------------------- > > Key: JENA-355 > URL: https://issues.apache.org/jira/browse/JENA-355 > Project: Apache Jena > Issue Type: Bug > Components: Eyeball > Affects Versions: Jena 2.10.0 > Reporter: Jos > > Running > java -cp > lib/slf4j-api-1.7.2.jar:lib/eyeball.jar:lib/jena-core-2.7.4.jar:lib/xerces-j2.jar:lib/batik-ext.jar:lib/jena-iri-0.9.4.jar > jena.eyeball -check a.xml > with contents of a.xml: "<a/>" gives this exception: > Caused by: java.lang.NullPointerException > at > com.hp.hpl.jena.rdf.arp.impl.XMLHandler.endElement(XMLHandler.java:135) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) > at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(Unknown > Source) > at org.apache.xerces.impl.XMLNamespaceBinder.endElement(Unknown > Source) > at > org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) > at > org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) > at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at > com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.parse(RDFXMLParser.java:155) > at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:173) > at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:160) > at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:232) > at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:99) > at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:241) > at > com.hp.hpl.jena.util.FileManager.readModelWorker(FileManager.java:375) > at > com.hp.hpl.jena.util.FileManager.loadModelWorker(FileManager.java:306) > at com.hp.hpl.jena.util.FileManager.loadModel(FileManager.java:258) > at > com.hp.hpl.jena.eyeball.inspectors.VocabularyInspector.<init>(VocabularyInspector.java:50) > at > com.hp.hpl.jena.eyeball.inspectors.VocabularyInspector.<init>(VocabularyInspector.java:37) > ... 42 more -- This message was sent by Atlassian JIRA (v6.3.4#6332)