Patio icon indicating copy to clipboard operation
Patio copied to clipboard

Error on a Motorola Style

Open ghost opened this issue 8 years ago • 0 comments

Upon activating the Camera option to take a picture i get the following exception. But the example is working perfectly fine on a Nexus. patiodemo E/AndroidRuntime: FATAL EXCEPTION: main Process: com.asantibanez.android.patiodemo, PID: 29855 java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.content.Intent.migrateExtraStreamToClipData()' on a null object reference at android.app.Instrumentation.execStartActivity(Instrumentation.java:1572) at android.app.Activity.startActivityForResult(Activity.java:3921) at android.app.Activity.startActivityForResult(Activity.java:3881) at com.asantibanez.android.patiodemo.MainActivity.onTakePictureClick(MainActivity.java:31) at com.andressantibanez.android.patio.Patio.onClick(Patio.java:380) at android.view.View.performClick(View.java:5201) at android.view.View$PerformClick.run(View.java:21163) at android.os.Handler.handleCallback(Handler.java:746) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5443) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

Any help to resolve the issue is appreciated. Thank you!

ghost avatar Jul 09 '16 22:07 ghost