Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter; in class Lorg/apache/http/message/BasicLineFormatter[BUG] #187

Open
GibsonRuitiari opened this issue Jun 29, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@GibsonRuitiari
Copy link
Contributor

Describe the bug
I made a library using skrape it v.1.2.1 it works well on JVM (plain console kotlin app) but upon including it in android it crashes.

Code Sample
No 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/org.apache.http.legacy.boot.jar)
Uncaught exception thrown by finalizer
E/System: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.http.nio.pool.AbstractNIOConnPool.shutdown(long)' on a null object reference
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.shutdown(PoolingNHttpClientConnectionManager.java:233)
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.finalize(PoolingNHttpClientConnectionManager.java:213)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:222)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:209)
at java.lang.Thread.run(Thread.java:761)

@GibsonRuitiari GibsonRuitiari added the bug Something isn't working label Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants