java.lang.NullPointerException: Attempt to invoke virtual method 'org.firstinspires.ftc.robotcore.external.matrices.VectorF org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix.getTranslation()' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user173724
, 10 months ago
Attempt to invoke virtual method 'org.firstinspires.ftc.robotcore.external.matrices.VectorF org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix.getTranslation()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'org.firstinspires.ftc.robotcore.external.matrices.VectorF org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix.getTranslation()' on a null object reference
at org.firstinspires.ftc.teamcode.VisionBotAutomBlue$override.runOpMode(VisionBotAutomBlue.java:82)
at org.firstinspires.ftc.teamcode.VisionBotAutomBlue$override.access$dispatch(VisionBotAutomBlue.java)
at org.firstinspires.ftc.teamcode.VisionBotAutomBlue.runOpMode(VisionBotAutomBlue.java:0)
at com.qualcomm.robotcore.eventloop.opmode.LinearOpMode$LinearOpModeHelper$1.run(LinearOpMode.java:303)
at com.qualcomm.robotcore.util.ThreadPool.logThreadLifeCycle(ThreadPool.java:513)
at com.qualcomm.robotcore.eventloop.opmode.LinearOpMode$LinearOpModeHelper.run(LinearOpMode.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.