Android Question Deeplinking problem

davemorris

Active Member
Licensed User
Longtime User
Hi,
I am looking at an application that would benefit from using Deeplinking.
However, there only appears a few references in the forum covering this subject.
I started by attempting to run DonManfred's tutorial on Deeplinking . Sadly, it crashes with the following error report.
Logger connected to: TCL 5010X
--------- beginning of crash
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Action=android.intent.action.MAIN
** Activity (main) Pause, UserClosed = false **
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.donmanfred.deeplinking/org.mobiledeeplinking.android.MobileDeepLinking}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2583)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5765)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at org.mobiledeeplinking.android.MobileDeepLinking.onCreate(MobileDeepLinking.java:73)
at android.app.Activity.performCreate(Activity.java:6301)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2530)
... 9 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Action=android.intent.action.MAIN
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.donmanfred.deeplinking/org.mobiledeeplinking.android.MobileDeepLinking}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2583)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5765)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at org.mobiledeeplinking.android.MobileDeepLinking.onCreate(MobileDeepLinking.java:73)
at android.app.Activity.performCreate(Activity.java:6301)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2530)
... 9 more
*** Service (starter) Create ***
** Service (starter) Start **
--------- beginning of system
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Action=android.intent.action.MAIN
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.donmanfred.deeplinking/org.mobiledeeplinking.android.MobileDeepLinking}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2583)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5765)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at org.mobiledeeplinking.android.MobileDeepLinking.onCreate(MobileDeepLinking.java:73)
at android.app.Activity.performCreate(Activity.java:6301)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2530)
... 9 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Action=android.intent.action.MAIN
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.donmanfred.deeplinking/org.mobiledeeplinking.android.MobileDeepLinking}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2583)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5765)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at org.mobiledeeplinking.android.MobileDeepLinking.onCreate(MobileDeepLinking.java:73)
at android.app.Activity.performCreate(Activity.java:6301)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2530)
... 9 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Action=android.intent.action.MAIN
** Activity (main) Pause, UserClosed = false **
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.donmanfred.deeplinking/org.mobiledeeplinking.android.MobileDeepLinking}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2583)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5765)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Boolean org.mobiledeeplinking.android.MobileDeepLinkingConfig.getLogging()' on a null object reference
at org.mobiledeeplinking.android.MobileDeepLinking.onCreate(MobileDeepLinking.java:73)
at android.app.Activity.performCreate(Activity.java:6301)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2530)
... 9 more

The question is this tutorial too old (or have missed an important stage - which is usually the case!).
Also could someone (if deeplinking is still used) give me a pointer in the right direction for information on how to implement this feature.

Kind regards
Dave Morris
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…