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

NullPointerException #8

Open
PGMacDesign opened this issue Jul 26, 2016 · 0 comments
Open

NullPointerException #8

PGMacDesign opened this issue Jul 26, 2016 · 0 comments

Comments

@PGMacDesign
Copy link

Hello, I am getting a null pointer exception when I try to invoke the start method on the object. I have it defined in the xml to match your sample exactly. In the java, it looks like this:

https://gist.github.com/PGMacDesign/cc08dda8b5e177dda770fea51fa05c53

Any clue as to why the stacktrace is reading this? :

07-26 09:19:20.114 2860-2860/com.testing.stuff E/UncaughtException: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mastermatchmakers.trust.lovelab/com.mastermatchmakers.trust.lovelab.misc.TestActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.github.glomadrian.roadrunner.painter.indeterminate.IndeterminatePathPainter.start()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5456)
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)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void com.github.glomadrian.roadrunner.painter.indeterminate.IndeterminatePathPainter.start()' on a null object reference
at com.github.glomadrian.roadrunner.IndeterminateRoadRunner.start(IndeterminateRoadRunner.java:110)
at com.mastermatchmakers.trust.lovelab.misc.TestActivity.onCreate(TestActivity.java:80)
at android.app.Activity.performCreate(Activity.java:6245)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490) 
at android.app.ActivityThread.-wrap11(ActivityThread.java) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:148) 
at android.app.ActivityThread.main(ActivityThread.java:5456) 
at java.lang.reflect.Method.invoke(Native Method) 

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