I was working on an empty branch, which I renamed while on it (no changesets as of yet) and now i cannot execute a switch either via the GUI tool or the command line - in both places i get:
Error: Object reference not set to an instance of an object.
Hi, this is a known limitation but there should be a user-friendly error. Are you using the Unity plugin or the Plastic GUI? What version?
Version 10.0.16.8988, and this is the stand alone plastic GUI and cm
command.
cm switch cs:9602
gives the following:
Searching for changed items in the workspace...
Error: Object reference not set to an instance of an object.
How can i fix this workspace? (Iām happy to reset the changes because I shelved them already)
this fixed the problem, specifically i went into the .plastic/plastic.selector
file and changed the smartbranch
line to main
1 Like