cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
647
Views
0
Helpful
1
Replies

CNA: "Error: VLANs" "Index: 0, Size: 0" ?

Does anyone know what is causing this? I see this on:

- Cisco Network Assistant v5.8.5.1

- Cisco Network Assistant v5.8.9.1

 

When I click OK, the VLAN dialog is blank, but if I click Refresh it updates and shows them. I'm afraid to actually edit anything via CNA, as I don't know if CNA is malfunctioning due to the initial error, and may destroy the running config.

 

1 Reply 1

I was not aware that CNA did application logging, but I see this in my user profile:

Application_Log_Wed_May_21_11_17_19_CDT_2014-1400689039821

 

This appears to be the relevant errors. There are no times on these log entries so I don't know if this is exactly it:

 

com.cisco.cpnm.frmwrk.gen.ssh.SSHEngine@4845fb   10.17.0.5 End Calling sendCommand....
com.cisco.cpnm.frmwrk.gen.ssh.SSHEngine@4845fb   10.17.0.5 Calling readDevice....
com.cisco.cpnm.frmwrk.gen.ssh.SSHEngine@4845fb   10.17.0.5 End Calling readDevice....
com.cisco.cpnm.frmwrk.gen.ssh.SSHEngine@4845fb   10.17.0.5 Calling sendCommand....config paging disable
com.cisco.cpnm.frmwrk.gen.ssh.SSHEngine@4845fb   10.17.0.5 End Calling sendCommand....
com.cisco.cpnm.frmwrk.gen.ssh.SSHEngine@4845fb   10.17.0.5 Calling readDevice....
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at com.cisco.cpnm.features.dsbu.defn.vlan.VlanMembershipTask.updateMirrorFromDevice(VlanMembershipTask.java:166)
    at com.cisco.cpnm.frmwrk.gen.wd.WDContainer.updateMirrorFromDevice(WDContainer.java:590)
    at com.cisco.cpnm.frmwrk.gen.wd.WDTabbedPane.updateMirrorFromDevice(WDTabbedPane.java:953)
    at com.cisco.cpnm.frmwrk.gen.wd.WDContainer.updateMirrorFromDevice(WDContainer.java:597)
    at com.cisco.cpnm.frmwrk.gen.wd.WDContainer.updateMirrorFromDevice(WDContainer.java:597)
    at com.cisco.cpnm.frmwrk.gen.wd.WDContainer.updateMirrorFromDevice(WDContainer.java:597)
    at com.cisco.cpnm.frmwrk.gen.wd.WDWidget$2.run(WDWidget.java:1193)
    at java.lang.Thread.run(Unknown Source)
com.cisco.cpnm.frmwrk.gen.ssh.SSHEngine@4845fb   10.17.0.5 End Calling readDevice....

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco