I am programming an application and in a certain part when I compile this error appears:
error: constructor HistoryObject in class HistoryObject can not be applied to given types; required: String found: String, Object reason: actual and formal argument lists differ in length
How can I resolve it?