Hi Mark and Al,
thanks for trying that. I think this scary looking problem was simply me
using a different version of keytool to generate my key store, but I'm not
100% convinced I tracked this one down. Anyway, since it seems to have
disappeared please try again.
Cheers,
Peter.
On Mon, 10 Nov 2003, Mark Taylor wrote:
> > Hi everyone,
> >
> > pushing on with the Webstart exploration I've now produced a page with all
> > our applications present:
> >
> > http://star-www.dur.ac.uk/~pdraper/starjava_webstart.html
>
> For me (RH9, javaws 1.2, not sure which of various JREs it's picking up)
> most or all of these are giving me:
>
> Unable to load resource: http://star-www.dur.ac.uk/~pdraper/splat/starjavac/sog/sog.jar
>
> with exception
>
> NLPException[category: Download Error : Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 : LaunchDesc: null ]
> at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:602)
> at com.sun.javaws.cache.DownloadProtocol.getResource(DownloadProtocol.java:750)
> at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:611)
> at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:534)
> at com.sun.javaws.Launcher.downloadResources(Launcher.java:675)
> at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:258)
> at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:167)
> at com.sun.javaws.Launcher.run(Launcher.java:135)
> at java.lang.Thread.run(Thread.java:536)
>
> wrapping
>
> ava.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.StringBuffer.charAt(StringBuffer.java:274)
> at sun.security.x509.AVA.toKeywordValueString(AVA.java:1002)
> at sun.security.x509.AVA.toString(AVA.java:570)
> at sun.security.x509.RDN.toString(X500Name.java:1651)
> at sun.security.x509.X500Name.generateDN(X500Name.java:968)
> at sun.security.x509.X500Name.toString(X500Name.java:547)
> at sun.security.x509.CertificateIssuerName.toString(CertificateIssuerName.java:84)
> at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:673)
> at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:155)
> at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1630)
> at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:286)
> at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:94)
> at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:389)
> at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:267)
> at sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
> at sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
> at sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
> at sun.security.util.SignatureFileVerifier.<init>(SignatureFileVerifier.java:64)
> at java.util.jar.JarVerifier.processEntry(JarVerifier.java:261)
> at java.util.jar.JarVerifier.update(JarVerifier.java:194)
> at java.util.jar.JarFile.initializeVerifier(JarFile.java:251)
> at java.util.jar.JarFile.getInputStream(JarFile.java:313)
> at com.sun.javaws.security.SigningInfo.checkSigning(SigningInfo.java:62)
> at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(DownloadProtocol.java:456)
> at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:594)
> at com.sun.javaws.cache.DownloadProtocol.getResource(DownloadProtocol.java:750)
> at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:611)
> at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:534)
> at com.sun.javaws.Launcher.downloadResources(Launcher.java:675)
> at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:258)
> at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:167)
> at com.sun.javaws.Launcher.run(Launcher.java:135)
> at java.lang.Thread.run(Thread.java:536)
>
> Haven't seen this on webstart before.
>
> > If we can agree this is a good thing, I'll start committing my changes to
> > CVS, or if anyone disagrees I'll put them on a branch for the present.
> > Currently about 90% of the work needed to produce this set of applications
> > is done by the ANT build system, so there shouldn't be a big overhead in
> > supporting it as is.
>
> As long as you don't think it's likely to break anything else (and I
> can't see why it should) I say go ahead and put any changes onto the
> main CVS branch.
>
> --
> Mark Taylor Starlink Programmer Physics, Bristol University, UK
> [log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
>
---
Peter W. Draper [log in to unmask], 0191 344 3566
Dept. of Physics, Durham University, UK. http://star-www.dur.ac.uk/~pdraper
|