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 'd.a.a.c.c'. Please check the custom implementation. Help can be found @http://commons.apache.org/logging/troubleshooting.html.)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • 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 'd.a.a.c.c'. Please check the custom implementation. Help can be found @http://commons.apache.org/logging/troubleshooting.html.) at d.a.a.c.c.a(Unknown Source) at d.a.a.c.e.run(Unknown Source) at java.security.AccessController.doPrivileged(AccessController.java:45) at d.a.a.c.c.a(Unknown Source) at d.a.a.c.c.a(Unknown Source) at d.a.a.c.c.b(Unknown Source) at com.a.e.a.a.<init>(Unknown Source) at c.b$a.onPreExecute(Unknown Source) at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:587) at android.os.AsyncTask.execute(AsyncTask.java:535) at c.b.a(Unknown Source) at android.support.v4.a.p.onActivityResult(Unknown Source) at ui.QuestionireActivity.onActivityResult(Unknown Source) at android.app.Activity.dispatchActivityResult(Activity.java:6549) at android.app.ActivityThread.deliverResults(ActivityThread.java:4063) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4110) at android.app.ActivityThread.access$1400(ActivityThread.java:177) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1498) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5951) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 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 'd.a.a.c.c'. Please check the custom implementation. Help can be found @http://commons.apache.org/logging/troubleshooting.html. ... 25 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.