java.lang.InstantiationException

org.sri.corejava.basic.Jeep

Samebug tips1

tip

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web816

  • via by srinivas srinivasmeenavalli,
  • Stack trace

    • java.lang.InstantiationException: org.sri.corejava.basic.Jeep at java.lang.J9VMInternals.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1325) at org.sri.corejava.basic.ClassLoadingExample.main(ClassLoadingExample.java:8)

    Write tip

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

    Users with the same issue

    Unknown UserUnknown User
    178 times, last one,
    Andreas HäberAndreas Häber
    2 times, last one,
    filpgamefilpgame
    8 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    38 more bugmates