Mantis - Resin
Viewing Issue Advanced Details
39 minor always 03-19-05 00:00 05-11-05 00:00
user41  
 
normal  
closed  
fixed  
none    
none 3.0.13  
0000039: Bunch of exceptions thrown when first requests reaches 3.0.12
RSN-30
Since the migration from 3.0.9 to 3.0.12 everytime the engine is started, the first request reaching resin throws a bunch of the following exceptions. The number displayed after the exception is always 620 or 679. The request is handled properly though.

[13:05:18.718] java.lang.ArrayIndexOutOfBoundsException: 620
[13:05:18.718] at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPoolEntry(ByteCodeClassScanner.java:268)
[13:05:18.718] at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPool(ByteCodeClassScanner.java:130)
[13:05:18.718] at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:81)
[13:05:18.718] at com.caucho.loader.enhancer.EnhancerManager.enhance(EnhancerManager.java:236)
[13:05:18.718] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1114)
[13:05:18.718] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1028)
[13:05:18.718] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:958)
[13:05:18.718] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
[13:05:18.718] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
[13:05:18.718] at net.avenir.jdbc2.Driver.connect(Driver.java:396)
[13:05:18.718] at java.sql.DriverManager.getConnection(DriverManager.java:512)
[13:05:18.718] at java.sql.DriverManager.getConnection(DriverManager.java:171)
[13:05:18.718] at Cspb.Connection.v2.CspbConnectionDb.getConnection(CspbConnectionDb.java:150)
[13:05:18.718] at Cspb.Servlet.CspbSessionCache.load(CspbSessionCache.java:156)
[13:05:18.718] at Cspb.Servlet.CspbServlet.getUserObject(CspbServlet.java:765)
[13:05:18.718] at Cspb.Servlet.CspbServlet.getUserName(CspbServlet.java:682)
[13:05:18.718] at PrivateLink.MyPassword.MyPasswordServlet.handlePortalLogin(MyPasswordServlet.java:404)
[13:05:18.718] at PrivateLink.MyPassword.MyPasswordServlet.handleCommands(MyPasswordServlet.java:181)
[13:05:18.718] at Cspb.Servlet.CspbServlet.doPost(CspbServlet.java:464)
[13:05:18.718] at Cspb.Servlet.CspbServlet.doGet(CspbServlet.java:364)
[13:05:18.718] at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
[13:05:18.718] at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
[13:05:18.718] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99)
[13:05:18.718] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:210)
[13:05:18.718] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
[13:05:18.718] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
[13:05:18.718] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:388)
[13:05:18.718] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
[13:05:18.718] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467)
[13:05:18.718] at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
[13:05:18.718] at java.lang.Thread.run(Thread.java:534)
Windows 2000 Server, IIS, Resin 3.0.12

Notes
(0000044)
ferg   
03-19-05 00:00   
The exception is properly ignored, but there does still seem to be an analysis problem. Duplicating it, though, would require the actual .class which is failing analysis.
(0000045)
sam   
03-19-05 00:00   
For any bugreports involving the com.caucho.bytecode. package, an attachment of the offending .class is extremely helpful.