java.lang.RuntimeException

Unable to start activity ComponentInfo{com.ia.grafp.maturapp2_2/com.ia.grafp.maturapp2_2.ArchitectView}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.wikitude.WikitudeSDK.onCreate(android.content.Context, android.content.Context, com.wikitude.WikitudeSDKStartupConfiguration)' on a null object reference

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ia.grafp.maturapp2_2/com.ia.grafp.maturapp2_2.ArchitectView}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.wikitude.WikitudeSDK.onCreate(android.content.Context, android.content.Context, com.wikitude.WikitudeSDKStartupConfiguration)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3184) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3294) at android.app.ActivityThread.access$1000(ActivityThread.java:210) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1704) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6938) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.wikitude.WikitudeSDK.onCreate(android.content.Context, android.content.Context, com.wikitude.WikitudeSDKStartupConfiguration)' on a null object reference at com.ia.grafp.maturapp2_2.ArchitectView.onCreate(ArchitectView.java:46) at android.app.Activity.performCreate(Activity.java:6575) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3137)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

No Bugmate found.