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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by ddietterich
, 1 year ago
subnets.routeTable.location is required and cannot be null.
via Stack Overflow by ddnamaste
, 1 year ago
subnets.routeTable.location is required and cannot be null.
via GitHub by DanyangLinda
, 1 year ago
networkInterfaces.location is required and cannot be null.
via GitHub by milismsft
, 1 month ago
servicePrincipalProfile.secret is required and cannot be null.
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.