APAR status
Closed as program error.
Error description
The NullPointerException is only thrown when trace string is set
to *=all=enabled. If the trace is set to any other option or
any other component there is no problem.
The exception is thrown when calling:
StatsFactory.createStatsGroup(java.lang.String groupName,
java.lang.String statsTemplate,
javax.management.ObjectName mBean), and passing this premeter:
StatsFactory.createStatsGroup(newKey, TEMPLATE, null);
[6/13/05 14:16:22:385 EDT] 00000079 NLS W
Encountered an error while loading class PropertyResourceBundle
from a JAR file java.util.MissingResourceException: Can't find
bundle for base name
com.ibm.commerce.performance.monitor.property.CommerceCounterGro
upModule, locale en_US
at
java.util.ResourceBundle.throwMissingResourceException(ResourceB
undle.java:825)
at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:794)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:682)
at com.ibm.ejs.sm.client.ui.NLS.<init>(NLS.java:289)
at
com.ibm.ws.pmi.stat.StatsConfigHelper$1.run(StatsConfigHelper.ja
va:139)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessCon
troller.java(Compiled Code))
at
com.ibm.ws.pmi.stat.StatsConfigHelper.getNLS(StatsConfigHelper.j
ava:134)
at
com.ibm.ws.pmi.stat.StatsConfigHelper.translate(StatsConfigHelpe
r.java:446)
at
com.ibm.ws.pmi.stat.StatsConfigHelper.translateAndCache(StatsCon
figHelper.java:498)
at
com.ibm.ws.pmi.server.ModuleConfigParser.loadDescriptor(ModuleCo
nfigParser.java:225)
at
com.ibm.ws.pmi.server.ModuleConfigParser.loadDescriptor(ModuleCo
nfigParser.java:134)
at
com.ibm.ws.pmi.server.ModuleConfigParser.parse(ModuleConfigParse
r.java:128)
at com.ibm.websphere.pmi.PerfModules$1.run(PerfModules.java:326)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessCon
troller.java(Compiled Code))
at
com.ibm.websphere.pmi.PerfModules.getConfigFromXMLFile(PerfModul
es.java:321)
at
com.ibm.websphere.pmi.PerfModules.getConfigFromXMLFile(PerfModul
es.java:372)
at
com.ibm.ws.pmi.factory.StatsGroupImpl.createGroup(StatsGroupImpl
.java:81)
at
com.ibm.wsspi.pmi.factory.StatsFactory.createStatsGroup(StatsFac
tory.java:160)
at com.ibm.pmi.test.ctest.<init>(ctest.java:34)
Local fix
Add com.ibm.websphere.pmi.factory.StatFactory=all=disabled to
trace string specified to disable tracing in that module.
Problem summary
****************************************************************
* USERS AFFECTED: Websphere Application Server Users using *
* PMI with tracing enabled. *
****************************************************************
* PROBLEM DESCRIPTION: In certain circumstances, when the *
* PMI component is being traced, the *
* StatsFactory class will generate a *
* null pointer exception. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
In certain circumstances, when the PMI component is being
traced the StatsFactory class will generate a null pointer
exception. This is problematic in that some statistics will
not load and operate properly when this condition exists.
Problem conclusion
A check was added for a null parameter, as that was not
included in the original logic. The fix for this APAR is
currently targeted for inclusion in fixpacks 5.1.1.6 and
5.0.2.13. Please refer to the recommended updates page for
delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information |
APAR number |
PK07704 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2005-06-21 |
Closed date |
2005-06-28 |
Last modified date |
2007-01-30 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|