0

我有一个作为 jnlp 启动的厚 Java 客户端。罐子都签名了。

此应用程序适用于除 Mac OSX 10.5.8 之外的所有操作系统。

使用 Safari 或 FireFox,当我启动应用程序时,我收到以下错误:

java.lang.NullPointerException
at java.util.jar.JarVerifier.mapSignersToCodeSource(JarVerifier.java:496)
at java.util.jar.JarVerifier.mapSignersToCodeSources(JarVerifier.java:508)
at java.util.jar.JarVerifier.getCodeSources(JarVerifier.java:826)
at java.util.jar.JarFile.getCodeSources(JarFile.java:613)
at java.util.jar.JavaUtilJarAccessImpl.getCodeSources(JavaUtilJarAccessImpl.java:25)
at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSources(DeployCacheJarAccessImpl.java:60)
at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(SigningInfo.java:382)
at com.sun.javaws.security.SigningInfo.check(SigningInfo.java:291)
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1498)
at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1268)
at com.sun.javaws.Launcher.prepareResources(Launcher.java:1222)
at com.sun.javaws.Launcher.prepareAllResources(Launcher.java:624)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:332)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:204)
at com.sun.javaws.Launcher.launch(Launcher.java:121)
at com.sun.javaws.Main.launchApp(Main.java:418)
at com.sun.javaws.Main.continueInSecureThread(Main.java:255)
at com.sun.javaws.Main$1.run(Main.java:115)
at java.lang.Thread.run(Thread.java:613)

这是浏览器设置的功能还是这台机器上的 Java 配置?正如我所说,这些 jar 在除此操作系统/机器之外的所有其他操作系统/平台上都经过签名和验证。

对此有任何想法

4

0 回答 0