Kbase P9956: Java.Lang.NumberFormatException -- Error When Adding a Progress Server To The Explorer Tool
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/4/2005 |
|
Status: Unverified
FACT(s) (Environment):
Windows 2000
Progress 9.1X
SYMPTOM(s):
Java.Lang.NumberFormatException
When trying to add a Progress Server to Progress explorer, the following error is displayed:
An exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediately.
java.lang.NumberFormatException
java.lang.NumberFormatException
at java/lang/Byte.parseByte
at.com/progress/common/util/crypto.asBytes
at.com/progress/common/util/crypto.decrypt
at.com/progress/vj/explorer/ProgressServer.setPassword
at.com/progress/vj/explorer/ProgressExplorer.Load
The server is then created but it is not possible to establish the connection to AdminServer.
CAUSE:
The NumberFormatException is thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
The error is only seen if the password contains special characters (above ASCII 127).
The character limitation is in the Java Byte class which can only handle characters up to ASCII 127.
FIX:
In order to avoid the error, make sure that the password does not contain any special characters.
In case the error does not go away, after changing the password - make sure you have deleted temporary files, under MMC -> file -> options.