I get the same error on occasion. You have to completely close out your Minecraft and then start it back up again. Mine will even (sometimes) give that same error if I decide to resize the default window before I log into Opticraft. Not the server's fault, it's bad coding by Mojang.