skrapeit / skrape.it

A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
https://docs.skrape.it
MIT License
813 stars 59 forks source link

[QUESTION] Execution error on some android devices #212

Open jesusma3009 opened 1 year ago

jesusma3009 commented 1 year ago

describe what you want to archive Skrape.it works fine on almost all android devices, but there is a small percentage that generate an exception like this and I don't know how to fix it.

Error report I attach the error that appears. E/System: Uncaught exception thrown by finalizer E/System: java.lang.NullPointerException: Attempt to invoke interface method 'void org.apache.commons.logging.Log.debug(java.lang.Object)' on a null object reference at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.shutdown(PoolingNHttpClientConnectionManager.java:232) at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.finalize(PoolingNHttpClientConnectionManager.java:213) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:190) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:173) at java.lang.Thread.run(Thread.java:818) E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1 Process: dev.jmarin.bibliotecasugr, PID: 3567 java.lang.NoSuchFieldError: No static field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter; in class Lorg/apache/http/message/BasicLineFormatter; or its superclasses (declaration of 'org.apache.http.message.BasicLineFormatter' appears in /system/framework/ext.jar)