POJO Data Control Error Handling

Hi.
I have POJO Data Control on Model.
Now everytime this data control thorws exception (JboException) on ViewController I get two errors like:
ValidationException: Exception Description: My JboException error
... (Stacktrace)
Caused by: java.lang.reflect.InvocationTargetException
     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 oracle.adfinternal.model.adapter.bean.BeanDCUtils.invokeMethod(BeanDCUtils.java:730)
     at oracle.adf.model.adapter.bean.BeanDCInvokeMethodHandler.invoke(BeanDCInvokeMethodHandler.java:100)
     at oracle.adf.model.adapter.bean.UpdatableBeanDataControl.invokeOperation(UpdatableBeanDataControl.java:459)
     ... 75 moreWhat is proper way of handling exceptions in POJO Data Controls?
Regards

Hi,
any exception that is thrown by the data control is passed on to the binding layer to display the exception (if dc is accessed through the binding). So how do you access the POJO DC when the exception is thrown?
Frank

Similar Messages

  • Any Examples of using ActiveCollectionModelDecorator with POJO data control

    Are there any Examples of using ActiveCollectionModelDecorator with POJO data control in any of the sample packs?

    OK, here's an quick example. Create a new Windows Forms application and add a ScatterGraph and a Label to the form. Add a cursor to the ScatterGraph, then add the code below to the form. This generates 50 random data points when the form is loaded and plots them, then uses the cursor's AfterMove event to display the current X and Y positions in the label. Here's the code:
    Private Sub OnFormLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Const dataLength As Integer = 50
    Dim xData(dataLength - 1) As Double
    Dim yData(dataLength - 1) As Double
    Dim rnd As Random = New Random
    For i As Integer = 0 To dataLength - 1
    xData(i) = i
    yData(i) = rnd.NextDouble() * 10
    Next
    ScatterGraph1.PlotXY(xData, yData)
    End Sub
    Private Sub OnAfterMoveXYCursor(ByVal sender As Object, ByVal e As NationalInstruments.UI.AfterMoveXYCursorEventArgs) Handles XyCursor1.AfterMove
    Label1.Text = String.Format("({0}, {1})", e.XPosition, e.YPosition)
    End Sub
    Hope this helps.
    - Elton

  • How to cause POJO data control to use custom base ViewObject class

    ADF 11.1.1.4
    We have a POJO data control that displays data in a table.  We can filter the table using the column filters and this performs in-memory filter.   If an exception occurs I see that it is using a ViewObject for the in-memory filtering because this shows up in the stack trace.
    oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:2811)
    It uses DCDataVO which extends ViewObjectImpl
    We have a Custom base view object defined that all our normal view objects inherit from, defined in Project Properties/BC/Base Classes
    Is there any way to make the DCDataVO also extend from  our Custom View Object that inherits from ViewObject so that we can override methods?  For example if I wanted to customize the rowQualifies method.
    In DCBeanDataControl.Java I see where it actually gets created.
    vo = DCDataVO.createViewObjectFromDef(vdef, this, getApplicationModule());

    So you have already overridden then rowQualifies() method in your custom base View Object ? Are you calling super in that ?
    Cheers
    AJ

  • Managed Beans vs. POJO Data Control for sharing data

    Hi,
    I am currently using JAX-WS proxy client and POJO Data Controls to retrieve data from web services. This data needs to be shared across users. Normally I would use application scoped managed beans for this, but since I prefer using data controls and the binding layer, would using static POJO Data Control classes achieve the same thing?

    Hi,
    Data Controls don't exist across user sessions so in your use case use a managed bean in application scope. If you want to make this available from a Data Control
    - create a POJO
    - Use EL in the POJO to access the managed bean
    - Create a DataControl from the POJO
    This way the Data Control exposes the data as an API but itself always reaches out to the managed bean as a data store/cache
    Frank

  • Create dynamic table using pojo data control

    What are the options we can in order to create dynamic table columns based on pojo data control?
    We have a class A and there are some attributes say A.x, A.y, A.z
    Within class A, we have a collection of class B and has attribute say B.k
    Within class A, we have a collection of class C and has attribute say C.j
    Every instance of class A has same number of instances of class B
    Every instance of class A has same number of instances of class C
    We would like to display a table like this
    A.x, A.y, A.z, [B.k, B.k, ...], [C.j, C.j, ...]
    How should we do that?
    Thanks

    What are the options we can in order to create dynamic table columns based on pojo data control?
    We have a class A and there are some attributes say A.x, A.y, A.z
    Within class A, we have a collection of class B and has attribute say B.k
    Within class A, we have a collection of class C and has attribute say C.j
    Every instance of class A has same number of instances of class B
    Every instance of class A has same number of instances of class C
    We would like to display a table like this
    A.x, A.y, A.z, [B.k, B.k, ...], [C.j, C.j, ...]
    How should we do that?
    Thanks

  • Create Data Control Error

    Hi all,
    I'm using ADF + Toplink + Session EJB in jdeveloper 10.1.3.0.4 . After creating POJO files
    (A little time ago, I have getting the error in thread : Null Pointer exception in ToplinkDataControlProvider but I have passed this error message) I tried to create xml file descriptions for POJO files. To do this, I have chosen "create data control" option but gotten the below error message in message window :
    What can be the problem. I have controlled mapping file, there is no problem in mapping status also make and rebuild the model package there is no error message.
    java.lang.NullPointerException
         at oracle.adfdtinternal.model.adapter.toplink.TopLinkDataControlProvider.addAttributeDefs(TopLinkDataControlProvider.java:683)
         at oracle.adfdtinternal.model.adapter.toplink.TopLinkDataControlProvider.buildStructure(TopLinkDataControlProvider.java:356)
         at oracle.adfdtinternal.model.adapter.toplink.TopLinkDataControlProvider.createDefinition(TopLinkDataControlProvider.java:151)
         at oracle.adfdtinternal.model.adapter.toplink.TopLinkDataControlProvider.handleJavaNode(TopLinkDataControlProvider.java:289)
         at oracle.adfdtinternal.model.adapter.toplink.TopLinkDataControlProvider.createDefinition(TopLinkDataControlProvider.java:298)
         at oracle.adfinternal.model.adapter.generic.BeanAbstractAdapter.invokeUI(BeanAbstractAdapter.java:61)
         at oracle.adf.dt.factories.adapter.DCFactoryAdapter.createDataControl(DCFactoryAdapter.java:223)
         at oracle.adf.dt.ProjectCompileListener.invokeFactory(DataControlFactoryMenuListener.java:196)
         at oracle.adf.dt.DataControlFactoryMenuListener.handleEvent(DataControlFactoryMenuListener.java:139)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:525)
         at oracle.ide.controller.IdeAction$1.run(IdeAction.java:772)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:789)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:498)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         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.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         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.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java: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)
    best regards
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Is there anyone Who can help me about this error!?
    I can not develop anything!
    -repost

  • NPE when using POJO Data Control deployed as webcenter shared Lib

    Hello everyone,
    I am using Jdevelopper 11.1.1.7...
    I have a methodAction Binding defined for a JSFF. I am executing this methodAction in a managed bean. When doing so I have the following exception:
    Caused By: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:118)
    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1211)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1466)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1511)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.getResult(JUCtrlActionBinding.java:1968)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:267)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
    at com.euroscript.platon.reporting.view.ReportingBean.getListLanguages(ReportingBean.java:661)
    at com.euroscript.platon.reporting.view.ReportingBean.getParamLabelsNeedingCustomLov(ReportingBean.java:87)
    at com.euroscript.platon.reporting.view.ReportingBean.initParams(ReportingBean.java:151)
    at com.euroscript.platon.reporting.view.ReportingBean.onSelectReport(ReportingBean.java:110)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
    at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:216)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:478)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    This methodAction calls a Data Contol based on a POJO which is using a JAX-WS Proxy. This Data Control POJO is packaged in a separate JAR file named ServicesProxy.jar.
    Both ServicesProxy.jar and the ADF application using it are deployed as two distinct shared libraries used by webcenter portal application.
    An important information is that the error does not happen when debugging the ADF application on my IntegratedServer. The error happens only when deployed as a shared Lib used by webcenter portal application.
    This jar file ServicesProxy is used by other applications within our portal, so I think that the data control is properly created.
    Do you have any idea what could be the cause of such error?

    vinaykumar2 wrote:
    not really.May be you can check log in EM to find out some warning or error.try that..
    I have checked in the EM, I don't really find more helpful info...
    Here is the full stacktrace found in the EM (WC_Spaces1-diagnostic.log)
    dfd51:69a509b6:142a48c6891:-8000-0000000000000ffd,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000KA^^HbLDc_l6wvicMG1IaBTa000009] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase PROCESS_VALIDATIONS 3[[
    javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
            at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:216)
            at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:478)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            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:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.generalsettings.model.provider.GeneralSettingsProviderFilter.doFilter(GeneralSettingsProviderFilter.java:85)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:342)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:953)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:369)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:265)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:126)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            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:163)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            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:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            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:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:118)
            at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)
            at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)
            at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)
            at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)
            at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)
            at oracle.adf.model.BindingContext.get(BindingContext.java:1211)
            at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
            at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1466)
            at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1511)
            at oracle.jbo.uicli.binding.JUCtrlActionBinding.getResult(JUCtrlActionBinding.java:1968)
            at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:267)
            at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
            at com.euroscript.platon.reporting.view.ReportingBean.getListLanguages(ReportingBean.java:463)
            at com.euroscript.platon.reporting.view.ReportingBean.getParamLabelsNeedingCustomLov(ReportingBean.java:87)
            at com.euroscript.platon.reporting.view.ReportingBean.initParams(ReportingBean.java:151)
            at com.euroscript.platon.reporting.view.ReportingBean.onSelectReport(ReportingBean.java:110)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
            ... 84 more
    Caused by: java.lang.NullPointerException
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:113)
            ... 107 more
    any suggestion???

  • Web Service Data Control error

    I was folllowing the instructions on this demo for web service data control.
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/WSDataControl/WSDataControl.htm
    For some reason I am getting the following error right when the page loads.
    'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    Here is the entire error stack. Any idea why it is doing this:
    Client received SOAP Fault from server : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error occured when get webservices record ---> System.Data.SqlClient.SqlException: Procedure or function 'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    at WeatherService.WeatherForecast.GetWeatherByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    Client received SOAP Fault from server : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error occured when get webservices record ---> System.Data.SqlClient.SqlException: Procedure or function 'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    at WeatherService.WeatherForecast.GetWeatherByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    OK

    I would recommend that rather then working according to the demo you actually follow this tutorial:
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_52/jdtut_11r2_52_1.html
    Which in the last part shows you how to use the Web service data control against a service you'll build.

  • Clear POJO Data control cache

    Hi I am using Jdev 11.1.1.7
    I have a POJO based Data control which am using for tree structure.
    I have this tree inside a popup.
    So when cancelling or after the purpose of the popup is over.
    I want to clear the cache of the data control.
    I tried several ways to do that like having a methods in my java class where making the object  null and calling the methods on cancel.
    But nothing worked .
    How to clear the Pojo DC.

    Hi AlejandroTLanz   ,
    I tried the above method.
    I created a method in Java class which is used to make the List null used by the tree.
    And then calling finditerator.executequery.
    I could see that the list is getting null.
    But In Java sampler It still shows that Objects are present.
    I guess the Object are still in data control cache...
    I tried to clear the DC Cache by calling the DC.resetMethod.
    But nothing worked

  • HELP!! - Pricing Date Control error

    Hello experts,
    I have a problem with pricing date control.
    I would like to set Pricnig date control=5(GR Date)in Vendor master. 
    However, if I do so, I get an error in MIGO-GO said"Transaction cannot be posted due to errors in price determination:MSG no. ME573"
    I don't have a problem if I set Pricing Date Control anything other than "5".
    Where should I customize(IMG) to fix this problem?
    This is very important, so I would like to rewards points to those who give me valuable answers.
    Thanks in advance,
    YO

    Hi,
    Please check info record Pricing date control and Purchase order Price date control in Item details>more functions
    Following will help you tounderstand more on this
    In the automatic price determination process, the price can be calculated as at the document date of the PO, or as at another date (such as the current day’s date, the delivery date, or the goods receipt date). You can specify the date to which the price that is determined relates at the following points:
    In the vendor master record, in the Pricing date control field, if you wish to use the same price determination date for all a vendor’s materials.
    In the purchasing info record, in the Pricing date category field, if you wish to use a different pricing date for a certain material supplied by a particular vendor.
    The value in the purchasing info record takes precedence over the value in the vendor master record.
    In the purchase order, in the Pricing date category field (found via Item > More functions> Additional data).
    The value from the info or vendor master record is preset when a purchase order is created. However, this is only used if you change it in the purchase order and carry out a new price determination process.
    The pricing date category in the PO takes precedence.
    Example:
    In the info record, you have specified that the price determination process is to be carried out with the conditions that are valid on the delivery date (pricing date category 2). Furthermore, you have created two validity periods (from 04. 01.1997 until 04. 31.1997 and from 05. 01.1997 until 12. 31.1997), each with different conditions.
    You create a purchase order with the delivery date 05.05.1997. The pricing date category from the info record is adopted. In the course of the price determination process, the info record conditions from the validity period 05. 01.1997 until 12. 31.1997 are then adopted.
    If you wish to adopt the info record conditions from the first validity period in the purchase order, you must change the pricing date category in the PO to blank and carry out a new price determination process.
    Hope this will help to resolve your issue
    BR
    Diwakar
    reward if useful

  • POJO Data Control af:table with selectOneChoice

    Hello All,
    JDeveloper 11.1.1.6/7
    I have a peculiar issue that I am trying to solve.
    I have a POJO based data control and an af:table based out of it. One of the fields (category) is to be a selectOneChoice driven by a WS Data Control. When I drag-drop the target attribute (category) as a Select One Choice and create a dynamic list based on the WS Data Control the row becomes uneditable.
    The selectOneChoice from the jspx:
              <af:column headerText="#{bindings.children.hints.category.label}"
                         id="c3">
                <af:selectOneChoice value="#{row.bindings.category.inputValue}"
                                    label="#{row.bindings.category.label}" autoSubmit="true"
                                    required="#{bindings.children.hints.category.mandatory}"
                                    shortDesc="#{bindings.children.hints.category.tooltip}"
                                    id="soc1">
                  <f:selectItems value="#{row.bindings.category.items}" id="si1"/>
                </af:selectOneChoice>
              </af:column>
    The relevant sections from the pageDef are as follows:
    <tree IterBinding="childrenIterator" id="children">
          <nodeDefinition DefName="info.bijesh.samples.ws.model.Children"
                          Name="children0">
            <AttrNames>
              <Item Value="id"/>
              <Item Value="name"/>
              <Item Value="category" Binds="category"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
    <list IterBinding="childrenIterator" id="category" DTSupportsMRU="true"
              StaticList="false" ListIter="ReturnIterator">
          <AttrNames>
            <Item Value="category"/>
          </AttrNames>
          <ListAttrNames>
            <Item Value="categoryCode"/>
          </ListAttrNames>
          <ListDisplayAttrNames>
            <Item Value="categoryDisplay"/>
          </ListDisplayAttrNames>
        </list>
    If I remove the Binds attribute from the Item definition, then the row becomes active but of course the drop-down list is empty. Any ideas on what I am doing wrong. I have uploaded the sample workspaces here - http://www.bijesh.info/bijesh/ADFWS_TestCase.zip. WebServiceHost contains the LOV Web Service and the WSClient workspace contains the test page.

    Hi,
    there is a bug I filed this week on that issue. Could it be you filed the issue as a SR with support? Because this is where I got the test case from. For me the problem reproduced witha static list as well. So if you want to check if this is the same you see, please try a static list in the SOC. If this too makes the field un-editable then its the same effect. The testcase I had was 11.1.1.7 and I fixed an issue in its POJO model to run the sample (just in case you belong to the same customer). I didn't test with 11.1.1.6 as obviously the bean data control is different in 11.1.1.7 (at least it complained about a missing class when I tried in 11.1.1.6).
    If the testcase I true is not yours, please contact customer support with your test case or send it my way in a zip file renamed to "unzip"
    Frank

  • Numeric control error handling

    Hi all,
    I have two question about numeric control.
    1) "How to handle invalid inputs?"
    Let say, I have one numeric control that can only accept 0 to +inf (Range). So negative input will be invalid data input. Whenever I typed the negative value on it, this control automatically changed back to default (min) value. What I want is that. Is there anyway to detect invalid user input? So that I can program whenever user input negative number, it will automatically change back to previous valid input (not default value).
    2) "How to assign the dynamic range of numeric control?"
    I used property node to assign the range but my problem is that. I assigned min 0.1, max 1.2 and increment 0.1 but I cant able to select 1.2 or sometime 0.1 by using increment/decrement arrow. Maybe because of floating points? And also I want to do when user input overrange value (eg.1.3) by typing, the value should go back to previous valid input.
    Any idea? Thanks

    You can choose how LV will react on entries exceeding a limit. The default is, that LV coerces the value to the limit. But you can also ignore the limit and the user can enter any value.
    Nevertheless, if you ignore the limits, you always have to check in your software for invalid values!
    Regarding 2) i couldn't reproduce what you described. Maybe you should post a little example....
    For the 2nd part of your question, please see my answer above...
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Clear Pojo based data control cache

    Dear All,
    I have a BTF added as region, that uses POJO data control and fetches data from stored procedure,
    I want to clear cache of the iterator of page before opening the jsff..
    Can any one guide me over this
    Regards,
    jdev 11.1.1.5.0 adf

    bump

  • Calling webservice in code using data control ADF Mobile

    Hi,
    I am calling webservice in code using data control. Below image is show my binding.
    https://www.dropbox.com/s/ufjnnd67mfaeucq/Snap%202013-05-13%20at%2011.49.17.png
    My code is :
    ValueExpression ve1 = AdfmfJavaUtilities.getValueExpression("#{bindings.WeatherDescriptionIterator}", AmxIteratorBinding.class); // Using IteratorBinding
    AmxIteratorBinding iter = (AmxIteratorBinding) ve1.getValue(AdfmfJavaUtilities.getAdfELContext());
    GenericType row = null;
    iter.getIterator().first();
    iter.release();
    for(int i = 0; i < iter.getIterator().getTotalRowCount(); i++)
    row = (GenericType)iter.getCurrentRow();
    Integer s = new Integer(i+100);
    row.setAttribute("deptId", s);
    This code is work fine in POJO data control. But When I used this code for calling webservice data control then i get following error.
    can not find property bindings.
    And I also use below code but same error occur.
    ValueExpression ve1l = AdfmfJavaUtilities.getValueExpression("#{bindings.WeatherDescription.collectionModel}", AmxCollectionModel.class); // Using CollectionModel
    AmxCollectionModel model = (AmxCollectionModel)ve1l.getValue(AdfmfJavaUtilities.getAdfELContext());
    Object[] myArr = model.getKeys();
    for (int x = 0; x < myArr.length; x++)
    Object myObj = myArr[x];
    Map provider = (Map)model.getProviders().get(myObj);
    String deptName = provider.get("deptName").toString();
    }

    !!!! IMPORTANT !!!!
    The use of +*#{data.view_FlexFieldDisplayPageDef.publicflexfieldflow1.regionModel}"*+ in your code is an *absolute no-go and serious coding issue* as there is no guarantee that this PageDef file exists in the application you use the declarative component in. Even if you don't plan to use the declarative component anywhere else, you should pass the model reference as an input attribute to the declarative component so it can be configured by each use of the component
    Frank

  • Should we really go for bean data controls for a new project?

    Hi,
    I am still new data controls and trying to figure out the advantages of using bean data controls for our new project. Our UI is going to have customized UI components and our back end is going to be a tcp/ip server.
    Is it a good idea to develop java beans and then create data controls to bind to UI layer? I think it makes sense to use data controls if we want to use existing java beans. Maybe we would be separating the model layer by using data controls, but only thing it would be doing for us would be the simple object calls to my java beans. Would it be better to use data controls or use I choose to make object calls?
    Thanks,
    Manoj

    Hi,
    the POJO data control will always give you a benefit and develope productivity, unless what you have to build fits on a single page - in which case you may not mind the burdon of manual UI component binding
    Frank

