struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <surya.mulak...@wipro.com>
Subject Tiles Exception.
Date Mon, 17 Aug 2009 11:55:02 GMT

Hi all,

I am using struts 2.1.6/weblogic 10/tiles
2.0.6/struts2-tiles-plugin-2.1.6 in my application.

I am getting following exception in server logs when ever I am clicking
on any button or on any action call. Please provide a solution.

[INFO] TilesAccess - Publishing TilesContext for context:
org.apache.tiles.web.util.ServletContextAdapter
[ERROR] RoleSecurityTagSupport - Error executing tag: Cannot insert an
attribute of 'object' type <org.apache.tiles.TilesException: Cannot
insert an a
ttribute of 'object' type>org.apache.tiles.TilesException: Cannot insert
an attribute of 'object' type
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:448)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag
.java:140)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag
.java:117)
        at
org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.ja
va:171)
        at
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurity
TagSupport.java:75)
        at
org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSup
port.java:80)
        at
jsp_servlet._pages._layouts.__basiclayout._jsp__tag8(__basiclayout.java:
482)
        at
jsp_servlet._pages._layouts.__basiclayout._jspService(__basiclayout.java
:138)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:226)
        at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:124)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
83)
        at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStu
bImpl.java:391)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3
09)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
        at
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis
patcherImpl.java:500)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
rImpl.java:245)
        at
org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv
letTilesRequestContext.java:198)
        at
org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(Ser
vletTilesRequestContext.java:185)
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:417)
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:368)
        at
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:10
5)
        at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSu
pport.java:186)
        at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultAct
ionInvocation.java:361)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvo
cation.java:265)
        at
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java
:52)
        at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:4
68)
        at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher
.java:395)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
42)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3368)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown
Source)
        at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2117)
        at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2023)
        at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

[ERROR] RenderTagSupport - Error during rendering
<javax.servlet.jsp.JspException: Error executing tag: Cannot insert an
attribute of 'object' type>ja
vax.servlet.jsp.JspException: Error executing tag: Cannot insert an
attribute of 'object' type
        at
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurity
TagSupport.java:80)
        at
org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSup
port.java:80)
        at
jsp_servlet._pages._layouts.__basiclayout._jsp__tag8(__basiclayout.java:
482)
        at
jsp_servlet._pages._layouts.__basiclayout._jspService(__basiclayout.java
:138)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:226)
        at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:124)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
83)
        at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStu
bImpl.java:391)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3
09)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
        at
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis
patcherImpl.java:500)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
rImpl.java:245)
        at
org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv
letTilesRequestContext.java:198)
        at
org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(Ser
vletTilesRequestContext.java:185)
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:417)
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:368)
        at
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:10
5)
        at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSu
pport.java:186)
        at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultAct
ionInvocation.java:361)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvo
cation.java:265)
        at
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java
:52)
        at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:4
68)
        at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher
.java:395)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
42)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3368)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown
Source)
        at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2117)
        at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2023)
        at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: org.apache.tiles.TilesException: Cannot insert an attribute
of 'object' type
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.jav
a:448)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag
.java:140)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag
.java:117)
        at org.apache.tiles.jsp.taglib.RenderTagSupport.exec 



Thanks,
Surya.

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email. 

www.wipro.com

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


Mime
View raw message