Stack size too large

Rajaraman Santhanam <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Hi,


Getting Stack size too large error on inserting some code.
java.lang.VerifyError: (class: org/apache/catalina/servlets/DefaultServlet, method: doGet signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Stack size too large
My class writer is invoked as below:
ClassWriter writer = new ClassWriter(reader, ClassWriter.COMPUTE_MAXS | ClassWriter.COMPUTE_FRAMES);
 

I'm getting the error:
java.lang.NullPointerException
        at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
        at com.manageengine.dpm.agent.instrumentation.BasicMethodAdapter.visitMaxs(BasicMethodAdapter.java:88)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.manageengine.dpm.agent.instrumentation.ClassTransformer.transform(ClassTransformer.java:93) 
BasicMethodAdapter is the class that extends AdviceAdapter. My implementation is something similar to the FinallyAdapter as mentioned in "Using ASM framework to implement common bytecode transformation patterns"


Any pointer where the issue could be??


Thanks,
Rajaraman
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.