Hi,
We are using TS 7.4.1.
Preview and Runtime are hosted on IIS server.
I have created a HTML component. In the appearance XSL, I have used the code as mentioned in the TS7.4.1 Site Developer Guide -
<autn:XslControl ID="comp_$CONTEXT{componentId}" runat="server" ComponentId="$CONTEXT{componentId}">
<Xsl>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
<xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>
<xsl:include href="http://www.interwoven.com/custom/iw/xsl/generic/generic-content.xsl"/>
</xsl:stylesheet>
</Xsl>
</autn:XslControl>
Issue :- When i edit the page i got below mention error on the page -
2014-06-24 09:54:20,422 ERROR [com.interwoven.livesite.iw.servlet.preview.rendering.PagePaletteRenderingManager] Failed to render the component
java.lang.ClassCastException: Unable to cast object of type 'System.Object' to type 'System.String'.
at com.interwoven.livesite.iw.servlet.preview.seed.PreviewRequest.getAttributes(PreviewRequest.java:110)
at com.interwoven.livesite.iw.servlet.preview.PaletteState.init(PaletteState.java:78)
at com.interwoven.livesite.iw.servlet.preview.rendering.PagePaletteRenderingManager.preRender(PagePaletteRenderingManager.java:96)
at com.interwoven.livesite.iw.servlet.preview.rendering.PagePaletteRenderingManager.render(PagePaletteRenderingManager.java:140)
at com.interwoven.livesite.iw.servlet.preview.PagePaletteFilter.doFilter(PagePaletteFilter.java:81)
at cli.Interwoven.LiveSite.SitePub.Web.Page.PreviewPage.ExecuteLiveSiteFilter(PreviewPage.cs:185)
at cli.Interwoven.LiveSite.SitePub.Web.Page.PalettePage.ExecuteLiveSiteFilter(PalettePage.cs:210)
at cli.Interwoven.LiveSite.SitePub.Web.Page.PreviewPage.OnInit(PreviewPage.cs:65)
at cli.System.Web.UI.Control.InitRecursive(Unknown Source)
at cli.System.Web.UI.Page.ProcessRequestMain(Unknown Source)
at cli.System.Web.UI.Page.ProcessRequest(Unknown Source)
at cli.System.Web.UI.Page.ProcessRequest(Unknown Source)
at cli.System.Web.UI.Page.ProcessRequestWithNoAssert(Unknown Source)
at cli.System.Web.UI.Page.ProcessRequest(Unknown Source)
at cli.System.Web.HttpApplication$CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute(Unknown Source)
at cli.System.Web.HttpApplication.ExecuteStep(Unknown Source)
at cli.System.Web.HttpApplication$PipelineStepManager.ResumeSteps(Unknown Source)
at cli.System.Web.HttpApplication.BeginProcessRequestNotification(Unknown Source)
at cli.System.Web.HttpRuntime.ProcessRequestNotificationPrivate(Unknown Source)
at cli.System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(Unknown Source)
at cli.System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(Unknown Source)
at cli.System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(Unknown Source)
at cli.System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(Unknown Source)
at cli.System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(Unknown Source)
what i understand is there is class cast excep[tion but i don't know where to check.
Can anybody please help me out in this?
Thanks,
Ashish