Java Device Manager and Application Switch Element Manager Error
Posted On Aug 28, 2008 at at 11:09 AM by DophiNortel software usually contains Java such as Java Device Manager and Application Switch Element Manager. Nowadays, I get an error log as below and it leads Java Device Manger (JDM) stop starting somehow.
Symptom:
java.lang.ArrayIndexOutOfBoundsException
C:\Program Files\Nortel\JDM\jre\bin>java -Xmx256m -DEMPATH="C:\Program Files\Nortel\JDM" -jar "C:\Program Files\Nortel\JDM"\jdm.jar
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 6
at com.baynetworks.fswitch.dm.LastOpened.loadDmXmlFile(LastOpened.java:476)
at com.baynetworks.fswitch.dm.DeviceManager.<init>(DeviceManager.java:311)
at com.baynetworks.fswitch.dm.DeviceManager.<init>(DeviceManager.java:133)
at com.baynetworks.fswitch.dm.DeviceManager.<init>(DeviceManager.java:353)
at com.baynetworks.fswitch.dm.DM.main(DM.java:226)
Solution:
- Uninstall JDM
- Rename the folder C:\Documents and setting\user name
- Logout and re-login as the same user name
- Install JDM
In addition, Application Switch Element Manager (ASEM) also has a similar issue with the error message "This application has unexpectedly quit" and the detail window from the error popup shows Java.lang.ArrayIndexOutofBoundsException.
Solution:
Remove the JVM and then re-install ASEM with the JVM. This link has instructions on how to uninstall java from Windows XP.
If the above does not work then try the following:
1. Run regedit and remove everything at baynetworks and below. (HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\baynetworks)
2. Restart ASEM
Note: Those solutions are dedicated for Windows XP, I never try them on Vista.
Ref. : EMS application will not start on Microsoft Windows XP OS.