Git Product home page Git Product logo

Comments (5)

Sal7one avatar Sal7one commented on June 2, 2024

@CMFerrer Try this

https://stackoverflow.com/a/60150323/6151564

from skrape.it.

CMFerrer avatar CMFerrer commented on June 2, 2024

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.

christian-draeger avatar christian-draeger commented on June 2, 2024

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.

CMFerrer avatar CMFerrer commented on June 2, 2024

#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.

xVemu avatar xVemu commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.