question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey guys below is my stack trace can you figure out what’s the problem I have added google play services library but only the location one because i am using fused location. Please help and thanks for the library. compile ‘com.google.android.gms:play-services-location:11.0.0’

------------------------------------------------------------stacktrace-----------------------------------------------------------------

06-19 15:00:26.356 4496-4496/? I/JobManager: Found pending job request{id=15, tag=locationJob}, canceling
06-19 15:00:26.369 4496-4496/? I/art: Rejecting re-init on previously-failed class java.lang.Class<com.evernote.android.job.gcm.PlatformGcmService>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/gcm/GcmTaskService;
06-19 15:00:26.369 4496-4496/? I/art:     at boolean com.evernote.android.job.util.GcmAvailableHelper.isGcmApiSupported(android.content.Context) (GcmAvailableHelper.java:-1)
06-19 15:00:26.369 4496-4496/? I/art:     at boolean com.evernote.android.job.util.JobApi.isSupported(android.content.Context) (JobApi.java:146)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.evernote.android.job.JobProxy$Common.cleanUpOrphanedJob(android.content.Context, int) (JobProxy.java:280)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.evernote.android.job.JobManager.schedule(com.evernote.android.job.JobRequest) (JobManager.java:224)
06-19 15:00:26.369 4496-4496/? I/art:     at int com.evernote.android.job.JobRequest.schedule() (JobRequest.java:366)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.startLocationService() (MainActivity.java:102)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.checkGooglePlayServices() (MainActivity.java:76)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.checkPermissions() (MainActivity.java:60)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:33)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
06-19 15:00:26.369 4496-4496/? I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.os.Looper.loop() (Looper.java:154)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
06-19 15:00:26.369 4496-4496/? I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)
06-19 15:00:26.369 4496-4496/? I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.gcm.GcmTaskService" on path: DexPathList[[zip file "/data/app/com.incred.android.location-2/base.apk", zip file "/data/app/com.incred.android.location-2/split_lib_dependencies_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_0_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_1_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_2_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_3_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_4_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_5_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_6_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_7_apk.apk", zip file "/data/app/com.incred.android.location-2/split_lib_slice_8_apk.apk", zip file "/data/app/com.incred.android.location-
06-19 15:00:26.369 4496-4496/? I/art:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
06-19 15:00:26.369 4496-4496/? I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
06-19 15:00:26.369 4496-4496/? I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
06-19 15:00:26.369 4496-4496/? I/art:     at boolean com.evernote.android.job.util.GcmAvailableHelper.isGcmApiSupported(android.content.Context) (GcmAvailableHelper.java:-1)
06-19 15:00:26.369 4496-4496/? I/art:     at boolean com.evernote.android.job.util.JobApi.isSupported(android.content.Context) (JobApi.java:146)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.evernote.android.job.JobProxy$Common.cleanUpOrphanedJob(android.content.Context, int) (JobProxy.java:280)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.evernote.android.job.JobManager.schedule(com.evernote.android.job.JobRequest) (JobManager.java:224)
06-19 15:00:26.369 4496-4496/? I/art:     at int com.evernote.android.job.JobRequest.schedule() (JobRequest.java:366)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.startLocationService() (MainActivity.java:102)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.checkGooglePlayServices() (MainActivity.java:76)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.checkPermissions() (MainActivity.java:60)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.incred.android.location.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:33)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6662)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
06-19 15:00:26.369 4496-4496/? I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2599)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2707)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1460)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.os.Looper.loop() (Looper.java:154)
06-19 15:00:26.369 4496-4496/? I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
06-19 15:00:26.369 4496-4496/? I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:866)
06-19 15:00:26.369 4496-4496/? I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:756)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
vRallevcommented, Jun 19, 2017

That’s described here.

0reactions
zishanjcommented, Mar 28, 2018

I have noticed the similar stack trace when I close the app and my periodic event is going to happen after 15 mins in background. Does this message:

03-28 14:19:19.083 24411-24441/com.alhuda.al_huda_live.debug I/JobManager: Found pending job request{id=6, tag=refreshapp_tag, transient=false}, canceling

means it will cancel the current task? Because I have not seen any trace in log about the processing of current task. After another 15 mins I have seen it to be recorded in the log.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix ClassNotFoundException in Java - Rollbar
The java.lang.ClassNotFoundException is a checked exception in Java that occurs when the JVM tries to load a particular class but does not ......
Read more >
How do I resolve ClassNotFoundException? - Stack Overflow
When you get a ClassNotFoundException, it means the JVM has traversed the entire classpath and not found the class you've attempted to reference....
Read more >
ClassNotFoundException (Java Platform SE 7 )
Thrown when an application tries to load in a class through its string name using: ... but no definition for the class with...
Read more >
How to Solve java.lang.ClassNotFoundException in Java?
ClassNotFoundException is a checked exception and occurs when the Java Virtual Machine (JVM) tries to load a particular class and the ...
Read more >
How to resolve java.lang.ClassNotFoundException in Java ...
Though both of them are related to missing class file when Java tries to load class in Java they are completely different to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found