geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Walz <>
Subject javax.el.CompositeELResolver null pointer exception - bug?
Date Wed, 12 Jun 2013 13:29:19 GMT

I’ve got a problem with “javax.el.CompositeELResolver” from
"geronimo.specs" which is used by TomEE’s “javaee-api-6.0-5.jar”.

Version information and svn-repository here:

Source of class CompositeELResolver here:

In the “invoke” method I get a null pointer exception because the for-loop
iterates through the whole resolvers-array which has got fields with value
“null”. I suppose this is not avoidable because of the “add” method that
doubles the array size if required but does not initialize any values.
Shouldn’t there be a check if the resolver is “null” in the “invoke” method
before using it?

For comparison I ran my application with another  javax.el implementation
and it’s working properly:






Am I wrong with my supposition?

I found a similar-sounding issue here:

Is it possible that multi-threading causes my problem?

Best regards

Michael Walz

View raw message