JDK-4741507 : missing signed entry JNLPException is not explicit
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.0.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2002-09-04
  • Updated: 2002-10-15
  • Resolved: 2002-10-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Description

Name: nt126004			Date: 09/04/2002


FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

FULL OPERATING SYSTEM VERSION :Microsoft Windows XP
[version 5.1.2600]


A DESCRIPTION OF THE PROBLEM :
Java Web Start throws a JNLPException when a signed jar
file is corrupted in the
com.sun.javaws.security.SigningInfo.checkSigning() method
with the "Missing signed entry" error message. This
message is not enough explicit: the failing entry should
be included.

Notice the jarsigner verification is ok, and I cleared the
javaws cache. Also my classes are obfuscated and i used a
self signed certificate using default crypto algorithm
(SHA1) for the application obtain all permissions as
required in the JNLP file. The manifest.mf and jar files
looks ok, but it's not easy to see "by hand" due to the
consequent number of entries.


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.sign a jar file
2.deploy it to a web server
3.click a jnlp file and attempt to load the application
through Java Web Start.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload Unknown
Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 159923) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b04
31-08-2004

EVALUATION We should provide a clearer error message ###@###.### 2002-09-06
06-09-2002