While I was working in motion layout. I got an error saying
Attempt to invoke virtual method 'int androidx.constraintlayout.motion.widget.MotionScene$Transition.getStartConstraintSetId()' on a null object reference
While I was working in motion layout. I got an error saying
Attempt to invoke virtual method 'int androidx.constraintlayout.motion.widget.MotionScene$Transition.getStartConstraintSetId()' on a null object reference
In the MotionScene I was not writing the spelling of Transition properly. As you can see in line number 107 i was writing Transitionr instead of Transition.