I've been looking around the internet for a solution to this problem, but I have not been able to find anything.
Here's my problem: I'm trying to create a basic packet that sends a string. I have been following BendrockMiner's tutorials for the most part, but used diesieben07's tutorial for the packets. Minecraft crashes before it finishes startup, throwing an InstantiationException when I try to register the packet. However, neither the packet nor it's handler are abstract or an interface, and both have a nullary constructor (a constructor with no parameters/arguments). What is causing the problem?