Name: rmT116609 Date: 04/08/2002
DESCRIPTION OF THE PROBLEM :
In profile I set export LC_ALL=ru_RU.cp1251
When I run java I get the following error message:
Error occured during initialization of VM
java.lang.NullPointerException
LC_ALL=ru_RU.koi8r works fine
IBM JDK 1.3.0 works fine too
ru_RU.cp1251 locale exists
and was generated:
localedef -c -i ru_RU -f CP1251 ru_RU.CP1251
locale -a | grep ru
ru_RU
ru_RU.cp1251
ru_RU.koi8r
russian
ru_UA
FULL OPERATING SYSTEM VERSION : Linux Slakware 8.0
kernel: 2.4.13
glibc:2.2.3
Also, reproducible on Redhat 7.1 using JDK1.4.0.
The problem is not reproducible on Redhat 7.1 using Sun JDK1.3.1_03.
EXTRA RELEVANT SYSTEM CONFIGURATION :
XFree:4.1.0
Qt:2.3.1
KDE:2.2.2
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Ensure ru_RU.cp1251 exists in your system
2.Set $LC_ALL env variable ru_RU.cp1251
write in /etc/profile
export LC_ALL=ru_RU.cp1251
export LANG=ru_RU.cp1251
3.relogin
4.start java
EXPECTED VERSUS ACTUAL BEHAVIOR :
java must work but error occured
Error occured during initialization of VM
java.lang.NullPointerException
This bug can be reproduced always.
(Review ID: 144299)
======================================================================
- duplicates
-
JDK-4629543 REGRESSION: "java -version" crashes if run under uk_UA locale (lnx)
-
- Closed
-