Error: ExpatParser$ParseException

LeJon

Member
Licensed User
Longtime User
Need some help to analyze what the problem can be? Have got a couple of crash errors during the last month.
Error code: org.apache.harmony.xml.ExpatParser$ParseException

Stack traces shows:
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.harmony.xml.ExpatParser$ParseException: At line 10, column 2: mismatched tag
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:193)
at anywheresoftware.b4a.BA$3.run(BA.java:303)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.harmony.xml.ExpatParser$ParseException: At line 10, column 2: mismatched tag
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:802)
at anywheresoftware.b4a.keywords.Common.CallSub2(Common.java:782)
at se.lennovation.widget.polisnyheter.httputilsservice._response_streamfinish(httputilsservice.java:244)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:167)
... 10 more
Caused by: java.lang.RuntimeException: org.apache.harmony.xml.ExpatParser$ParseException: At line 10, column 2: mismatched tag
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:193)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:797)
... 15 more
Caused by: org.apache.harmony.xml.ExpatParser$ParseException: At line 10, column 2: mismatched tag
at org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:515)
at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:474)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:321)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:279)
at anywheresoftware.b4a.objects.SaxParser.parse(SaxParser.java:78)
at anywheresoftware.b4a.objects.SaxParser.Parse(SaxParser.java:71)
at se.lennovation.widget.polisnyheter.widgetservice._urldone(widgetservice.java:499)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:167)
... 16 more
 
Thanks, do you have any suggestion how to catch this and e.g. give an exception handling action before it cause a clossure of the program?
 
Upvote 0
Thanks, I am not able to recreate the error, can only get the error report at the google play developer consol. It could be some of the files that can be downloaded that are corrupt. There are 84 possible to choose from in the app and they are updated daily so I have to keep on trying to get an error myself. The statistics shows about 1 error in 1000 requests so it should not be impossible but will take time.http://www.b4x.com/forum/images/smilies/frown.gif

/Lennart
 
Upvote 0
Back
Top