[ 
https://issues.apache.org/jira/browse/PIVOT-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869711#action_12869711
 ] 

Noel Grandin commented on PIVOT-500:
------------------------------------

Are you using the JNLP compressor?

I seem to remember there is some weird interaction between the two, which 
requires an extra step in the build process. I'll try and dig it out of my old 
project build files tomorrow.

> JNLP demos that use signed JARs fail to launch
> ----------------------------------------------
>
>                 Key: PIVOT-500
>                 URL: https://issues.apache.org/jira/browse/PIVOT-500
>             Project: Pivot
>          Issue Type: Bug
>          Components: demos
>            Reporter: Greg Brown
>            Priority: Minor
>             Fix For: 1.5
>
>
> The exception in the Web Start console doesn't offer much help:
> java.lang.NullPointerException
>       at 
> java.util.jar.JarVerifier.mapSignersToCodeSource(JarVerifier.java:497)
>       at 
> java.util.jar.JarVerifier.mapSignersToCodeSources(JarVerifier.java:509)
>       at java.util.jar.JarVerifier.getCodeSources(JarVerifier.java:827)
>       at java.util.jar.JarFile.getCodeSources(JarFile.java:622)
>       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:637)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to