incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piyush Hari (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-247) ClassCastException when a Table component is dropped in visual editor of Jdev in PDA mode.
Date Thu, 19 Oct 2006 19:53:37 GMT
     [ http://issues.apache.org/jira/browse/ADFFACES-247?page=all ]

Piyush Hari updated ADFFACES-247:
---------------------------------

    Attachment: patch_oct19_12_42PM_pdaTableRenderer_pda.patch

I am providing the patch that fixes this bug. (patch_oct19_12_42PM_pdaTableRenderer_pda.patch)

> ClassCastException when a Table component is dropped in visual editor of Jdev in PDA
mode.
> ------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-247
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-247
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: PDA
>            Reporter: Piyush Hari
>            Priority: Critical
>         Attachments: patch_oct19_12_42PM_pdaTableRenderer_pda.patch
>
>
> When one drags and drops an ADF TABLE component on a PDA visial editor, it throws a class
cast exception. (BUG- 5610691). With the following stacktrace :
>  java.lang.ClassCastException: oracle.adf.view.rich.component.rich.data.RichColu
> mn
> at org.apache.myfaces.trinidadinternal.renderkit.core.pda.PdaTableRenderer._re
> nderColumnHeader(PdaTableRenderer.java:437)
> at org.apache.myfaces.trinidadinternal.renderkit.core.pda.PdaTableRenderer.ren
> derTableContent(PdaTableRenderer.java:186)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer.enco
> deAll(TableRenderer.java:277)
> at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java
> :181)
> @ at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXCompone
> ntBase.java:673)
> @ at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection
> .java:483)
> at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.ja
> va:260)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRe
> nderer.encodeChild(PanelGroupLayoutRenderer.java:174)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRe
> nderer._encodeChildren(PanelGroupLayoutRenderer.java:140)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRe
> nderer.encodeAll(PanelGroupLayoutRenderer.java:92)
> at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java
> :181)
> @ at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXCompone
> ntBase.java:673)
> at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.
> java:66)
> at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.ja
> va:255)
> at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRende
> rer.java:277)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRe
> nderer.renderContent(PanelPartialRootRenderer.java:70)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.rende
> rContent(BodyRenderer.java:134)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRe
> nderer.encodeAll(PanelPartialRootRenderer.java:150)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encod
> eAll(BodyRenderer.java:76)
> at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRender
> er.java:294)
> at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.e
> ncodeAll(DocumentRenderer.java:78)
> at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java
> :181)
> @ at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXCompone
> ntBase.java:673)
> at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
> at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
> at org.apache.myfaces.trinidad.webapp.UIXComponentTag.doEndTag(UIXComponentTag
> .java:114)
> at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.doEndTag
> (DesignTimeJspActionRenderer.java:728)
> at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer._execute
> Tag(DesignTimeJspActionRenderer.java:1924)
> at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(D
> esignTimeJspActionRenderer.java:331)
> at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActi
> onRenderer.java:167)
> at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeR
> enderer.java:868)
> at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderCh
> ildren(DesignTimeJspActionRenderer.java:551)
> at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(F
> acesActionRenderer.java:591)
> at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer._execute
> Tag(DesignTimeJspActionRenderer.java:1893)
> at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(D
> esignTimeJspActionRenderer.java:331)
> at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActi
> onRenderer.java:167)
> at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeR
> enderer.java:868)
> at oracle.jdevimpl.webapp.jsp.renderers.JSPCoreSyntaxRenderer.render(JSPCoreSy
> ntaxRenderer.java:150)
> at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet._renderSourc
> e(DesignTimeJspServlet.java:249)
> at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.serviceJsp(D
> esignTimeJspServlet.java:132)
> at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.service(Desi
> gnTimeJspServlet.java:88)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(De
> signTimeServletInfo.java:267)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.disp
> atch(DesignTimeRequestDispatcher.java:312)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.forw
> ard(DesignTimeRequestDispatcher.java:84)
> at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java
> :322)
> at org.apache.myfaces.trinidadinternal.context.ExternalContextDecorator.dispat
> ch(ExternalContextDecorator.java:41)
> at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Overrid
> eDispatch.dispatch(FacesContextFactoryImpl.java:235)
> at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:1
> 30)
> at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHa
> ndlerImpl.java:157)
> at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(
> ViewHandlerImpl.java:178)
> at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.jav
> a:87)
> at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(De
> signTimeServletInfo.java:267)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$Desi
> gnTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:503)
> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(Regis
> trationFilter.java:60)
> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListCha
> in.doFilter(TrinidadFilterImpl.java:425)
> at oracle.adfinternal.view.faces.activedata.ADSFilter2.doFilter(ADSFilter2.jav
> a:193)
> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListCha
> in.doFilter(TrinidadFilterImpl.java:425)
> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilt
> er(TrinidadFilterImpl.java:327)
> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl
> (TrinidadFilterImpl.java:291)
> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(Trin
> idadFilterImpl.java:214)
> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.j
> ava:90)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$Desi
> gnTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:463)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.disp
> atch(DesignTimeRequestDispatcher.java:308)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContex
> t._service(DesignTimeServletContainerContext.java:740)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContex
> t._serviceRequest(DesignTimeServletContainerContext.java:677)
> at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContex
> t.service(DesignTimeServletContainerContext.java:639)
> at oracle.jdevimpl.webapp.design.DesignTimeRenderWebApp.service(DesignTimeRend
> erWebApp.java:62)
> at oracle.jdevimpl.webapp.design.DesignTimeEngine.service(DesignTimeEngine.jav
> a:197)
> at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument._serviceJsp(Do
> mDesignTimeViewDocument.java:988)
> at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.rebuildTreeImp
> l(DomDesignTimeViewDocument.java:178)
> at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.rebuildImpl(Do
> mDesignTimeViewDocument.java:99)
> at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.re
> build(DomProxyViewDocument.java:121)
> at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.ha
> ndleModelStructureChanged(DomProxyViewDocument.java:710)
> at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.ha
> ndleModelTreeChanged(DomProxyViewDocument.java:675)
> at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.ha
> ndleModelChanged(DomProxyViewDocument.java:662)
> at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument$Xm
> lModelListenerImpl.modelChanged(DomProxyViewDocument.java:1277)
> at oracle.bali.xml.model.XmlView._handleBaseModelChanged(XmlView.java:1939)
> at oracle.bali.xml.model.XmlView.mav$_handleBaseModelChanged(XmlView.java:112)
> at oracle.bali.xml.model.XmlView$ModelChangeListener.modelChanged(XmlView.java
> :2024)
> at oracle.bali.xml.model.XmlModel._deliverModelChangeEvents(XmlModel.java:3128
> )
> at oracle.bali.xml.model.XmlModel._deliverChangeEvents(XmlModel.java:3316)
> at oracle.bali.xml.model.XmlModel.__commitTransaction(XmlModel.java:2817)
> at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1732)
> at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:276
> 8)
> @ at oracle.bali.xml.model.XmlView.commitTransaction(XmlView.java:302)
> at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransacti
> on(StandardTransactionTask.java:413)
> at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardT
> ransactionTask.java:203)
> at oracle.bali.xml.model.datatransfer.operation.CreateFromXmlKeyOperation.appl
> y(CreateFromXmlKeyOperation.java:38)
> at oracle.bali.xml.model.datatransfer.operation.OperationProcessor._apply(Oper
> ationProcessor.java:393)
> at oracle.bali.xml.model.datatransfer.operation.OperationProcessor._forceSimpl
> eApplyImpl(OperationProcessor.java:346)
> at oracle.bali.xml.model.datatransfer.operation.OperationProcessor.forceSimple
> Apply(OperationProcessor.java:293)
> at oracle.bali.xml.model.datatransfer.operation.OperationProcessor.forceSimple
> Apply(OperationProcessor.java:243)
> at oracle.bali.xml.gui.swing.dnd.DropHandlerHelper._doRegularDrop(DropHandlerH
> elper.java:268)
> at oracle.bali.xml.gui.swing.dnd.DropHandlerHelper.performDrop(DropHandlerHelp
> er.java:87)
> at oracle.bali.xml.gui.swing.dnd.ModelDropHandler.drop(ModelDropHandler.java:1
> 54)
> at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
> at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContex
> tPeer.java:500)
> at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.ja
> va:53)
> at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunD
> ropTargetContextPeer.java:812)
> at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropT
> argetContextPeer.java:736)
> at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
> @ at java.awt.Component.dispatchEventImpl(Component.java:3826)
> at java.awt.Container.dispatchEventImpl(Container.java:2024)
> @ at java.awt.Component.dispatchEvent(Component.java:3803)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:3963)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3817)
> at java.awt.Container.dispatchEventImpl(Container.java:2010)
> at java.awt.Window.dispatchEventImpl(Window.java:1774)
> @ at java.awt.Component.dispatchEvent(Component.java:3803)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j
> ava:242)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav
> a:163)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message