Comments (5)
@CMFerrer Try this
https://stackoverflow.com/a/60150323/6151564
from skrape.it.
No luck, I tried to test it but now I get this:
2023-03-02 09:00:20.277 14679-14679 ExampleViewModel com.chiksmedina.desaparecidosper I dj.b: The chosen LogFactory implementation does not extend LogFactory. Please check your configuration. (Caused by java.lang.ClassCastException: The application has specified that a custom LogFactory implementation should be used but Class 'org.apache.commons.logging.impl.LogFactoryImpl' cannot be converted to 'dj.i'. Please check the custom implementation. Help can be found @http://commons.apache.org/logging/troubleshooting.html.)
2023-03-02 09:00:20.278 14679-14679 ExampleViewModel com.chiksmedina.desaparecidosper I java.lang.ExceptionInInitializerError
at c1.a.a(Unknown Source:9)
at oe.f.a(Unknown Source:2)
at oe.n.a(Unknown Source:60)
at l6.v2.l(Unknown Source:60)
at ze.a.t(Unknown Source:8)
at xh.i0.run(Unknown Source:100)
at kotlinx.coroutines.internal.f.run(Unknown Source:11)
at kotlinx.coroutines.scheduling.i.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.a$a.run(Unknown Source:78)
Caused by: dj.b: The chosen LogFactory implementation does not extend LogFactory. Please check your configuration. (Caused by java.lang.ClassCastException: The application has specified that a custom LogFactory implementation should be used but Class 'org.apache.commons.logging.impl.LogFactoryImpl' cannot be converted to 'dj.i'. Please check the custom implementation. Help can be found @http://commons.apache.org/logging/troubleshooting.html.)
at dj.d.run(Unknown Source:400)
at java.security.AccessController.doPrivileged(AccessController.java:43)
at dj.i.j(Unknown Source:5)
at dj.i.c(Unknown Source:838)
at dj.i.e(Unknown Source:0)
at e7.g0.(Unknown Source:2)
at c1.a.a(Unknown Source:9)
at oe.f.a(Unknown Source:2)
at oe.n.a(Unknown Source:60)
at l6.v2.l(Unknown Source:60)
at ze.a.t(Unknown Source:8)
at xh.i0.run(Unknown Source:100)
at kotlinx.coroutines.internal.f.run(Unknown Source:11)
at kotlinx.coroutines.scheduling.i.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.a$a.run(Unknown Source:78)
Caused by: java.lang.ClassCastException: The application has specified that a custom LogFactory implementation should be used but Class 'org.apache.commons.logging.impl.LogFactoryImpl' cannot be converted to 'dj.i'. Please check the custom implementation. Help can be found @http://commons.apache.org/logging/troubleshooting.html.
at dj.d.run(Unknown Source:242)
at java.security.AccessController.doPrivileged(AccessController.java:43)
at dj.i.j(Unknown Source:5)
at dj.i.c(Unknown Source:838)
at dj.i.e(Unknown Source:0)
at e7.g0.(Unknown Source:2)
at c1.a.a(Unknown Source:9)
at oe.f.a(Unknown Source:2)
at oe.n.a(Unknown Source:60)
at l6.v2.l(Unknown Source:60)
at ze.a.t(Unknown Source:8)
at xh.i0.run(Unknown Source:100)
at kotlinx.coroutines.internal.f.run(Unknown Source:11)
at kotlinx.coroutines.scheduling.i.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.a$a.run(Unknown Source:78)
from skrape.it.
Hey, not sure if that is a skrapeit bug or if we can avoid an error like this coming up while using skrapeit in release mode.
But if you are able to find a way I would be interested to have the fox included as part of the library or at least adding a solution to the android example / readme
Do you think this is related to #212 And #205?
Both stack traces also complaining about apache commons stuff
from skrape.it.
#205 works for me, i put these lines on proguard file
-keep class com.gargoylesoftware.** { *; }
-keep class javax.xml.** { *; }
-keep class net.sourceforge.htmlunit.** { *; }
-keep class netscape.** { *; }
-keep class org.apache.** { *; }
-keep class org.htmlunit.org.apache.** { *; }
-keep class org.w3c.dom.** { *; }
-keep class org.xml.sax.** { *; }
from skrape.it.
Hey, not sure if that is a skrapeit bug or if we can avoid an error like this coming up while using skrapeit in release mode. But if you are able to find a way I would be interested to have the fox included as part of the library or at least adding a solution to the android example / readme
I think you can create a proguard file in library with lines listed by CMFerrer.
from skrape.it.
Related Issues (20)
- Three vulnerabilities detected
- [BUG] Crash on Android when using R8 HOT 2
- [BUG] Spring Boot 3.0.0-M5 - new logback version included into Spring Boot causing error HOT 1
- [BUG] No static field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter
- [QUESTION] Execution error on some android devices
- [QUESTION] Tell SkrapeIT to wait until each JavaScript loaded completely HOT 3
- [QUESTION] Getting "Connection refused: no further information" when calls skrape.it exctract methods from submodule HOT 1
- [BUG] mode = Mode.DOM seems to be not working anymore HOT 2
- [BUG] logback.xml in jar HOT 1
- [BUG] Docs typo for async fetcher library
- [BUG] Children of a DocElement from a relaxed Doc should also be relaxed. HOT 2
- [QUESTION] Are there cases where BrowserFetcher does not fully support CSR? HOT 1
- [QUESTION] new version of scrape{it}
- [QUESTION] Preserve cookies between requests?
- [BUG] No cookie header attached when setting cookies in a request
- java.lang.NoClassDefFoundError: Failed resolution of: Lio/ktor/client/features/HttpTimeout; HOT 1
- I am getting this error on android HOT 1
- How to set jsExecution = true for BrowserFetcher HOT 1
- [FEATURE] Add nullable expressions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skrape.it.