Hello! I have tried to get only the number of a string using the replace block, but I get this error:
java.lang.Class java.lang.Object.getClass() on a null object reference
How can I fix it?
Are you sure the problem is from the replace all block ? Also have you updated the extension to the latest version?This error was happening in previous versions as i think?
1 Like
I see what is the problem. I have put the GetComponent block, but I must only the variable “component”
1 Like
Try using if contains/ not contais text block instead of logical equal block
1 Like
Needless. I have already fixed it with this
Happy you find the error .I’ve marked your answer as solution.As this is the actual solution
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.