APAR status
Closed as program error.
Error description
Error Message: Customer get an NPE when running a WAS script. From the exception trace, it is acutally creating an SecureRandom instance. . Stack Trace: The exception trace will be like following: "Caused by: java.lang.NullPointerException at org.apache.harmony.security.fortress.Services$NormalServices.cre ateDefaultProviderInstance(Services.java:295) at org.apache.harmony.security.fortress.Services$NormalServices.loa dAllProviders(Services.java:225) at org.apache.harmony.security.fortress.Services$NormalServices.acc ess$500(Services.java:155) at org.apache.harmony.security.fortress.Services$NormalServices$2.r un(Services.java:214) at org.apache.harmony.security.fortress.Services$NormalServices$2.r un(Services.java:212) at java.security.AccessController.doPrivileged(AccessController.jav a:203) at org.apache.harmony.security.fortress.Services$NormalServices.get ProviderList(Services.java:212) at org.apache.harmony.security.fortress.Services$NormalServices.acc ess$1500(Services.java:155) at org.apache.harmony.security.fortress.Services.getProvidersList(S ervices.java:762) at java.security.SecureRandom.findService(SecureRandom.java:135) at java.security.SecureRandom.<init>(SecureRandom.java:101) ..." .
Local fix
Problem summary
The root cause of this issue is that the provider who provides this requested algorithm is not on the classpath. Our code should handle this scenario instead of throwing an NPE.
Problem conclusion
This defect will be fixed in: 6.0.1 SR1 6.0.0 SR10 . The code has been updated to handle this scenario. But this fix just handle this exception, customer should make sure the environment variable is correct. For this issue, $JAVA_EXT_DIRS is empty. . To obtain the fix: Install build 20110408 or later
Temporary fix
Comments
APAR Information
APAR number
IV01900
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-06-16
Closed date
2011-06-16
Last modified date
2012-02-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSY
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.