Anonymous | Login | Signup for a new account | 12-17-2024 11:30 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000118 | [Resin] | minor | always | 04-22-05 00:00 | 02-02-06 11:14 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.18 | Product Version | |||||
Product Build | 3.0.13 | ||||||||
Summary | 0000118: byteCodeClassScanner | ||||||||
Description |
RSN-109 (rep by Bryan Davis) We're getting an exception on certain pages in the resin bytecode enhancement machinery. The stack trace is included below. In resin 3.0.11 and 3.0.12, the exception is merely logged and page rendering can continue. In subsequent snapshots, a page error is thrown. I've attached the jar containing the class in question. As far as I can tell, it's attempting to load org/apache/commons/lang/Entites.class. I've re-compiled the source and tried that and it makes no difference. [16:26:45.561] java.lang.ArrayIndexOutOfBoundsException: 535 [16:26:45.561] at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPoolEntry(ByteCodeClassScanner.java:176) [16:26:45.561] at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPool(ByteCodeClassScanner.java:130) [16:26:45.561] at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:81) [16:26:45.561] at com.caucho.loader.enhancer.EnhancerManager.enhance(EnhancerManager.java:236) [16:26:45.561] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1114) [16:26:45.561] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1028) [16:26:45.561] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:958) [16:26:45.561] at java.lang.ClassLoader.loadClass(ClassLoader.java:235) [16:26:45.561] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) [16:26:45.561] at org.apache.commons.lang.StringEscapeUtils.escapeHtml(StringEscapeUtils.java:460) [16:26:45.561] at org.displaytag.util.Href.addParameterMap(Href.java:240) [16:26:45.561] at org.displaytag.util.Href.setParameterMap(Href.java:219) [16:26:45.561] at org.displaytag.util.DefaultRequestHelper.getHref(DefaultRequestHelper.java:71) [16:26:45.561] at org.displaytag.tags.TableTag.initHref(TableTag.java:895) [16:26:45.561] at org.displaytag.tags.TableTag.initParameters(TableTag.java:741) [16:26:45.561] at org.displaytag.tags.TableTag.doStartTag(TableTag.java:623) [16:26:45.561] at _jsp._WEB_22dINF._cruise._jsp._searchresults_22dbody__jsp._jspService(_searchresults_22dbody__jsp.java:217) [16:26:45.561] at com.caucho.jsp.JavaPage.service(JavaPage.java:63) [16:26:45.561] at com.caucho.jsp.Page.pageservice(Page.java:570) [16:26:45.561] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159) [16:26:45.561] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) [16:26:45.561] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210) [16:26:45.561] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.561] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:466) [16:26:45.561] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:336) [16:26:45.561] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:800) [16:26:45.561] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:755) [16:26:45.561] at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101) [16:26:45.561] at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137) [16:26:45.561] at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758) [16:26:45.561] at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890) [16:26:45.561] at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460) [16:26:45.561] at _jsp._WEB_22dINF._cruise._tiles._layout_0twocolumns__jsp._jspService(_layout_0twocolumns__jsp.java:45) [16:26:45.561] at com.caucho.jsp.JavaPage.service(JavaPage.java:63) [16:26:45.561] at com.caucho.jsp.Page.pageservice(Page.java:570) [16:26:45.561] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159) [16:26:45.561] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) [16:26:45.561] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210) [16:26:45.561] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.561] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:466) [16:26:45.561] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:336) [16:26:45.561] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:800) [16:26:45.561] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:755) [16:26:45.561] at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101) [16:26:45.561] at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137) [16:26:45.561] at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758) [16:26:45.561] at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890) [16:26:45.561] at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460) [16:26:45.561] at _jsp._WEB_22dINF._cruise._tiles._layout__jsp._jspService(_layout__jsp.java:196) [16:26:45.561] at com.caucho.jsp.JavaPage.service(JavaPage.java:63) [16:26:45.561] at com.caucho.jsp.Page.pageservice(Page.java:570) [16:26:45.561] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159) [16:26:45.561] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) [16:26:45.561] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.561] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:263) [16:26:45.561] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:101) [16:26:45.561] at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056) [16:26:45.561] at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261) [16:26:45.561] at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [16:26:45.561] at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [16:26:45.561] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [16:26:45.561] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [16:26:45.561] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [16:26:45.561] at javax.servlet.http.HttpServlet.service(HttpServlet.java:113) [16:26:45.561] at javax.servlet.http.HttpServlet.service(HttpServlet.java:90) [16:26:45.561] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) [16:26:45.561] at com.skyauction.hibernate.HibernateFilter.doFilter(HibernateFilter.java:53) [16:26:45.561] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) [16:26:45.561] at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:135) [16:26:45.561] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210) [16:26:45.561] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) [16:26:45.561] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.561] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:388) [16:26:45.561] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341) [16:26:45.561] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467) [16:26:45.561] at com.caucho.util.ThreadPool.run(ThreadPool.java:408) [16:26:45.561] at java.lang.Thread.run(Thread.java:534) [16:26:45.567] java.lang.ArrayIndexOutOfBoundsException: 535 [16:26:45.567] at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPoolEntry(ByteCodeClassScanner.java:176) [16:26:45.567] at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPool(ByteCodeClassScanner.java:130) [16:26:45.567] at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:81) [16:26:45.567] at com.caucho.loader.enhancer.EnhancerManager.enhance(EnhancerManager.java:236) [16:26:45.567] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1114) [16:26:45.567] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1028) [16:26:45.567] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:958) [16:26:45.567] at java.lang.ClassLoader.loadClass(ClassLoader.java:235) [16:26:45.567] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) [16:26:45.567] at org.apache.commons.lang.StringEscapeUtils.escapeHtml(StringEscapeUtils.java:460) [16:26:45.567] at org.displaytag.util.Href.addParameterMap(Href.java:240) [16:26:45.567] at org.displaytag.util.Href.setParameterMap(Href.java:219) [16:26:45.567] at org.displaytag.util.DefaultRequestHelper.getHref(DefaultRequestHelper.java:71) [16:26:45.567] at org.displaytag.tags.TableTag.initHref(TableTag.java:895) [16:26:45.567] at org.displaytag.tags.TableTag.initParameters(TableTag.java:741) [16:26:45.567] at org.displaytag.tags.TableTag.doStartTag(TableTag.java:623) [16:26:45.567] at _jsp._WEB_22dINF._cruise._jsp._searchresults_22dbody__jsp._jspService(_searchresults_22dbody__jsp.java:217) [16:26:45.567] at com.caucho.jsp.JavaPage.service(JavaPage.java:63) [16:26:45.567] at com.caucho.jsp.Page.pageservice(Page.java:570) [16:26:45.567] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159) [16:26:45.567] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) [16:26:45.567] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210) [16:26:45.567] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.567] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:466) [16:26:45.567] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:336) [16:26:45.567] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:800) [16:26:45.567] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:755) [16:26:45.567] at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101) [16:26:45.567] at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137) [16:26:45.567] at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758) [16:26:45.567] at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890) [16:26:45.567] at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460) [16:26:45.567] at _jsp._WEB_22dINF._cruise._tiles._layout_0twocolumns__jsp._jspService(_layout_0twocolumns__jsp.java:45) [16:26:45.567] at com.caucho.jsp.JavaPage.service(JavaPage.java:63) [16:26:45.567] at com.caucho.jsp.Page.pageservice(Page.java:570) [16:26:45.567] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159) [16:26:45.567] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) [16:26:45.567] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210) [16:26:45.567] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.567] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:466) [16:26:45.567] at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:336) [16:26:45.567] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:800) [16:26:45.567] at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:755) [16:26:45.567] at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101) [16:26:45.567] at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137) [16:26:45.567] at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758) [16:26:45.567] at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890) [16:26:45.567] at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460) [16:26:45.567] at _jsp._WEB_22dINF._cruise._tiles._layout__jsp._jspService(_layout__jsp.java:196) [16:26:45.567] at com.caucho.jsp.JavaPage.service(JavaPage.java:63) [16:26:45.567] at com.caucho.jsp.Page.pageservice(Page.java:570) [16:26:45.567] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159) [16:26:45.567] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) [16:26:45.567] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.567] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:263) [16:26:45.567] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:101) [16:26:45.567] at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056) [16:26:45.567] at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261) [16:26:45.567] at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [16:26:45.567] at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [16:26:45.567] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [16:26:45.567] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [16:26:45.567] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [16:26:45.567] at javax.servlet.http.HttpServlet.service(HttpServlet.java:113) [16:26:45.567] at javax.servlet.http.HttpServlet.service(HttpServlet.java:90) [16:26:45.567] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) [16:26:45.567] at com.foo.hibernate.HibernateFilter.doFilter(HibernateFilter.java:53) [16:26:45.567] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) [16:26:45.567] at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:135) [16:26:45.567] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210) [16:26:45.567] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) [16:26:45.567] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) [16:26:45.567] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:388) [16:26:45.567] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341) [16:26:45.567] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467) [16:26:45.567] at com.caucho.util.ThreadPool.run(ThreadPool.java:408) [16:26:45.567] at java.lang.Thread.run(Thread.java:534) |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0000138) ferg 04-22-05 00:00 |
Catching this exception w/o rethrowing it has been implemented (which should fix this bug.) However, the underlying analysis problem with Entities.class is still open. |
(0000139) ferg 04-22-05 00:00 |
Priority downgraded, since the main part of the bug report has been fixed, while the remaining issue of the byteCodeClassScanner analysis is a less-important issue in this case. |
(0000845) ferg 02-02-06 11:14 |
duplicate of 0000837 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 29 unique queries executed. |