Re: exception after update

Eugene Kuleshov <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <CADFjdoXPs4CcrLLetedsfFyADEf1PH2jAnSxg6w64TonFMaukg@mail.gmail.com>
Michael

  Start from using asm-debug-all ASM artefact to see the actual debug
information and also add CheckClassAdapter into the visitor chain before
ClassWriter, so you can see contract violations.
  If I recall correctly, ASM 3 is more strict to the order of visit method
calls, e.g. visitMax should be called before visitEnd in MethodVisitor and
CheckClassAdapter/CheckMethodAdapter detects that.

  regards,
  Eugene

On Mon, Aug 29, 2011 at 5:07 AM, Michael Offner <[email protected]>wrote:

> Hi
>
> After updateing from 2.5.3 to 4rc (or any 3) i'm getting the following
> exception:
> 1
>    at org.objectweb.asm.Label.a(Unknown Source):-1
>    at org.objectweb.asm.Label.b(Unknown Source):-1
>    at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source):-1
>    at org.objectweb.asm.commons.GeneratorAdapter.endMethod(Unknown
> Source):-1
>    at railo.transformer.bytecode.Page.writeOutCall(Page.java:1216):1216
>    at railo.transformer.bytecode.Page.execute(Page.java:474):474
>    at
> railo.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:54):54
>    at railo.runtime.PageSourceImpl._compile(PageSourceImpl.java:293):293
>    at railo.runtime.PageSourceImpl.compile(PageSourceImpl.java:283):283
>    at
> railo.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:259):259
>    at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:137):137
>    at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:738):738
>    at
> railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:177):177
>    at
> railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:23):23
>    at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1997):1997
>    at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1964):1964
>    at
> railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:299):299
>    at aservlet.CFMLServlet.service(CFMLServlet.java:32):32
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853):853
>    at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354):354
>    at
> org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:657):657
>    at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567):567
>    at org.mortbay.http.HttpContext.handle(HttpContext.java:1808):1808
>    at org.mortbay.http.HttpContext.handle(HttpContext.java:1758):1758
>    at org.mortbay.http.HttpServer.service(HttpServer.java:879):879
>    at org.mortbay.http.HttpConnection.service(HttpConnection.java:790):790
>    at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952):952
>    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807):807
>    at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197):197
>    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289):289
>    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501):501
>
> any idea what this could be? i have tons of asm code and i have no idea
> where to start
>
> tnx micha
>
>
> --
> 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
>
>
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.