Hello,I'm working on some network code, and i want to instantiate an object. I'm sending the EntityType over the network which goes fine. I've got a class called EntityList which holds all the classes and the types (hashmaps). That works good as well. Now the last thing i'm trying to do is instantiate the object with a constructor.

Now it is throwing a "java.lang.reflect.InvocationTargetException". With the .getCause() function i'm trying to debug it, and it is returning a NullPointerException. I take it that it can't find the constructor?Any help would be greatly appreciated!

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org