You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mm...@inf.unitn.it on 2003/06/04 13:55:28 UTC

Illegal target of jump or branch

Hi, I'm  using a b3 version of Struts everything works fine my problem occurs 
when I try to use a lot of tags in the same page,about 120 ( many of them are 
img tag...)
The page that generetes the error is included with tiles in another page.
BTW I'm coding all with Pramati Studio.

Thanks a lot.
Marco.

This is how the error looks like:

 java.lang.VerifyError: (class: 
com/pramati/jsp/generated/webboard_message_body_messageBody_pmt_1, method: 
_jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse
;)V) Illegal target of jump or branch
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:232)
	at com.pramati.web.servlet.core.PramatiServletFactory.loadServlet
(PramatiServletFactory.java:220)
	at com.pramati.web.servlet.core.PramatiServletFactory.getServlet
(PramatiServletFactory.java:317)
	at com.pramati.web.servlet.core.PramatiRequestDispatcher.include
(PramatiRequestDispatcher.java:169)
	at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude
(TilesUtilStrutsModulesImpl.java:124)
    Unhandled Error/ exception thrown from service method 
of "org.apache.struts.action.ActionServlet". Error is: (class: 
com/pramati/jsp/generated/webboard_message_body_messageBody_pmt_1, method: 
_jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse
;)V) Illegal target of jump or branch
	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
	at org.apache.struts.taglib.tiles.InsertTag.doInclude
(InsertTag.java:703)
	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag
(InsertTag.java:818)
	at org.apache.struts.taglib.tiles.InsertTag.doEndTag
(InsertTag.java:467)
	at com.pramati.jsp.generated.layout_eLeafLayout_pmt_0._jspService
(layout_eLeafLayout_pmt_0.java:662)
	at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:87)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.pramati.web.servlet.core.PramatiRequestDispatcher.include
(PramatiRequestDispatcher.java:172)
	at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude
(TilesUtilStrutsModulesImpl.java:124)
	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
	at org.apache.struts.taglib.tiles.InsertTag.doInclude
(InsertTag.java:703)
	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag
(InsertTag.java:818)
	at org.apache.struts.taglib.tiles.InsertTag.doEndTag
(InsertTag.java:467)
	at 
com.pramati.jsp.generated.webboard_message_page_message_pmt_0._jspService
(webboard_message_page_message_pmt_0.java:76)
	at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:87)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.pramati.web.servlet.core.PramatiRequestDispatcher.forward
(PramatiRequestDispatcher.java:105)
	at org.apache.struts.action.RequestProcessor.doForward
(RequestProcessor.java:1033)
	at org.apache.struts.tiles.TilesRequestProcessor.doForward
(TilesRequestProcessor.java:269)
	at org.apache.struts.action.RequestProcessor.processForwardConfig
(RequestProcessor.java:436)
	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig
(TilesRequestProcessor.java:312)
	at org.apache.struts.action.RequestProcessor.processActionForward
(RequestProcessor.java:401)
	at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:279)
	at org.apache.struts.action.ActionServlet.process
(ActionServlet.java:1422)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.pramati.web.interceptors.ServiceInterceptor$ServiceAction.run
(ServiceInterceptor.java:294)
	at com.pramati.security.util.JAASSecurityHelper.doAs
(JAASSecurityHelper.java:145)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.pramati.services.security.spi.SecurityHelper.doAs
(SecurityHelper.java:130)
	at com.pramati.web.interceptors.ServiceInterceptor.preProcess
(ServiceInterceptor.java:141)
	at com.pramati.web.interceptors.core.DefaultInterceptor.process
(DefaultInterceptor.java:47)
	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
(InterceptorChainImpl.java:48)
	at com.pramati.web.interceptors.FilterInterceptor.process
(FilterInterceptor.java:92)
	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
(InterceptorChainImpl.java:48)
	at com.pramati.web.interceptors.core.DefaultInterceptor.process
(DefaultInterceptor.java:48)
	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
(InterceptorChainImpl.java:48)
	at com.pramati.web.interceptors.core.DefaultInterceptor.process
(DefaultInterceptor.java:48)
	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
(InterceptorChainImpl.java:48)
	at com.pramati.web.interceptors.core.DefaultInterceptor.process
(DefaultInterceptor.java:48)
	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
(InterceptorChainImpl.java:48)
	at com.pramati.web.interceptors.core.DefaultProcessContainer.process
(DefaultProcessContainer.java:88)
	at com.pramati.web.core.WorkerThread.run(WorkerThread.java:54)
	at com.pramati.web.core.AcceptorThread.run(AcceptorThread.java:121)


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Illegal target of jump or branch

Posted by James Mitchell <jm...@apache.org>.
Please search the archives, this is discussed at least once a month here.


