Kbase P120946: AdminServer fails to start with error java.lang.NullPointerException.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/11/2006 |
|
Status: Verified
FACT(s) (Environment):
UNIX
SYMPTOM(s):
AdminServer fails to start with error java.lang.NullPointerException.
AdminServer produces error on screen and doesn't start
Exception in thread "main" java.lang.NullPointerException
No messages are sent to the admserv.log file.
CAUSE:
There is corruption within the /etc/hosts file or it is configured for IP that Progress does not support. Although the hosts file may look correct, bad characters or unrecognised formats within the hosts file will cause the AdminServer to fail to start.
FIX:
Recreate the /etc/hosts file manually. Start with a new blank file and manually add the original host file entries into the new file. Do not cut and paste entries from the original hosts file into the new hosts file as hidden characters will be included.
It would be a good idea to begin with just the localhost entry, that it can be determined which one of the other hosts file entries is causing the problem as follows:
127.0.0.1 localhost
192.168.1.1 myhost
For example
If a Linux /etc/hosts file is configured for ipv6 ip version 6, since Progress is not ipv6 compliant - this configuration has not been certified and therefore failing. The ipv6 entries therefore need removing.
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
Once complete, restart the AdminServer.