You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Scott Jones <sc...@on-sitemanager.com> on 2001/03/20 01:47:09 UTC

Illegal target of jump or branch??

I've got 12 xml files that I xinclude into my main file, and everything
works perfectly until I xinclude the 12th file, it doesn't matter which
one...

I've included the stack dump below.  If anybody has any suggestions on what
I might have done wrong, I'd really appreciate it.  Thank you!

-Scott

Cocoon 1.8.1
Tomcat 3.2
JDK 1.3 (Sun)
Redhat 7.0

java.lang.VerifyError: (class:
_usr/_local/_tomcat/_webapps/_ROOT/_XML/_test, method: populateDocument
signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;Lorg/w3c/dom/Document;)V) Illegal target of jump or branch
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:237)
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.load(XSPJavaP
rocessor.java:173)
 at
org.apache.cocoon.processor.xsp.XSPProcessor.loadPage(XSPProcessor.java:524)
 at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:505)
 at org.apache.cocoon.Engine.handle(Engine.java:370)
 at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Illegal target of jump or branch??

Posted by Scott Jones <sc...@on-sitemanager.com>.
Good suggestion, I just switched over to IBM's JDK 1.3 (from Sun 1.3), and
everything is working great. :)  Pretty bizzare!!!  I wonder if I'll
eventually run into the same problem...

It seems like it had something to do with the length of my XML files; when I
removed one of the Xincludes, everything was fine!  This seems to be what
Robin was saying in this message way back:

http://mailman.real-time.com/pipermail/cocoon-users/2000-November/007506.htm
l

Thanks again.

-Scott

> Look like a corrupted class, it can be a bad class file (filesystem full
?)
> and/or a JVM or Javac bug.
>
> You can find in JavaTM 2 Platform API Specification:
>
> public class VerifyError extends LinkageError
>
> Thrown when the "verifier" detects that a class file, though well
> formed, contains some sort of internal inconsistency or security problem.



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Illegal target of jump or branch??

Posted by Sebastien Koechlin <sk...@ivision.fr>.
Scott Jones wrote:

> java.lang.VerifyError: (class:
> _usr/_local/_tomcat/_webapps/_ROOT/_XML/_test, method: populateDocument
> signature:
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
> nse;Lorg/w3c/dom/Document;)V) Illegal target of jump or branch
>  at java.lang.Class.newInstance0(Native Method)

Look like a corrupted class, it can be a bad class file (filesystem full
?)
and/or a JVM or Javac bug.

You can find in JavaTM 2 Platform API Specification:

public class VerifyError extends LinkageError

Thrown when the "verifier" detects that a class file, though well
formed,
contains some sort of internal inconsistency or security problem.

-- 
Sébastien Koechlin - IVision - skoechlin@ivision.fr

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>