APAR status
Closed as program error.
Error description
Error Message: A NullPointerException is thrown instead of an IllegalArgumentException when the method Enum.valueOf() is called for non-enum type classes . Stack Trace: N/A .
Local fix
Problem summary
The problem is caused when the method Enum.valueOf() is invoked for a class which does not represent the enum type.
Problem conclusion
This defect will be fixed in: 6.0.0 SR11 6.0.1 SR2 7.0.0 SR1 . The JCL has been updated so that an IllegalArgumentException is thrown when Enum.valueOf() is invoked for non-enum type classes.
Temporary fix
Comments
APAR Information
APAR number
IV19837
Reported component name
J9 COMMON CODE
Reported component ID
620700127
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-04-17
Closed date
2012-04-17
Last modified date
2012-04-17
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
J9 COMMON CODE
Fixed component ID
620700127
Applicable component levels
R600 PSY
UP
R260 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.