Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Prevent NPEs when tab document is null #4596
There are two other places where null doc can be a problem. One is main error checker loop, it uses docs to get tab contents. It will spit an exception into console, but keep running. Other place is Rename, it will also spit an exception and do nothing. I need to revise this later and make sure there are some clear rules how document works.
Edit: this is only a problem in JavaMode, after running Tweak Mode