java.lang.IllegalArgumentException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web19622

  • subnets.routeTable.location is required and cannot be null.
  • via Stack Overflow by ddnamaste
    , 9 months ago
    subnets.routeTable.location is required and cannot be null.
  • networkInterfaces.location is required and cannot be null.
  • Stack trace

    • java.lang.IllegalArgumentException: subnets.routeTable.location is required and cannot be null. at com.microsoft.rest.Validator.validate(Validator.java:105) at com.microsoft.azure.management.network.implementation.VirtualNetworksInner.createOrUpdateWithServiceResponseAsync(VirtualNetworksInner.java:472) at com.microsoft.azure.management.network.implementation.VirtualNetworksInner.createOrUpdateAsync(VirtualNetworksInner.java:440) at com.microsoft.azure.management.network.implementation.NetworkImpl.createInner(NetworkImpl.java:202) at com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl.createResourceAsync(GroupableParentResourceImpl.java:53) at com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.updateResourceAsync(CreatableUpdatableImpl.java:189) at com.microsoft.azure.management.resources.fluentcore.model.implementation.CreateUpdateTask.executeAsync(CreateUpdateTask.java:43) at com.microsoft.azure.TaskGroupBase.executeAsync(TaskGroupBase.java:79) at com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.executeTaskGroupAsync(CreatableUpdatableImpl.java:196) at com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.applyAsync(CreatableUpdatableImpl.java:157) at com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl.apply(CreatableUpdatableImpl.java:178)

    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

    You’re the first here who have seen this exception.