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

Sandro Martini commented on PIVOT-500:
--------------------------------------

Doing a build of Trunk with JDK 6 Update 18 (the best should be to try with the 
Update 20, but at the moment I haven't time to remove and reinstall it), ant 
the latest ant-1.8.1, during the sign of any jar i get this warning from ant:

  [signjar]
  [signjar] Warning:
  [signjar] The signer certificate will expire within six months.

so probably our (self-signed) certificate could have some problem (and since 
Java 6 Update 19 I have seen something has changed on this, to have a more 
secure runtime).

I'll try to generate a new one, sign jars, etc and see what happens with out 
jnlp demos.


> 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
>            Assignee: Sandro Martini
>            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