I am receiving the error "Value cannot be null. Parameter name: ipString" when going to the Interfaces page in RA/NFA.

Document ID : KB000021759
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem: 

The error below is seen when going to the Interfaces page in RA/NFA.

No results available. An error occured.System.ArgumentNullException: Value cannot be null. Parameter name: ipString at
System.Net.IPAddress.InternalParse(String ipString, Boolean tryParse) at ....

Figure 1

Cause: 

This occurs when the deviceAlias for a router does not get set properly after upgrade.

 

Resolution:

Set the deviceAlias to be the device's IP address.

1. Run the following on the RA/NFA standalone/console to login to Mysql:

mysql -P3308 reporter 

2. Then run the following to set the devicealias value equal to the routeraddress value where there is no value for devicealias:

update routers set devicealias=inet_ntoa(routeraddress), dnsExpireTime=0 where devicealias=''; 

3. Refresh the Interface page and the error should no longer display.