java.lang.IllegalArgumentException

[Assertion failed] - this argument is required; it cannot be null

Samebug tips1

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.


rafaelrafael

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

Solutions on the web546

  • via Unknown by Mauro Ransolin,
  • Stack trace

    • java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it cannot be null at org.springframework.util.Assert.notNull(Assert.java:90) at org.springframework.util.Assert.notNull(Assert.java:102) at org.springframework.richclient.table.support.GlazedTableModel.createColumnNames(GlazedTableModel.java:107) at org.springframework.richclient.table.support.GlazedTableModel.createTableFormat(GlazedTableModel.java:133) at org.springframework.richclient.table.support.GlazedTableModel.<init>(GlazedTableModel.java:62) at org.springframework.richclient.table.support.GlazedTableModel.<init>(GlazedTableModel.java:54)

    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,
    AxeloAxelo
    3 times, last one
    derproggerderprogger
    2 times, last one
    tomthomastomthomas
    121 times, last one
    tvrmsmithtvrmsmith
    Once,
    190 more bugmates