Run Time Issue (after coding the button)

"Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
Note: You will not see another error reported for 5 seconds. after I coded something, it did this? how can I fix this?

Hi

We need to see your Blocks - probably the Blocks you were coding when the error occurred - was this error flagged when you were running the Companion on your phone?

Yes. I will most likely delete this message because I found a different way. Thank you so much though, I appreciate you answering this quickly:)

Still, you should share the problem and the solution, it might help someone some day.

1 Like

ok yea sorry you're right, should I show all of my code?, I don't really know what the issue is.