Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

char[] java.lang.String.toCharArray() #47

Open
liufei96 opened this issue Dec 21, 2019 · 0 comments
Open

char[] java.lang.String.toCharArray() #47

liufei96 opened this issue Dec 21, 2019 · 0 comments

Comments

@liufei96
Copy link

java.lang.RuntimeException: Unable to resume activity {com.izhuixin.app.xinyi/com.izhuixin.app.xinyi.ui.driver.OrderReceiptActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=26, result=-1, data=Intent { VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)}(has extras) }} to activity {com.izhuixin.app.xinyi/com.izhuixin.app.xinyi.ui.driver.OrderReceiptActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4222)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4324)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3427)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5473)
at android.app.ActivityThread.access$1200(ActivityThread.java:229)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1827)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7326)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=26, result=-1, data=Intent { VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)}(has extras) }} to activity {com.izhuixin.app.xinyi/com.izhuixin.app.xinyi.ui.driver.OrderReceiptActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:4999)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4208)
... 11 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
at java.io.File.fixSlashes(File.java:183)
at java.io.File.(File.java:130)
at com.izhuixin.app.xinyi.ui.driver.OrderReceiptActivity.compressPhoto(OrderReceiptActivity.java:1224)
at com.izhuixin.app.xinyi.ui.driver.OrderReceiptActivity.onActivityResult(OrderReceiptActivity.java:640)
at android.app.Activity.dispatchActivityResult(Activity.java:7165)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4995)
... 12 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant