java.lang.IllegalArgumentException: subnets.routeTable.location is required and cannot be null.

GitHub | ddietterich | 2 months ago
  1. 0

    Unable to specify route table creating subnet

    Stack Overflow | 2 months ago | ddnamaste
    java.lang.IllegalArgumentException: subnets.routeTable.location is required and cannot be null.
  2. 0

    Unable to add a private subnet to a vnet with route table

    GitHub | 2 months ago | ddietterich
    java.lang.IllegalArgumentException: subnets.routeTable.location is required and cannot be null.
  3. 0

    Unable to update Security Group If it is associated with an Network Interface.

    GitHub | 1 month ago | DanyangLinda
    java.lang.IllegalArgumentException: networkInterfaces.location is required and cannot be null.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The constructor: public BaseTableModel(List rows) { setRows(rows); createColumnInfo(); } is creating the ColumnsInfo before BeanTableModel to set its message attribute, so BeanTableModel.createColumnNames() is thrown java.lang.IllegalArgumentException: 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.BeanTableModel.createColumnNames(BeanTableModel.java:85) at org.springframework.richclient.table.BaseTableModel.createColumnInfo(BaseTableModel.java:72) at org.springframework.richclient.table.BeanTableModel.createColumnInfo(BeanTableModel.java:77) at org.springframework.richclient.table.BaseTableModel.<init>(BaseTableModel.java:44) at org.springframework.richclient.table.BaseTableModel.<init>(BaseTableModel.java:39) at org.springframework.richclient.table.BeanTableModel.<init>(BeanTableModel.java:49) at com.wplex.common.client.ui.BaseTableModel.<init>(BaseTableModel.java:30) Some code: public abstract class BaseTableModel extends BeanTableModel { public BaseTableModel(ValueObject vo, MessageSource messageSource) { super(vo.getClass(), messageSource); } } public class CompanyTableModel extends BaseTableModel { /** * @param messageSource */ public CompanyTableModel(MessageSource messageSource) { super(new CompanyVO(), messageSource); } } Startup: new CompanyTableModel((MessageSource) setApplicationContext().getBean("messageSource"))); //$NON-NLS-1$ Where MessageSource is not null! The createColumnInfo() invocation should be removed from BaseTableModel(List rows) constructor and callers of this constructor should be reviewed to avoid possible bugs. Thanks, Mauro.

    Spring JIRA | 1 decade ago | Mauro Ransolin
    java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it cannot be null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      subnets.routeTable.location is required and cannot be null.

      at com.microsoft.rest.Validator.validate()
    2. com.microsoft.rest
      Validator.validate
      1. com.microsoft.rest.Validator.validate(Validator.java:105)
      1 frame
    3. com.microsoft.azure
      CreatableUpdatableImpl.apply
      1. com.microsoft.azure.management.network.implementation.VirtualNetworksInner.createOrUpdateWithServiceResponseAsync(VirtualNetworksInner.java:472)
      2. com.microsoft.azure.management.network.implementation.VirtualNetworksInner.createOrUpdateAsync(VirtualNetworksInner.java:440)
      3. com.microsoft.azure.management.network.implementation.NetworkImpl.createInner(NetworkImpl.java:202)
      4. com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl.createResourceAsync(GroupableParentResourceImpl.java:53)
      5. com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.updateResourceAsync(CreatableUpdatableImpl.java:189)
      6. com.microsoft.azure.management.resources.fluentcore.model.implementation.CreateUpdateTask.executeAsync(CreateUpdateTask.java:43)
      7. com.microsoft.azure.TaskGroupBase.executeAsync(TaskGroupBase.java:79)
      8. com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.executeTaskGroupAsync(CreatableUpdatableImpl.java:196)
      9. com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.applyAsync(CreatableUpdatableImpl.java:157)
      10. com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.apply(CreatableUpdatableImpl.java:178)
      10 frames