Hi,
I've finally got round to testing 1.1b1 in WebSphere, and I'm having
problems getting started. I've found a problem with ConfigRuleSet, but I'm
not sure if it's a bug or if I've just got the wrong version of something.
I've been updating all of my Jakarta stuff, and I've lost the plot a bit
with what versions of everything I've got :-<
Anyway, in ConfigRuleSet, it adds the rule for actions thusly:
digester.addFactoryCreate
("struts-config/action-mappings/action",
new ActionMappingFactory());
But, in whatever version of digester that I'm using (erm... either 1.1.1 or
the nightly build), FactoryCreateRule.getFactory() only sets the digester
on the factory if it is creating a new instance of the factory. Because
ConfigRuleSet creates the instance of ActionMappingFactory, this means that
setDigester() doesn't get called on the ActionMappingFactory, so it throws
a NPE in createObject().
I would have thought this would have been seen by somebody already, so it
seems to me that I've got the wrong version of something. Anybody any
ideas? The fix is fairly simple if it is a real problem - just change the
addFactoryCreate to use the class name instead of creating an instance.
Regards
Colin M Sharples
I/T Architect
IBM Global Services New Zealand
email: [EMAIL PROTECTED]
phone: 64-4-5769853
mobile: 64-21-402085
fax: 64-4-5765616
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>