4 Replies Latest reply: Nov 6, 2013 6:41 AM by 997766 RSS

    Definition BookingView1 of type Attribute is not found in RoomView2.

    997766

      Hi,

       

      I am using JDEV 11.1.2.1.0

       

      I have created two tables to work out the gnatt chart scheduling.

       

      create table room

      (

      room_id number,

      room_desc varchar2(25));

       

      create table booking

      (

      booking_id number,

      start_dt date,

      end_dt date,

      room_id number

      );

       

       

      I have created a VL linking both the tables thru room_id and dragged the same to create a gnatt chart on the page.

       

      However, it gives the following error..Stack trace for reference.

       

      ADF: Adding the following JSF error message: Definition BookingView1 of type Attribute is not found in RoomView2.

      oracle.jbo.NoDefException: JBO-25058: Definition BookingView1 of type Attribute is not found in RoomView2.

          at oracle.jbo.server.RowImpl.findAttrAndGetIndex(RowImpl.java:185)

          at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:973)

          at oracle.adf.model.bc4j.DCJboDataControl.getAccessorValue(DCJboDataControl.java:912)

          at oracle.adf.model.binding.DCDataControl.createAccessorRowSetIterator(DCDataControl.java:675)

          at oracle.adf.model.bc4j.DCJboDataControl.createAccessorRowSetIterator(DCJboDataControl.java:1006)

          at oracle.adf.model.binding.DCDataControl.createAccessorRowSetIterator(DCDataControl.java:658)

          at oracle.jbo.uicli.binding.MyIteratorBinding.initSourceRSI(JUAccessorIteratorDef.java:840)

          at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1700)

          at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1674)

          at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:3486)

          at oracle.jbo.uicli.binding.MyIteratorBinding.setRangeSize(JUAccessorIteratorDef.java:491)

          at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4470)

          at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.executeQueryIfNeeded(JUCtrlHierNodeBinding.java:488)

          at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getChildren(JUCtrlHierNodeBinding.java:747)

          at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getChildren(JUCtrlHierNodeBinding.java:733)

          at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesResource.getTasks(FacesGanttBinding.java:2022)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)

          at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

          at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

          at oracle.adfinternal.view.faces.bi.renderkit.gantt.TaskbarsRenderer.getELProperty(TaskbarsRenderer.java:3292)

          at oracle.adfinternal.view.faces.bi.renderkit.gantt.SchedulingTaskbarsRenderer.encodeAll(SchedulingTaskbarsRenderer.java:467)

          at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

          at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)

          at oracle.adf.view.rich.render.RichRenderer.encodeChildInContext(RichRenderer.java:3118)

          at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1468)

          at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:166)

          at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

          at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)

          at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.encodeChild(TreeTableRenderer.java:784)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:2803)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:2433)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1634)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:560)

          at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.encodeAll(TreeTableRenderer.java:638)

          at oracle.adfinternal.view.faces.bi.renderkit.gantt.GanttChartTreeTableRenderer.encodeAll(GanttChartTreeTableRenderer.java:105)

          at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)

          at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:617)

          at oracle.adfinternal.view.faces.bi.renderkit.gantt.GanttChartTreeTable.encodeEnd(GanttChartTreeTable.java:117)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)

          at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:116)

          at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:531)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)

          at oracle.adf.view.faces.bi.component.gantt.UIGantt.visitChildren(UIGantt.java:2119)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)

          at org.apache.myfaces.trinidad.render.CoreRenderer.visitChildrenForEncoding(CoreRenderer.java:228)

          at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncodingImpl(RichRenderer.java:2421)

          at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2404)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:410)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)

          at org.apache.myfaces.trinidad.render.CoreRenderer.visitChildrenForEncoding(CoreRenderer.java:228)

          at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncodingImpl(RichRenderer.java:2421)

          at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2404)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:410)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)

          at org.apache.myfaces.trinidad.component.UIXDocument.visitTree(UIXDocument.java:82)

          at javax.faces.component.UIComponent.visitTree(UIComponent.java:1496)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:487)

          at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:42)

          at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:756)

          at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:525)

          at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3713)

          at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1475)

          at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)

          at oracle.adfinternal.view.faces.context.PartialViewContextImpl._processRender(PartialViewContextImpl.java:321)

          at oracle.adfinternal.view.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:152)

          at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:974)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1652)

          at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)

          at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)

          at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)

          at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)

          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)

          at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)

          at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

          at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

          at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

          at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)

          at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

          at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)

          at java.security.AccessController.doPrivileged(Native Method)

          at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)

          at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)

          at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)

          at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)

          at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

          at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

          at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

          at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

       

      thanks in advance.