org.xmlpull.v1.XmlPullParserException: Unexpected token (position:TEXT %PDF-1.2 10-13 13:36:13.244 6866-11270/com.pehchan.nic.pehchan W/System.err: %���� 10-13 13:36:13.244 6866-11270/com.pehchan.nic.pehchan W/System.err: 1...@4:1 in java.io.InputStreamReader@f345a6f)

  1. 0

    Plz help me in solving this error m getting this error while trying to download pdf file from asmx web service

    Stack Overflow | 2 months ago | priyanka singh
    org.xmlpull.v1.XmlPullParserException: Unexpected token (position:TEXT %PDF-1.2 10-13 13:36:13.244 6866-11270/com.pehchan.nic.pehchan W/System.err: %���� 10-13 13:36:13.244 6866-11270/com.pehchan.nic.pehchan W/System.err: 1...@4:1 in java.io.InputStreamReader@f345a6f)
  2. 0

    XmlpullparserException: Expected a quoted String(position:DOCDECL @1:62 in java.io.Inputstreamreader)

    Stack Overflow | 3 years ago | Riser
    org.xmlpull.v1.XmlPullParserException: Expected a quoted string (position:DOCDECL @1:62 in java.io.InputStreamReader@40912548) 08-16 12:33:11.000: W/System.err(30741): at org.kxml2.io.KXmlParser.readQuotedId(KXmlParser.java:664) 08-16 12:33:11.000: W/System.err(30741): at org.kxml2.io.KXmlParser.readExternalId(KXmlParser.java:643) 08-16 12:33:11.000: W/System.err(30741): at org.kxml2.io.KXmlParser.readDoctype(KXmlParser.java:585)
  3. 0

    How to call .svc webservice hosted on IIS server from Android?

    Stack Overflow | 3 years ago | Mehul Ranpara
    org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null@1:0 in java.io.InputStreamReader@40535160)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot display webservice response in the Activity-XMLPullParserException

    Stack Overflow | 5 years ago | Sai Upadhyayula
    org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null@1:0 in java.io.InputStreamReader@44f518b8)
  6. 0

    ksoap2 on Android XMLPullParserException: Unexpected Token when using 3g connection

    Stack Overflow | 4 years ago | Jens Åström
    org.xmlpull.v1.XmlPullParserException: Unexpected token (position:TEXT jsoapenv:Env...@1:248 in java.io.InputStreamReader@4164ce20)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xmlpull.v1.XmlPullParserException

    Unexpected token (position:TEXT %PDF-1.2 10-13 13:36:13.244 6866-11270/com.pehchan.nic.pehchan W/System.err: %���� 10-13 13:36:13.244 6866-11270/com.pehchan.nic.pehchan W/System.err: 1...@4:1 in java.io.InputStreamReader@f345a6f)

    at org.kxml2.io.KXmlParser.next()
  2. kXML 2 is a small XML pull parser based on the common XML pull API
    KXmlParser.nextTag
    1. org.kxml2.io.KXmlParser.next(KXmlParser.java:432)
    2. org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
    3. org.kxml2.io.KXmlParser.nextTag(KXmlParser.java:2048)
    3 frames
  3. Meets Magento connector
    HttpTransportSE.call
    1. org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:126)
    2. org.ksoap2.transport.Transport.parseResponse(Transport.java:63)
    3. org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:100)
    3 frames
  4. com.pehchan.nic
    OtpActivity$propdetail1.doInBackground
    1. com.pehchan.nic.pehchan.OtpActivity$propdetail1.doInBackground(OtpActivity.java:224)
    2. com.pehchan.nic.pehchan.OtpActivity$propdetail1.doInBackground(OtpActivity.java:168)
    2 frames
  5. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  6. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  7. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
    1 frame
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames