Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


Design Manager 6.0.1: System Error, Unhandled Exception: Subscript out of bounds.


Record #716

Product Family:  Software

Product Line:  FPGA Core

Problem Title:
Design Manager 6.0.1: System Error, Unhandled Exception: Subscript out
of bounds.



Problem Description:
When invoking the Design Manager, after displaying the
copyright splash screen, a System Error occurs with the
following message:

Unhandled exception: Subscript out of bounds:
TwoByteString(Object)>>subscriptBoundsError:
TwoByteString(Object)>>basicAt:
TwoByteString>>at:
ISO8859L1 String class(ByteEncodedString class)>>decode:
Win32Interface>>getDosEnvironmentAsArrayOfStrings

Cause:
When the Design Manager is invoked, it makes a system call
to read the environment variables.  If there are any
environment variables defined which contain control or
escape characters, the Design Manager will fail with the
above error.  For example, the string "$e" indicates an
escape sequence in the definition of an environment
variable.  The following is an example of an environment
variable and its setting from an autoexec.bat known to
cause the above failure in the Design Manager:
PROMPT	$p $e[1mp$g$e[0m$e[32m$e[K


Solution 1:

Modify the environment variable and remove the offending
control or escape characters.  In the above example, the
following redefinition of the PROMPT variable corrects the
problem:

PROMPT $p$g



Solution 2:

Close the Design Manager.
Open the DSGNMGR.INI file using any text editor(ex: Notepad, DOS editor). The fi
le should be in  WINDOWS directory if the software is running under windows and
WIN95 directory if it is under windows 95. Delete the 'CURRENT=C:\...\project_na
me.prj'..' line from the file.

Open the Design Manager again and open the same project_name.prj file.





End of Record #716

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals!

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents