This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Configuring OSSO Assertion Provider
    via by User755965-Oracle,
  • java, reflection , innerclass,
    via Stack Overflow by user2142786
  • EJB 3.1 Generic DAO
    via Stack Overflow by ChrisGeo
  • Netbeans visual editor suddenly flawed
    via Stack Overflow by Patrick Reck
  • could not instantiate RegionFactory
    via Stack Overflow by deepakraut
    • java.lang.InstantiationException: at java.lang.Class.newInstance0( at java.lang.Class.newInstance( at at at at at

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown User
    178 times, last one,
    Andreas Häber
    2 times, last one,
    8 times, last one,
    38 more bugmates