Why newInstance throws InstantiationException in my code?
70195
Can I use Class.newInstance() with constructor arguments?
34696
Why is TargetInvocationException treated as uncaught by the IDE?
103469
Why can't I create a new method in an anonymous inner class?
60819
Instantiating a generic class in Java
1605
What is the reason behind "non-static method cannot be referenced from a static context"?
139332
Cannot instantiate the type Set
103526
TypeLoadException says 'no implementation', but it is implemented
12185
Instantiate a class object with constructor that accepts a string parameter?
56124
Why do I get "Exception; must be caught or declared to be thrown" when I try to compile my Java code?
75941
Initialization of instance fields vs. local variables
289
What is a NullReferenceException, and how do I fix it?
90035
Creating the instance of abstract class or anonymous class
70345
Why does the inner exception reach the ThreadException handler and not the actual thrown exception?
66307
A field initializer cannot reference the nonstatic field, method, or property
155637
Create object instance without invoking constructor?
91050
Why doesn't Java allow to throw a checked exception from static initialization block?
9714
Why does `instanceof` error rather than return `false` when used for 2 incompatible classes?