You are telling it to open the crafting table menu instead of your EggingTableGui?
Since your block is not a crafting table block, it will close the gui in its stillValid() check.
The error does not really identify a mod.
But it could be flywheel since that modifies the code in this area, or it could be a conflict with optifine?
Check you have the latest version of flywheel and try without optifine.
One of your config files is invalid/corrupted.
If you don't have a backup of the file, you can delete it and it should be recreated with default values.