What is java.lang.InstantiationException? A java.lang.InstantiationException is thrown when JVM cannot instantiate a type at runtime. To make this definition more elaborate. A java.lang.InstantiationException can be thrown when you try to create an instance of a non-instantiable type or a legit concrete class without having nullary constructor, dynamically during runtime … [Read more...] about [Solved] How to fix java.lang.InstantiationException