Closed flyxianable closed 2 years ago
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getPath()' on a null object reference top.zibin.luban.Luban$Builder$3.getPath(Luban.java:289) top.zibin.luban.Luban.compress(Luban.java:178) top.zibin.luban.Luban.access$700(Luban.java:21) top.zibin.luban.Luban$1.run(Luban.java:135) android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) java.lang.Thread.run(Thread.java:764)
程序问题,不是luba的报错。
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getPath()' on a null object reference top.zibin.luban.Luban$Builder$3.getPath(Luban.java:289) top.zibin.luban.Luban.compress(Luban.java:178) top.zibin.luban.Luban.access$700(Luban.java:21) top.zibin.luban.Luban$1.run(Luban.java:135) android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) java.lang.Thread.run(Thread.java:764)