--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
770-822-3359
AIM:jmitchtx


----- Original Message ----- 
From: <mm...@inf.unitn.it>
To: <st...@jakarta.apache.org>
Sent: Wednesday, June 04, 2003 7:55 AM
Subject: Illegal target of jump or branch


> Hi, I'm  using a b3 version of Struts everything works fine my problem
occurs
> when I try to use a lot of tags in the same page,about 120 ( many of them
are
> img tag...)
> The page that generetes the error is included with tiles in another page.
> BTW I'm coding all with Pramati Studio.
>
> Thanks a lot.
> Marco.
>
> This is how the error looks like:
>
>  java.lang.VerifyError: (class:
> com/pramati/jsp/generated/webboard_message_body_messageBody_pmt_1, method:
> _jspService signature:
>
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse
> ;)V) Illegal target of jump or branch
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:232)
> at com.pramati.web.servlet.core.PramatiServletFactory.loadServlet
> (PramatiServletFactory.java:220)
> at com.pramati.web.servlet.core.PramatiServletFactory.getServlet
> (PramatiServletFactory.java:317)
> at com.pramati.web.servlet.core.PramatiRequestDispatcher.include
> (PramatiRequestDispatcher.java:169)
> at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude
> (TilesUtilStrutsModulesImpl.java:124)
>     Unhandled Error/ exception thrown from service method
> of "org.apache.struts.action.ActionServlet". Error is: (class:
> com/pramati/jsp/generated/webboard_message_body_messageBody_pmt_1, method:
> _jspService signature:
>
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse
> ;)V) Illegal target of jump or branch
> at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
> at org.apache.struts.taglib.tiles.InsertTag.doInclude
> (InsertTag.java:703)
> at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag
> (InsertTag.java:818)
> at org.apache.struts.taglib.tiles.InsertTag.doEndTag
> (InsertTag.java:467)
> at com.pramati.jsp.generated.layout_eLeafLayout_pmt_0._jspService
> (layout_eLeafLayout_pmt_0.java:662)
> at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:87)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at com.pramati.web.servlet.core.PramatiRequestDispatcher.include
> (PramatiRequestDispatcher.java:172)
> at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude
> (TilesUtilStrutsModulesImpl.java:124)
> at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
> at org.apache.struts.taglib.tiles.InsertTag.doInclude
> (InsertTag.java:703)
> at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag
> (InsertTag.java:818)
> at org.apache.struts.taglib.tiles.InsertTag.doEndTag
> (InsertTag.java:467)
> at
> com.pramati.jsp.generated.webboard_message_page_message_pmt_0._jspService
> (webboard_message_page_message_pmt_0.java:76)
> at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:87)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at com.pramati.web.servlet.core.PramatiRequestDispatcher.forward
> (PramatiRequestDispatcher.java:105)
> at org.apache.struts.action.RequestProcessor.doForward
> (RequestProcessor.java:1033)
> at org.apache.struts.tiles.TilesRequestProcessor.doForward
> (TilesRequestProcessor.java:269)
> at org.apache.struts.action.RequestProcessor.processForwardConfig
> (RequestProcessor.java:436)
> at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig
> (TilesRequestProcessor.java:312)
> at org.apache.struts.action.RequestProcessor.processActionForward
> (RequestProcessor.java:401)
> at org.apache.struts.action.RequestProcessor.process
> (RequestProcessor.java:279)
> at org.apache.struts.action.ActionServlet.process
> (ActionServlet.java:1422)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at com.pramati.web.interceptors.ServiceInterceptor$ServiceAction.run
> (ServiceInterceptor.java:294)
> at com.pramati.security.util.JAASSecurityHelper.doAs
> (JAASSecurityHelper.java:145)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.pramati.services.security.spi.SecurityHelper.doAs
> (SecurityHelper.java:130)
> at com.pramati.web.interceptors.ServiceInterceptor.preProcess
> (ServiceInterceptor.java:141)
> at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:47)
> at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> at com.pramati.web.interceptors.FilterInterceptor.process
> (FilterInterceptor.java:92)
> at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:48)
> at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:48)
> at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:48)
> at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> at com.pramati.web.interceptors.core.DefaultProcessContainer.process
> (DefaultProcessContainer.java:88)
> at com.pramati.web.core.WorkerThread.run(WorkerThread.java:54)
> at com.pramati.web.core.AcceptorThread.run(AcceptorThread.java:121)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Illegal target of jump or branch

Posted by mm...@inf.unitn.it.
Ok! you're right! Thank you a lot! Marco

Scrive mmolinar@inf.unitn.it:

