PQ74660: FIRSTSTEPS LINKS THROWS STRINGINDEXOUTOFBOUNDEXCEPTION.

APAR status
Closed as program error.

Error description
First Steps throws StringIndexOutOfException for the following r
easons. The exception has to handled and also it throw the warni
ng message to the user for the following criteria.
Reason 1 :
- If the default browser information is not there in the
 registry, then it throws the error message.
HKEY_LOCAL_MACHINE>>SOFTWARE>>Classes>>
http>>shell>>open>>command.
The value of this key should point to IE,for example,
"INTERNET_EXPLORER_HOME_DIRECTORY/iexplore.exe"
-nohome
e.g. "c:/Program Files/Internet Explorer/iexplore.exe" -nohome
Note:  the slashes should be opposite.
Reason 2 :
- Type set in the command prompt and check for the TMP
variable and check for the physical directory existance
for the TMP variable. It throws the
java.lang.StringIndexOutOfBoundsException
, if there is no physical directory for the TMP variable.
Reason 3 :
- If the Physical directory exist , then there could be a
possibility for the TMP variable directory with the space.
Example : Set TMP=c:\test\a b\1 . It  throws exception.
If it is TMP=c:\test it works.
Local fix
It might require a CD refresh (If it is an installation code). B
ased on that , it has to be fixed.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0 users of    *
*                 the FirstSteps application on Windows.       *
****************************************************************
* PROBLEM DESCRIPTION: The FirstSteps application tool throws  *
*                      a StringIndexOutOfBoundsException on    *
*                      a Windows operating system when a user  *
*                      clicks on a FirstSteps link.            *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
If the user's default browser, TMP or TEMP system variable is
not set, the following error is thrown when a user clicks on a
FirstSteps link:
java.lang.StringIndexOutOfBoundsException:
String index out of range: -2

The same error occurs if the TMP or TEMP system variable has a
space in the directory path.
Problem conclusion
The FirstSteps code was modified so not having the TMP or TEMP
system variables and default browser set will no longer result
in an error.
Temporary fix Comments
APAR information
APAR number PQ74660
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-05-29
Closed date 2003-08-07
Last modified date 2003-08-07

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
Install          

Publications Referenced

Fix information

Applicable component levels
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ74660
IBM Group: Software Group
Modified date: Aug 7, 2003