java.lang.Error

Unresolved compilation problems: Cannot invoke add(OldAmericanDate) on the array type ArrayList[] Cannot invoke add(OldAmericanDate) on the array type ArrayList[] Cannot invoke add(USAbbreviateDate) on the array type ArrayList[] Cannot invoke add(USAbbreviateDate) on the array type ArrayList[] Cannot invoke add(EuroAbbreviateDate) on the array type ArrayList[] Cannot invoke add(EuroAbbreviateDate) on the array type ArrayList[]

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web23

  • via Unknown by 807594,
  • via Unknown by nik...@cc.gatech.edu,
  • via Unknown by 843793,
  • Stack trace

    • java.lang.Error: Unresolved compilation problems: Cannot invoke add(OldAmericanDate) on the array type ArrayList[] Cannot invoke add(OldAmericanDate) on the array type ArrayList[] Cannot invoke add(USAbbreviateDate) on the array type ArrayList[] Cannot invoke add(USAbbreviateDate) on the array type ArrayList[] Cannot invoke add(EuroAbbreviateDate) on the array type ArrayList[] Cannot invoke add(EuroAbbreviateDate) on the array type ArrayList[] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at com.applications.DateArray.main(DateArray.java:14)

    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 visitor
    Unknown visitorOnce,