I'm encountering a NullPointerException in my Java code when trying to access the attributes of an object. I've created an instance of a class and assigned values to its attributes, but I'm still...