java.lang.NullPointerException

Coderanch | M Littlejohn | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NullPointerException at a particular line in code...

    Coderanch | 6 years ago | M Littlejohn
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at mlj.rotas.client.IOParsers.ClientXMLParser_SAX.endElement()
    2. mlj.rotas.client
      ClientXMLParser_SAX.endElement
      1. mlj.rotas.client.IOParsers.ClientXMLParser_SAX.endElement(ClientXMLParser_SAX.java:157)
      1 frame
    3. Java RT
      SAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      8. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      10. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      11. javax.xml.parsers.SAXParser.parse(Unknown Source)
      12. javax.xml.parsers.SAXParser.parse(Unknown Source)
      12 frames
    4. mlj.rotas.client
      ClientXMLParser_SAX.<init>
      1. mlj.rotas.client.IOParsers.ClientXMLParser_SAX.parseDocument(ClientXMLParser_SAX.java:84)
      2. mlj.rotas.client.IOParsers.ClientXMLParser_SAX.<init>(ClientXMLParser_SAX.java:59)
      2 frames
    5. mlj.rotas
      RotaPlanner.main
      1. mlj.rotas.RotaPlanner.<init>(RotaPlanner.java:16)
      2. mlj.rotas.RotaPlanner.main(RotaPlanner.java:44)
      2 frames