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

[BUG] No static field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter #210

Open
LunevNF opened this issue Oct 22, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@LunevNF
Copy link

LunevNF commented Oct 22, 2022

skrapeit-1.3.0-alpha.1

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/org.apache.http.legacy.jar)
		at org.apache.http.impl.nio.codecs.DefaultHttpRequestWriterFactory.<init>(DefaultHttpRequestWriterFactory.java:53)
		at org.apache.http.impl.nio.codecs.DefaultHttpRequestWriterFactory.<init>(DefaultHttpRequestWriterFactory.java:57)
		at org.apache.http.impl.nio.codecs.DefaultHttpRequestWriterFactory.<clinit>(DefaultHttpRequestWriterFactory.java:47)
		at org.apache.http.impl.nio.conn.ManagedNHttpClientConnectionFactory.<init>(ManagedNHttpClientConnectionFactory.java:75)
		at org.apache.http.impl.nio.conn.ManagedNHttpClientConnectionFactory.<init>(ManagedNHttpClientConnectionFactory.java:83)
		at org.apache.http.impl.nio.conn.ManagedNHttpClientConnectionFactory.<clinit>(ManagedNHttpClientConnectionFactory.java:64)
		at org.apache.http.impl.nio.client.HttpAsyncClientBuilder.build(HttpAsyncClientBuilder.java:688)
		at io.ktor.client.engine.apache.ApacheEngine.prepareClient(ApacheEngine.kt:78)
		at io.ktor.client.engine.apache.ApacheEngine.<init>(ApacheEngine.kt:33)
		at io.ktor.client.engine.apache.Apache.create(Apache.kt:19)
		at io.ktor.client.HttpClientKt.HttpClient(HttpClient.kt:41)
		at it.skrape.fetcher.HttpFetcher.configuredClient(HttpFetcher.kt:28)
		at it.skrape.fetcher.HttpFetcher.fetch(HttpFetcher.kt:24)
		at it.skrape.fetcher.HttpFetcher.fetch(HttpFetcher.kt:20)
		at it.skrape.fetcher.FetcherConverter.fetch(Scraper.kt:30)
		at it.skrape.fetcher.Scraper.scrape(Scraper.kt:17)
		at it.skrape.fetcher.ScraperKt.response(Scraper.kt:87)
		at video.downloader.saver.story.helpers.HtmlDynamicLoader$extract$extracted$1.invokeSuspend(HtmlDynamicLoader.kt:19)
		at video.downloader.saver.story.helpers.HtmlDynamicLoader$extract$extracted$1.invoke(Unknown Source:8)
		at video.downloader.saver.story.helpers.HtmlDynamicLoader$extract$extracted$1.invoke(Unknown Source:4)
		at it.skrape.fetcher.ScraperKt$skrape$1.invokeSuspend(Scraper.kt:43)
		at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
		at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
		at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
		at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
		at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
		at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
		at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
		at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
		at it.skrape.fetcher.ScraperKt.skrape(Scraper.kt:42)
		at video.downloader.saver.story.helpers.HtmlDynamicLoader.extract(HtmlDynamicLoader.kt:14)
		at video.downloader.saver.story.ui.fragment.browser.BrowserTabFragment$12.doInUIThread(BrowserTabFragment.java:1030)
		at com.arasthel.asyncjob.AsyncJob$1.run(AsyncJob.java:46)
		at android.os.Handler.handleCallback(Handler.java:938)
		at android.os.Handler.dispatchMessage(Handler.java:99)
		at android.os.Looper.loopOnce(Looper.java:226)
		at android.os.Looper.loop(Looper.java:313)
		at android.app.ActivityThread.main(ActivityThread.java:8751)
		at java.lang.reflect.Method.invoke(Native Method)
		at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
		at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
@LunevNF LunevNF added the bug Something isn't working label Oct 22, 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