> Hi, I'm  using a b3 version of Struts everything works fine my problem occurs
> 
> when I try to use a lot of tags in the same page,about 120 ( many of them are
> 
> img tag...)
> The page that generetes the error is included with tiles in another page.
> BTW I'm coding all with Pramati Studio.
> 
> Thanks a lot.
> Marco.
> 
> This is how the error looks like:
> 
>  java.lang.VerifyError: (class: 
> com/pramati/jsp/generated/webboard_message_body_messageBody_pmt_1, method: 
> _jspService signature: 
> 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse
> ;)V) Illegal target of jump or branch
> 	at java.lang.Class.newInstance0(Native Method)
> 	at java.lang.Class.newInstance(Class.java:232)
> 	at com.pramati.web.servlet.core.PramatiServletFactory.loadServlet
> (PramatiServletFactory.java:220)
> 	at com.pramati.web.servlet.core.PramatiServletFactory.getServlet
> (PramatiServletFactory.java:317)
> 	at com.pramati.web.servlet.core.PramatiRequestDispatcher.include
> (PramatiRequestDispatcher.java:169)
> 	at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude
> (TilesUtilStrutsModulesImpl.java:124)
>     Unhandled Error/ exception thrown from service method 
> of "org.apache.struts.action.ActionServlet". Error is: (class: 
> com/pramati/jsp/generated/webboard_message_body_messageBody_pmt_1, method: 
> _jspService signature: 
> 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse
> ;)V) Illegal target of jump or branch
> 	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
> 	at org.apache.struts.taglib.tiles.InsertTag.doInclude
> (InsertTag.java:703)
> 	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag
> (InsertTag.java:818)
> 	at org.apache.struts.taglib.tiles.InsertTag.doEndTag
> (InsertTag.java:467)
> 	at com.pramati.jsp.generated.layout_eLeafLayout_pmt_0._jspService
> (layout_eLeafLayout_pmt_0.java:662)
> 	at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:87)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at com.pramati.web.servlet.core.PramatiRequestDispatcher.include
> (PramatiRequestDispatcher.java:172)
> 	at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude
> (TilesUtilStrutsModulesImpl.java:124)
> 	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
> 	at org.apache.struts.taglib.tiles.InsertTag.doInclude
> (InsertTag.java:703)
> 	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag
> (InsertTag.java:818)
> 	at org.apache.struts.taglib.tiles.InsertTag.doEndTag
> (InsertTag.java:467)
> 	at 
> com.pramati.jsp.generated.webboard_message_page_message_pmt_0._jspService
> (webboard_message_page_message_pmt_0.java:76)
> 	at com.pramati.jsp.runtime.HttpJspSuper.service(HttpJspSuper.java:87)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at com.pramati.web.servlet.core.PramatiRequestDispatcher.forward
> (PramatiRequestDispatcher.java:105)
> 	at org.apache.struts.action.RequestProcessor.doForward
> (RequestProcessor.java:1033)
> 	at org.apache.struts.tiles.TilesRequestProcessor.doForward
> (TilesRequestProcessor.java:269)
> 	at org.apache.struts.action.RequestProcessor.processForwardConfig
> (RequestProcessor.java:436)
> 	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig
> (TilesRequestProcessor.java:312)
> 	at org.apache.struts.action.RequestProcessor.processActionForward
> (RequestProcessor.java:401)
> 	at org.apache.struts.action.RequestProcessor.process
> (RequestProcessor.java:279)
> 	at org.apache.struts.action.ActionServlet.process
> (ActionServlet.java:1422)
> 	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at com.pramati.web.interceptors.ServiceInterceptor$ServiceAction.run
> (ServiceInterceptor.java:294)
> 	at com.pramati.security.util.JAASSecurityHelper.doAs
> (JAASSecurityHelper.java:145)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.pramati.services.security.spi.SecurityHelper.doAs
> (SecurityHelper.java:130)
> 	at com.pramati.web.interceptors.ServiceInterceptor.preProcess
> (ServiceInterceptor.java:141)
> 	at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:47)
> 	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> 	at com.pramati.web.interceptors.FilterInterceptor.process
> (FilterInterceptor.java:92)
> 	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> 	at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:48)
> 	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> 	at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:48)
> 	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> 	at com.pramati.web.interceptors.core.DefaultInterceptor.process
> (DefaultInterceptor.java:48)
> 	at com.pramati.web.interceptors.core.InterceptorChainImpl.processNext
> (InterceptorChainImpl.java:48)
> 	at com.pramati.web.interceptors.core.DefaultProcessContainer.process
> (DefaultProcessContainer.java:88)
> 	at com.pramati.web.core.WorkerThread.run(WorkerThread.java:54)
> 	at com.pramati.web.core.AcceptorThread.run(AcceptorThread.java:121)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org