Буквально на днях у некоторых пользователей стала появляться ошибка при запуске NCALayer. При этом он предлагает посмотреть лог для получения детальной информации. Но он просто бесполезен для пользователей, его похоже поймут только сами разработчики NCALayer. Тем не менее прилагаю логи в конце статьи.
Не могу понять, почему это случилось только у части пользователей, но сейчас это не самое важное.
Решение 1
Скачать обновленный дистрибутив с официального сайта http://pki.gov.kz/index.php/ru/ncalayer и установить его.
Примечание: На главной странице до сих пор нет уведомления об обновлении версии. Там до сих пор указана версия 1.0, хотя они обновили ее до 1.1
Решение 2
Если у вас есть интернет и старый дистрибутив, то можете переустановить его, после чего он благополучно запустится, но ровно один раз. После запуска, секунд через 15-30 он сам скажет вам что он обновился и сейчас перезапуститься.
Примечание: Данное решение не работало еще вчера, когда сайт pki.gov.kz был перегружен и порой вообще не открывался.
Логи ncalayer.log
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - NCALayer 1.0
DEBUG [uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JInitialiser] - Your logging framework class ch.qos.logback.classic.Logger should not need access to the standard println methods on the console, so you should not need to register a logging system package.
INFO [uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J] - Replaced standard System.out and System.err PrintStreams with SLF4JPrintStreams
INFO [uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J] - Redirected System.out and System.err to SLF4J for this context
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - Windows 7
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - C:\Users\YourUserName\AppData\Roaming\NCALayer
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - C:\Users\YourUserName\AppData\Roaming\NCALayer\NCALayer.exe
INFO [kz.gov.pki.osgi.layer.core.VerifierKt] - Certificate: [94950444682451613839118848656379848156141275844] [EMAILADDRESS=A_KHAIRULIN@STS.KZ, GIVENNAME=МИНВАЛИЕВИЧ, OU=BIN080540010396, O="РЕСПУБЛИКАНСКОЕ ГОСУДАРСТВЕННОЕ ПРЕДПРИЯТИЕ НА ПРАВЕ ХОЗЯЙСТВЕННОГО ВЕДЕНИЯ \"ГОСУДАРСТВЕННАЯ ТЕХНИЧЕСКАЯ СЛУЖБА\" МИНИСТЕРСТВА ИНФОРМАЦИИ И КОММУНИКАЦИЙ РЕСПУБЛИКИ КАЗАХСТАН", ST=АСТАНА, L=АСТАНА, C=KZ, SERIALNUMBER=IIN761231300313, SURNAME=ХАЙРУЛИН, CN=ХАЙРУЛИН АЙРАТ] [Fri May 25 18:20:14 ALMT 2018]
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - Init from scratch...
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - JAR-Bundles: [/kncabundles/knca_provider_util-0.5.jar, /kncabundles/knca_applet-0.2.2.jar, /kncabundles/kalkancrypt_xmldsig-osgi-0.3.jar, /kncabundles/kalkancrypt-0.4.jar, /kncabundles/NCAWebSocket-0.3.jar, /kncabundles/NCALayerServices-0.3.jar]
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - jar:file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/NCALayer.exe!/kncabundles/knca_provider_util-0.5.jar unpacked.
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - jar:file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/NCALayer.exe!/kncabundles/knca_applet-0.2.2.jar unpacked.
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - jar:file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/NCALayer.exe!/kncabundles/kalkancrypt_xmldsig-osgi-0.3.jar unpacked.
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - jar:file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/NCALayer.exe!/kncabundles/kalkancrypt-0.4.jar unpacked.
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - jar:file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/NCALayer.exe!/kncabundles/NCAWebSocket-0.3.jar unpacked.
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - jar:file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/NCALayer.exe!/kncabundles/NCALayerServices-0.3.jar unpacked.
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - Scanning bundles directory...
INFO [kz.gov.pki.osgi.layer.core.Updater] - JAR: file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/kalkancrypt-0.4.jar
INFO [kz.gov.pki.osgi.layer.core.Updater] - kz.gov.pki.kalkan.knca_provider_jce_kalkan : 0.4.0 is already installed
INFO [kz.gov.pki.osgi.layer.core.Updater] - JAR: file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/kalkancrypt_xmldsig-osgi-0.3.jar
INFO [kz.gov.pki.osgi.layer.core.Updater] - kz.gov.pki.kalkan.xmldsig : 0.3.0 is already installed
INFO [kz.gov.pki.osgi.layer.core.Updater] - JAR: file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/knca_applet-0.2.2.jar
INFO [kz.gov.pki.osgi.layer.core.Updater] - kz.gov.pki.knca.applet.knca_applet : 0.2.2 is already installed
INFO [kz.gov.pki.osgi.layer.core.Updater] - JAR: file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/knca_provider_util-0.5.jar
INFO [kz.gov.pki.osgi.layer.core.Updater] - kz.gov.pki.provider.knca_provider_util : 0.5.0 is already installed
INFO [kz.gov.pki.osgi.layer.core.Updater] - JAR: file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/NCALayerServices-0.3.jar
INFO [kz.gov.pki.osgi.layer.core.Updater] - kz.gov.pki.api.layer.NCALayerServices : 0.3.0 is already installed
INFO [kz.gov.pki.osgi.layer.core.Updater] - JAR: file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/NCAWebSocket-0.3.jar
INFO [kz.gov.pki.osgi.layer.core.Updater] - kz.gov.pki.osgi.layer.websocket : 0.3.0 is already installed
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - org.apache.felix.framework : 5.6.2
INFO [kz.gov.pki.osgi.layer.core.CertCondition] - Condition for kz.gov.pki.kalkan.knca_provider_jce_kalkan is false
ERROR [kz.gov.pki.osgi.layer.core.FelixLogger] - [kz.gov.pki.kalkan.knca_provider_jce_kalkan]: Error starting file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/kalkancrypt-0.4.jar:
org.osgi.framework.BundleException: Unable to resolve kz.gov.pki.kalkan.knca_provider_jce_kalkan [1](R 1.0): missing requirement [kz.gov.pki.kalkan.knca_provider_jce_kalkan [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.crypto) Unresolved requirements: [[kz.gov.pki.kalkan.knca_provider_jce_kalkan [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.crypto)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
INFO [kz.gov.pki.osgi.layer.core.CertCondition] - Condition for kz.gov.pki.kalkan.xmldsig is false
ERROR [kz.gov.pki.osgi.layer.core.FelixLogger] - [kz.gov.pki.kalkan.xmldsig]: Error starting file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/kalkancrypt_xmldsig-osgi-0.3.jar:
org.osgi.framework.BundleException: Unable to resolve kz.gov.pki.kalkan.xmldsig [2](R 2.0): missing requirement [kz.gov.pki.kalkan.xmldsig [2](R 2.0)] osgi.wiring.package; (osgi.wiring.package=javax.crypto) Unresolved requirements: [[kz.gov.pki.kalkan.xmldsig [2](R 2.0)] osgi.wiring.package; (osgi.wiring.package=javax.crypto)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
INFO [kz.gov.pki.osgi.layer.core.CertCondition] - Condition for kz.gov.pki.knca.applet.knca_applet is false
ERROR [kz.gov.pki.osgi.layer.core.FelixLogger] - [kz.gov.pki.knca.applet.knca_applet]: Error starting file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/knca_applet-0.2.2.jar:
org.osgi.framework.BundleException: Unable to resolve kz.gov.pki.knca.applet.knca_applet [3](R 3.0): missing requirement [kz.gov.pki.knca.applet.knca_applet [3](R 3.0)] osgi.wiring.package; (osgi.wiring.package=org.json) Unresolved requirements: [[kz.gov.pki.knca.applet.knca_applet [3](R 3.0)] osgi.wiring.package; (osgi.wiring.package=org.json)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
INFO [kz.gov.pki.osgi.layer.core.CertCondition] - Condition for kz.gov.pki.provider.knca_provider_util is false
ERROR [kz.gov.pki.osgi.layer.core.FelixLogger] - [kz.gov.pki.provider.knca_provider_util]: Error starting file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/knca_provider_util-0.5.jar:
org.osgi.framework.BundleException: Unable to resolve kz.gov.pki.provider.knca_provider_util [4](R 4.0): missing requirement [kz.gov.pki.provider.knca_provider_util [4](R 4.0)] osgi.wiring.package; (osgi.wiring.package=javax.security.auth.x500) Unresolved requirements: [[kz.gov.pki.provider.knca_provider_util [4](R 4.0)] osgi.wiring.package; (osgi.wiring.package=javax.security.auth.x500)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
INFO [kz.gov.pki.osgi.layer.core.CertCondition] - Condition for kz.gov.pki.api.layer.NCALayerServices is false
ERROR [kz.gov.pki.osgi.layer.core.FelixLogger] - [kz.gov.pki.api.layer.NCALayerServices]: Error starting file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/NCALayerServices-0.3.jar:
org.osgi.framework.BundleException: Unable to resolve kz.gov.pki.api.layer.NCALayerServices [5](R 5.0): missing requirement [kz.gov.pki.api.layer.NCALayerServices [5](R 5.0)] osgi.wiring.package; (osgi.wiring.package=javafx.application) Unresolved requirements: [[kz.gov.pki.api.layer.NCALayerServices [5](R 5.0)] osgi.wiring.package; (osgi.wiring.package=javafx.application)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
INFO [kz.gov.pki.osgi.layer.core.CertCondition] - Condition for kz.gov.pki.osgi.layer.websocket is false
ERROR [kz.gov.pki.osgi.layer.core.FelixLogger] - [kz.gov.pki.osgi.layer.websocket]: Error starting file:/C:/Users/YourUserName/AppData/Roaming/NCALayer/bundles/NCAWebSocket-0.3.jar:
org.osgi.framework.BundleException: Unable to resolve kz.gov.pki.osgi.layer.websocket [6](R 6.0): missing requirement [kz.gov.pki.osgi.layer.websocket [6](R 6.0)] osgi.wiring.package; (osgi.wiring.package=javax.net.ssl) Unresolved requirements: [[kz.gov.pki.osgi.layer.websocket [6](R 6.0)] osgi.wiring.package; (osgi.wiring.package=javax.net.ssl)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
INFO [kz.gov.pki.osgi.layer.core.NCALayer] - kz.gov.pki.kalkan.knca_provider_jce_kalkan : 0.4.0
ERROR [kz.gov.pki.osgi.layer.core.NCALayer] - Failed.
org.osgi.framework.BundleException: Unable to resolve kz.gov.pki.kalkan.knca_provider_jce_kalkan [1](R 1.0): missing requirement [kz.gov.pki.kalkan.knca_provider_jce_kalkan [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.crypto) Unresolved requirements: [[kz.gov.pki.kalkan.knca_provider_jce_kalkan [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.crypto)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4132)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
at kz.gov.pki.osgi.layer.core.NCALayer.main(NCALayer.kt:221)
Комментарии
Вход/регистрация через