7

I'm getting an error

Attempt to invoke virtual method on a null object reference 'int com.android.server.job.controllers.JobStatus.getUid()'

there is a similar question android-job-issues

but I don't know what to do.

this is not simple nullpointerexception,see this: click this picture,you can see it

my question is how to provent this.

this is my error log.

#1 main
java.lang.NullPointerException
Attempt to invoke virtual method 'int    com.android.server.job.controllers.JobStatus.getUid()' on a null object reference
1 android.os.Parcel.readException(Parcel.java:1580)
2 android.os.Parcel.readException(Parcel.java:1527)
3 android.app.job.IJobCallback$Stub$Proxy.jobFinished(IJobCallback.java:167)
4 android.app.job.JobService$JobHandler.handleMessage(JobService.java:147)
5 android.os.Handler.dispatchMessage(Handler.java:102)
6 android.os.Looper.loop(Looper.java:135)
7 android.app.ActivityThread.main(ActivityThread.java:5413)
8 java.lang.reflect.Method.invoke(Native Method)
9 java.lang.reflect.Method.invoke(Method.java:372)
10 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1037)
11 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
android_eng
  • 1,370
  • 3
  • 17
  • 40
Jeryfer
  • 121
  • 5
  • please add you full question with the error from logcat. – W4R10CK Jan 08 '17 at 10:13
  • For those, who also get this issue: links: https://code.google.com/p/android/issues/detail?id=104302 , https://code.google.com/p/android/issues/detail?id=170814 – Anton Shkurenko Jan 11 '17 at 09:35
  • 1
    @AntonShkurenko but there is no answer. I also find this. [https://github.com/facebook/fresco/issues/1622](https://github.com/facebook/fresco/issues/1622) – Jeryfer Jan 12 '17 at 01:52
  • 2
    Why this question is marked as duplicate? @Charu . Because the solution for null pointer can not solve the above issue. – Manmohan Soni Apr 05 '19 at 06:30
  • 1
    why this marked as duplicate? This is android problem.. – Faruk May 25 '19 at 17:27

0 Answers0