United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 8002088 Incorrect javaws errror dialogs displayed under disable-java state
8002088 : Incorrect javaws errror dialogs displayed under disable-java state

Details
Type:
Bug
Submit Date:
2012-11-01
Status:
Closed
Updated Date:
2012-11-23
Project Name:
JDK
Resolved Date:
2012-11-02
Component:
deploy
OS:
windows
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u10
Fixed Versions:
7u10

Related Reports
Backport:
Backport:
Duplicate:

Sub Tasks

Description
When one selects to disable Java content in the browser,  invoking javaws will produce different error messages and they appears to be all incorrect.

When java is disable, there are two different scenarios and different incorrect error mesage

1) Scenarios 1:  No deployment.properties  under HKEY_CURRENT_USER\Software\AppDataLow\Software\JavaSoft\Deployment.Properties

- Invoking javaws http://anytestcase.jnlp  will give the Java Web Start Error:
#### You can not run this program because your system deployment.config file states that an enterprise configuration file is mandatory, and the required: null is not available.

2) Scenario 2: There exists deployment.properties  in scenarios 1
- Invoking javaws http://anytestcase.jnlp will produce the error  "Java web start launcher has stopped working" dialog

Error messages in both scenario 1 and scenario 2 appears incorrect

*** Tested Configuration:
- x86 Win 7, Vista
- jre 7u10-b14 promotion 
- jre 7u10 deployment nightly build

*** Steps to reproduce:
0) Make sure the related registry keys all clean
1) Install jre 7u10-b14 (or latest 7u10 nightly build)
http://jre.us.oracle.com/java/re/jdk/7u10/promoted/ea/b14/bundles/windows-i586/
or
http://rehudson.us.oracle.com/hudsonws/7u10_deploy/bundles/windows-i586/b255-2012-10-31_23/
2) Invoke Java control panel and click 'Security' tab
3) Un-check the box to disable Java content in the browser
4) From the command line, invoke javaws http://anytestcase.jnlp

If you see the error message either in the above Scenario 1 or Scenario 2, then the issue is reproducible







                                    

Comments
Fix is OK for scenario2, failed for scenario1 ( deleted Deployment.Properties in registry )
Filed JDK-8003946
                                     
2012-11-23
To reproduce the first problem, you can delete the   \\HKEY_CURRENT_USER\Software\AppDataLow\Software\JavaSoft\Deployment.Properties
before  invoking javaws  http://anytestcase.jnlp 

                                     
2012-11-02
SQE-OK to get this fix against 7u10
                                     
2012-11-02
It seem that second problem is caused by dependency on deploy.dll. If deploy.dll is not located next to javaws we fail.
I could not reproduce first problem yet.


                                     
2012-11-01



Hardware and Software, Engineered to Work Together