Skip to main content

Runtime exception during java startup

8 replies [Last post]
jurna
Offline
Joined: 2005-06-26
Points: 0

I'm having problems starting Mustang JVM. I have the same problem with 57 and 58 release.
When I type java.exe in command line, I get the exception trace:
Error occurred during initialization of VM
java.lang.ExceptionInInitializerError
at sun.text.Normalizer.getCombiningClass(Normalizer.java:78)
at java.lang.ConditionalSpecialCasing.isMoreAbove(ConditionalSpecialCasing.java:295)
at java.lang.ConditionalSpecialCasing.isConditionMet(ConditionalSpecialCasing.java:159)
at java.lang.ConditionalSpecialCasing.lookUpTable(ConditionalSpecialCasing.java:140)
at java.lang.ConditionalSpecialCasing.toLowerCaseEx(ConditionalSpecialCasing.java:89)
at java.lang.String.toLowerCase(String.java:2280)
at java.lang.String.toLowerCase(String.java:2335)
at java.io.Win32FileSystem.hashCode(Win32FileSystem.java:572)
at java.io.File.hashCode(File.java:1873)
at java.util.HashMap.hash(HashMap.java:271)
at java.util.HashMap.put(HashMap.java:393)
at sun.misc.MetaIndex.registerDirectory(MetaIndex.java:173)
at sun.misc.Launcher$ExtClassLoader$1.run(Launcher.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.Launcher$ExtClassLoader.getExtClassLoader(Launcher.java:120)
at sun.misc.Launcher.(Launcher.java:53)
at sun.misc.Launcher.(Launcher.java:41)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1304)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1286)
Caused by: java.lang.RuntimeException
at sun.text.normalizer.NormalizerImpl.(NormalizerImpl.java:44)
at sun.text.Normalizer.getCombiningClass(Normalizer.java:78)
at java.lang.ConditionalSpecialCasing.isMoreAbove(ConditionalSpecialCasing.java:295)
at java.lang.ConditionalSpecialCasing.isConditionMet(ConditionalSpecialCasing.java:159)
at java.lang.ConditionalSpecialCasing.lookUpTable(ConditionalSpecialCasing.java:140)
at java.lang.ConditionalSpecialCasing.toLowerCaseEx(ConditionalSpecialCasing.java:89)
at java.lang.String.toLowerCase(String.java:2280)
at java.lang.String.toLowerCase(String.java:2335)
at java.io.Win32FileSystem.hashCode(Win32FileSystem.java:572)
at java.io.File.hashCode(File.java:1873)
at java.util.HashMap.hash(HashMap.java:271)
at java.util.HashMap.put(HashMap.java:393)
at sun.misc.MetaIndex.registerDirectory(MetaIndex.java:173)
at sun.misc.Launcher$ExtClassLoader$1.run(Launcher.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.Launcher$ExtClassLoader.getExtClassLoader(Launcher.java:120)
at sun.misc.Launcher.(Launcher.java:53)
at sun.misc.Launcher.(Launcher.java:41)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1304)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1286)

I'm using WinXP Pro whith all latest updates on Centrino machine.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
njs
Offline
Joined: 2004-03-11
Points: 0

Hello,

Just wanted to let you know that the fix for this problem has been incorporated into the Mustang b62 build, which is currently available on java.net.

Naoto

njs
Offline
Joined: 2004-03-11
Points: 0

Thank you for reporting the bug! I filed this problem as the bug 6344646 and will work on this issue.

Naoto

jurna
Offline
Joined: 2005-06-26
Points: 0

Where is this bug submitted? I cannot find it anywhere. I'd like to track it.

ingridy
Offline
Joined: 2004-11-17
Points: 0

You can review this bug on the Java Bug Database at:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6344646

Ingrid

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

wow - looks like something rather fundamental with String is going haywire.

unfortunately I don't own a Centrino machine so I couldn't reproduce this myself - but looks like there is something beyond the standard software / hardware specifications that is going wrong here.

could you provide more information, e.g. the language of WinXP Home/Pro that your laptop is running on?

jurna
Offline
Joined: 2005-06-26
Points: 0

I've made more experiments regarding this bug and was able to make Mustang running on my machine. It seems that it's related to regional settings in Windows.
If Regional and Language Options->Regional Options->Standarts and Formats you set to 'Lithuanian' - you get the exception mentioned above.
Whith English settings everything works fine.
I haven't tried any other regional settings option.

I have Windows XP Pro Pan-European edition Version 5.1.2600

mthornton
Offline
Joined: 2003-06-10
Points: 0

Does anyone know if the file name comparison used by windows is actually locale dependent? It could be rather awkward if you had two distinct files which after a change of locale had effectively identical names.

mthornton
Offline
Joined: 2003-06-10
Points: 0

The answer is that the NTFS file system is NOT locale sensitive when doing comparisons.

http://blogs.msdn.com/michkap/archive/2005/01/16/353873.aspx

Thus the File class should not be using the normal String.toLowerCase method.