Maybe you are looking for

  • Acrobat 9 Pro - Change Image Compression/Quality w/ Javascript?

    Hello, I've got a folder-level script that will merge PDFs by using "insertPages" to add a list of PDFs to a new document. The file size is too large, and I've noticed that if I go into the PDF Optimizer manually and change the Image Settings so the

  • How to use memory management in a JAR?

    I want to increase the amount of memory available to my program. It's being run from a JAR file. How can I use the java -Xms and -Xmx command line options from within the JAR? Is it a matter of altering the manifest? I'm using JBuilder, by the way. C

  • Enable Access of  Intranet BW report roles to WEB  in EP.

    Hi All,      I Created a SAP BW connector system. Now I am able to fetch BW Reports to EP. But the problem is , Now I can observe that role only in the local network. How can I enable it on the web(<b>Internet</b>), so that, through the portal the re

  • Unable to update my iPhone 3 GS with 4.01

    I have attempted to update my iPhone software multiple times but get error messages. I am trying again but iTunes lists 22 hours for the software download so I think I will get the error again. Any suggestions?

  • 2 letters from AT&T with different activation instructions

    After I purchased from AT&T Premier site on June 15, I received an email confirming order received with instructions to activate after I get the phone. Those instructions were to activate on-line with an order and activation numbers on www.wireless.a