APAR status
Closed as program error.
Error description
Using ClassLoader.getResource() returns an invalid path if the name specified starts with a '/'. Removing the leading '/' produces a valid path. getResource() should return null instead of an invalid path, which results in an IO exception when trying to access.
Local fix
Remove the leading '/' in the path.
Problem summary
An incorrect evaluation of the URL path resulted in the expected return null statement never being reached.
Problem conclusion
The problem has been fixed so that null is now returned, rather than an invalid path, if the name starts with a '/'. . To obtain the fix: Install build 20030701 or later
Temporary fix
Comments
APAR Information
APAR number
PQ75795
Reported component name
JAVA(1.3/1.4 CO
Reported component ID
5648C9800
Reported release
41A
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2003-06-30
Closed date
2003-07-01
Last modified date
2003-07-01
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(1.3/1.4 CO
Fixed component ID
5648C9800
Applicable component levels
R410 PSN
UP
R41A PSN
UP
R41L PSN
UP
R41W PSN
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022