java.lang.IllegalArgumentException

the age is not right0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web19046

  • via Coderanch by Jeff Verdegan, 9 months ago
    the age is not right0
  • Cannot set property BlockStateInteger{name=age, clazz=class java.lang.Integer, values=[0, 1, 2, 3]} to 7 on block minecraft:nether_wart, it is not an allowed value
  • Cannot set property PropertyInteger{name=age, clazz=class java.lang.Integer, values=[0, 1, 2]} to 3 on block minecraft:cocoa, it is not an allowed value
  • Stack trace

    • java.lang.IllegalArgumentException: the age is not right0 at SuperClass.setAge(SuperClass.java:14) at SuperClass.<init>(SuperClass.java:5) at SuperClass.main(SuperClass.java:37)

    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

    You’re the first here who have seen this exception.