Replies: 7 comments
-
This line in the callstack:
Indicates that it is executing this (Java) code, which is related to when the application is installed over a previous version:
Which is an odd thing to happen if the device is booting up. Can you provide a project or compiled .apk that demonstrates this issue? |
Beta Was this translation helpful? Give feedback.
-
Here is a apk |
Beta Was this translation helpful? Give feedback.
-
The manifest in your project is not right. You have 2 application entries when there should be only one. Are you using the If you are manually modifying |
Beta Was this translation helpful? Give feedback.
-
if I use the merge on command line I have got the same result |
Beta Was this translation helpful? Give feedback.
-
I have merged the manifets manualy and it works |
Beta Was this translation helpful? Give feedback.
-
I've pushed a fix for the merge file.. thanks! |
Beta Was this translation helpful? Give feedback.
-
Dear all,
I try to implement startUpAtBoot to my Android application but I receive the error on startup
java.lang.RuntimeException: Unable to start receiver com.delphiworlds.kastri.DWMultiBroadcastReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.Intent.getFlags()' on a null object reference
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3395)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.app.ActivityThread.-wrap17(Unknown Source:0)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.os.Looper.loop(Looper.java:166)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6861)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:450)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.Intent.getFlags()' on a null object reference
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.app.ContextImpl.startActivity(ContextImpl.java:875)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.app.ContextImpl.startActivity(ContextImpl.java:859)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.content.ContextWrapper.startActivity(ContextWrapper.java:372)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.content.ContextWrapper.startActivity(ContextWrapper.java:372)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at com.delphiworlds.kastri.DWMultiBroadcastReceiver.startApp(DWMultiBroadcastReceiver.java:129)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at com.delphiworlds.kastri.DWMultiBroadcastReceiver.checkStartupIntent(DWMultiBroadcastReceiver.java:178)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at com.delphiworlds.kastri.DWMultiBroadcastReceiver.onReceive(DWMultiBroadcastReceiver.java:344)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3385)
05-23 15:31:36.768 23812 23812 E AndroidRuntime: ... 8 more
Any idea where is the problem ?
Thank you
Jan
Beta Was this translation helpful? Give feedback.
All reactions