Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003598 [Resin] block always 07-15-09 03:05 08-24-09 09:29
Reporter rymsha View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003598: javax.el.ELException: java.lang.IllegalAccessException
Description in

if (descriptor.getReadMethod() != null)

behaves not as expected because PropertyDescriptor stores SoftReference
after some GC JVM cleans SoftReferences and we loose .setAccessible(true) setting.
Additional Information This means, we can't use JSTL on Resin 4.0.0, as after a while application throws

javax.el.ELException: java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class java.util.HashMap$Entry with modifiers "public final" at javax.el.BeanELResolver.getValue( at com.caucho.jsp.el.PageContextELResolver.getValue( at com.caucho.el.ArrayResolverExpr.getValue( at com.caucho.el.PathExpr.getValue( at com.caucho.el.Expr.evalString( at com.caucho.el.Marshall$8.marshall( at com.caucho.el.StaticMethodExpr.evalMethod( at com.caucho.el.FunctionExpr.getValue( at com.caucho.el.Expr.print( at jsp._WEB_22dINF._tags._common._pageIndextag.doTag( at _jsp._WEB_22dINF._jsp._company._searchResultsjsp._jspService( at

Resin 3.2.1 was not affected because it also stored hard reference to the readMethod (in the same

private void initDescriptor()
      Method readMethod = _descriptor.getReadMethod();

      if (readMethod != null)
    _descriptor.setValue(ELResolver.TYPE, readMethod);
Attached Files

- Relationships

- Notes
08-19-09 04:41

4.0.1 still affected

- Issue History
Date Modified Username Field Change
07-15-09 03:05 rymsha New Issue
08-19-09 04:41 rymsha Note Added: 0004131
08-24-09 09:29 ferg Assigned To  => ferg
08-24-09 09:29 ferg Status new => closed
08-24-09 09:29 ferg Resolution open => fixed
08-24-09 09:29 ferg Fixed in Version  => 4.0.2

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker