Closed GoogleCodeExporter closed 8 years ago
What problem is there with the default java?
Original comment by kai.openhab
on 28 Apr 2013 at 3:01
Maybe it could be also an version problem with openJDK (but it is not so old) ?
If I install the latest Oracle/Sun Java - start the designer is ok.
----------- JAVA Version ----------------
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu2)
OpenJDK Server VM (build 20.0-b12, mixed mode)
-----------------------------------------
----------- Window text ----------------
Failed to find a Main Class in
"/home/openhab/homeautomation/designer//plugins/org.eclipse.equinox.launcher_1.3
.0.v20120522-1813.jar"
------------------------ terminal output -----------
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.text.normalizer.NormalizerBase.decompose(NormalizerBase.java:725)
at sun.text.normalizer.NormalizerBase$NFKDMode.normalize(NormalizerBase.java:366)
at sun.text.normalizer.NormalizerBase.normalize(NormalizerBase.java:1610)
at sun.text.normalizer.NormalizerBase.normalize(NormalizerBase.java:1591)
at java.text.Normalizer.normalize(Normalizer.java:164)
at sun.security.x509.AVA.toRFC2253CanonicalString(AVA.java:1003)
at sun.security.x509.RDN.toRFC2253StringInternal(RDN.java:447)
at sun.security.x509.RDN.toRFC2253String(RDN.java:426)
at sun.security.x509.X500Name.getRFC2253CanonicalName(X500Name.java:731)
at sun.security.x509.X500Name.equals(X500Name.java:417)
at sun.security.pkcs.PKCS7.getCertificate(PKCS7.java:626)
at sun.security.pkcs.SignerInfo.getCertificate(SignerInfo.java:219)
at sun.security.pkcs.SignerInfo.verify(SignerInfo.java:345)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:511)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:528)
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:216)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:294)
at java.util.jar.JarVerifier.update(JarVerifier.java:205)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:338)
at java.util.jar.JarFile.getInputStream(JarFile.java:403)
at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:706)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:266)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Caused by: java.lang.RuntimeException: could not locate data
at sun.text.normalizer.NormalizerImpl.<clinit>(NormalizerImpl.java:61)
... 32 more
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize
class sun.text.normalizer.NormalizerImpl
at sun.text.normalizer.NormalizerBase.decompose(NormalizerBase.java:725)
at sun.text.normalizer.NormalizerBase$NFKDMode.normalize(NormalizerBase.java:366)
at sun.text.normalizer.NormalizerBase.normalize(NormalizerBase.java:1610)
at sun.text.normalizer.NormalizerBase.normalize(NormalizerBase.java:1591)
at java.text.Normalizer.normalize(Normalizer.java:164)
at sun.security.x509.AVA.toRFC2253CanonicalString(AVA.java:1003)
at sun.security.x509.RDN.toRFC2253StringInternal(RDN.java:447)
at sun.security.x509.RDN.toRFC2253String(RDN.java:426)
at sun.security.x509.X500Name.getRFC2253CanonicalName(X500Name.java:731)
at sun.security.x509.X500Name.equals(X500Name.java:417)
at sun.security.pkcs.PKCS7.getCertificate(PKCS7.java:626)
at sun.security.pkcs.SignerInfo.getCertificate(SignerInfo.java:219)
at sun.security.pkcs.SignerInfo.verify(SignerInfo.java:345)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:511)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:528)
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:216)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:294)
at java.util.jar.JarVerifier.update(JarVerifier.java:205)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:338)
at java.util.jar.JarFile.getInputStream(JarFile.java:403)
at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:706)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:266)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize
class sun.text.normalizer.NormalizerImpl
at sun.text.normalizer.NormalizerBase.decompose(NormalizerBase.java:725)
at sun.text.normalizer.NormalizerBase$NFKDMode.normalize(NormalizerBase.java:366)
at sun.text.normalizer.NormalizerBase.normalize(NormalizerBase.java:1610)
at sun.text.normalizer.NormalizerBase.normalize(NormalizerBase.java:1591)
at java.text.Normalizer.normalize(Normalizer.java:164)
at sun.security.x509.AVA.toRFC2253CanonicalString(AVA.java:1003)
at sun.security.x509.RDN.toRFC2253StringInternal(RDN.java:447)
at sun.security.x509.RDN.toRFC2253String(RDN.java:426)
at sun.security.x509.X500Name.getRFC2253CanonicalName(X500Name.java:731)
at sun.security.x509.X500Name.equals(X500Name.java:417)
at sun.security.pkcs.PKCS7.getCertificate(PKCS7.java:626)
at sun.security.pkcs.SignerInfo.getCertificate(SignerInfo.java:219)
at sun.security.pkcs.SignerInfo.verify(SignerInfo.java:345)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:511)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:528)
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:216)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:294)
at java.util.jar.JarVerifier.update(JarVerifier.java:205)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:338)
at java.util.jar.JarFile.getInputStream(JarFile.java:403)
at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:706)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:266)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Original comment by joea...@gmail.com
on 28 Apr 2013 at 3:19
Other users seem to be able to run the designer with OpenJDK:
https://code.google.com/p/openhab/issues/detail?id=231
Original comment by kai.openhab
on 28 Apr 2013 at 3:58
Rejecting this as it is no bug in openHAB. If problem remains, it's probably
rather something internal to OpenJDK.
Original comment by kai.openhab
on 19 May 2013 at 7:15
Original issue reported on code.google.com by
joea...@gmail.com
on 28 Apr 2013 at 2:59