[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.


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,
  • 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( at org.springframework.util.Assert.notNull( at org.springframework.richclient.table.BeanTableModel.createColumnNames( at org.springframework.richclient.table.BaseTableModel.createColumnInfo( at org.springframework.richclient.table.BeanTableModel.createColumnInfo( at org.springframework.richclient.table.BaseTableModel.<init>( at org.springframework.richclient.table.BaseTableModel.<init>( at org.springframework.richclient.table.BeanTableModel.<init>( at com.wplex.common.client.ui.BaseTableModel.<init>(

    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,
    3 times, last one
    2 times, last one
    121 times, last one
    190 more bugmates