Project

General

Profile

Defect #72

SourceEditor and MarkReader cannot lunch and an Exception is thrown

Added by Hiroya Kubo over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
urgent
Assignee:
Category:
Common
Target version:
Start date:
2010-01-18
Due date:
2010-01-18
% Done:

0%

Estimated time:
1.00 h

Description

sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: java.lang.ClassCastException: net.sqs2.net.ClassURLConnection cannot be cast to java.net.HttpURLConnection
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:251)
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:234)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:148)
at sun.security.validator.Validator.validate(Validator.java:218)
at sun.security.validator.Validator.validate(Validator.java:187)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:515)
at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(AppPolicy.java:241)
at com.sun.javaws.security.AppPolicy.addPermissions(AppPolicy.java:135)
at com.sun.jnlp.JNLPClassLoader.getPermissions(JNLPClassLoader.java:333)
at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:192)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:257)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at net.sqs2.omr.session.broker.impl.PageTaskExecutorSessionServerDispatcher.<init>(PageTaskExecutorSessionServerDispatcher.java:42)
at net.sqs2.omr.app.MarkReaderApp.<init>(MarkReaderApp.java:66)
at net.sqs2.omr.swing.app.MarkReaderGUILauncher.<init>(MarkReaderGUILauncher.java:68)
at net.sqs2.omr.swing.app.MarkReaderGUILauncher.main(MarkReaderGUILauncher.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1321)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1267)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066)
at com.sun.javaws.Launcher.run(Launcher.java:116)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.security.cert.CertPathValidatorException: java.lang.ClassCastException: net.sqs2.net.ClassURLConnection cannot be cast to java.net.HttpURLConnection
at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:139)
at sun.security.provider.certpath.PKIXCertPathValidator.doValidate(PKIXCertPathValidator.java:326)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:178)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:250)
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:246)
... 32 more
Caused by: java.lang.ClassCastException: net.sqs2.net.ClassURLConnection cannot be cast to java.net.HttpURLConnection
at sun.security.provider.certpath.OCSPChecker.check(OCSPChecker.java:319)
at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:117)
... 36 more

History

#1 Updated by Hiroya Kubo over 8 years ago

  • Status changed from Assigned to Rejected
  • Estimated time changed from 2.00 to 1.00

The jdk version which produces this error was old one(1.6.0_16).
It fixes with version up of jdk.

Also available in: Atom PDF