You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. NPE when Title composite occurs inside Set composite
<Set>
<Title>
<TitleType/>
<TitleText>Hobbit Set</TitleText>
</Title>
</Set>
2.
3.
What is the expected output? What do you see instead?
NPE
Caused by: java.lang.NullPointerException
at com.ebrary.onix.composite.Sets.consume(Sets.java:79)
at org.jonix.JonixTag.consumeChildren(JonixTag.java:119)
at org.jonix.JonixTag.consumeChildren(JonixTag.java:122)
at org.jonix.JonixTag.process(JonixTag.java:39)
at org.jonix.JonixParser$OnChunkListenerImpl.onChunk(JonixParser.java:161)
at org.jonix.JonixChunksHandler.endElement(JonixChunksHandler.java:106)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(XMLDTDValidator.java:2054)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2005)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:879)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2973)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)
at org.jonix.JonixParser.parse(JonixParser.java:197)
at org.jonix.JonixScanner.doScan(JonixScanner.java:154)
at org.jonix.JonixScanner.scan(JonixScanner.java:94)
What version of the product are you using? On what operating system?
JOnix 2.0 Reference tags/ Unix
Please provide any additional information below.
Regards,
RAjat
Original issue reported on code.google.com by rajat.mo...@gmail.com on 10 Mar 2015 at 9:21
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
rajat.mo...@gmail.com
on 10 Mar 2015 at 9:21The text was updated successfully, but these errors were encountered: