JBO-25036: An invalid object operation was invoked on type View Object...

Hi,
Jdev 11.1.1.3 with BC & RC.
HR Schema - Employees & Departments Table.
In EmployeesViewImpl class overriding prepareVOForQuery() for adding dynamic where clause.
       @Override
    public void prepareVOForQuery() {
      DepartmentsViewImpl deptImpl = new DepartmentsViewImpl();
      int deptid = deptImpl.deptID();              //custom method in DepartmentsViewImpl returning deptid based on some condition
      setWhereClause("DEPARTMENT_ID = :bvdeptid");
      defineNamedWhereClauseParam("bvdeptid", null, null);
      setNamedWhereClauseParam("bvdeptid", deptid);
      super.prepareVOForQuery();
       public int deptID(){
      //return "IT_PROG";
      int int_deptid = 0;
      Row[] depts = this.getAllRowsInRange();
      for(int i=0 ; i < depts.length; i++){
        Row row = depts;
String deptname = (String)row.getAttribute("DepartmentName");
if(deptname.equalsIgnoreCase("it")){
Number deptid = (Number)row.getAttribute("DepartmentId");
int_deptid = deptid.intValue();
break;
return int_deptid;
// The error is coming
JBO-25036: An invalid object operation was invoked on type View Object with name DepartmentsViewImpl_2
Can I call a custom method deptID() like above, in EmployeesViewImpl class from DepartmentsViewImpl?
I need to change query based on some condition on page load in real scenario. I used beforePhase() but not giving perfect result.
What is best way to do this, similar to above case. However, providing plain value giving no error.
Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Hi!
This doesn't work that way:
DepartmentsViewImpl deptImpl = new DepartmentsViewImpl();Take a look at ApplicationModule#findViewObject() if your DepartmentsView is already in your data model, executed, and you want to re-use it.
Otherwise take a look at ApplicationModule#createViewObject().
Besides that, if you want to execute a VO, then call executeQuery() on it, don't rely on other operations like first() or getAllRowsInRange() to implicitly execute it for you.
And: Why not use Number all the way through? Why the conversion to int? It will work in that example, since department ID is only NUMBER( 4 ). What if the ID column was a NUMBER( 22 )? int cannot handle that, not even close, so you should not make it a habit to convert to int.
Sascha

Similar Messages

  • Erro: An invalid object operation was invoked on type View Object

    Hi
    I try to run query from managed bean as below
            SelectControlTextDescImpl selectControlTextDescImpl = new SelectControlTextDescImpl();      
            selectControlTextDescImpl.executeQuery();but there is error appear when i run the code
    An invalid object operation was invoked on type View Object with name SelectControlTextDescImpl_8
    Any one can help?

    Hi Hani,
    You'll be able to get a lot out of this forum if you first go through some these resources first:
    http://www.oracle.com/technology/obe/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    http://www.oracle.com/technology/products/jdev/11/cuecards111/index.html
    Regards,
    Jang Vijay

  • JBO-25036 when executing executeQuery of a view Object

    I have a view object that performs a given query. when I call executeQuery the first time, it works perfectly. But on the second call I get the following error:
    JBO-25036: An invalid object operation was invoked on type View Object with name SxIdiomaVO
    Any ideas what this could be ?
    Thanks a lot.
    Sincerely,
    John.

    John:
    This means that you're trying to call executeQuery() on a ViewObject that has been removed. This could happen if you call remove() on VO or if your AM became disconnected or checked in.
    Once the AM is checked in, you should not use "dangling" reference to a VO inside the AM.
    Could any of the above be the cause of your problem?
    Thanks.
    Sung

  • JBO-25036: InvalidObjAccessException

    Please help me with the error I am getting for creating bind variable in my view object.
    I am getting this error :
    Exception in thread "main" oracle.jbo.InvalidObjAccessException: JBO-25036: An invalid object operation was invoked on type View Object with name RfqwikvwPiListProjectView1
         at oracle.jbo.server.ViewObjectImpl.getSyncLock(ViewObjectImpl.java:421)
         at oracle.jbo.server.ViewObjectImpl.getDefaultRowSet(ViewObjectImpl.java:1161)
         at oracle.jbo.server.ViewObjectImpl.setNamedWhereClauseParam(ViewObjectImpl.java:1610)
         at rfqwikvw.view.beans.TestClient.main(TestClient.java:25)
    Process exited with exit code 1.
    In my view object I am creating bind variable called empnum.
    SELECT RfqwikvwPiListProject.EMPLOYEE_NUMBER,
    RfqwikvwPiListProject.FULL_NAME,
    RfqwikvwPiListProject.ORDER_BY
    FROM APPS.RFQWIKVW_V_PI_LIST_PROJECT RfqwikvwPiListProject
    WHERE RfqwikvwPiListProject.EMPLOYEE_NUMBER = :empnum
    and RfqwikvwPiListProject.ORDER_BY = 1
    empnum is the new bind variable which is created thorough bind variable as type of String.
    It seems that set and get method of the empnum which is automatically created under RfqwikvwPiListProjectViewImpl.java is not setting the value.
    I create the testClient program according to adf development guide as following and get the error :
    package rfqwikvw.view.beans;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.*;
    import oracle.jbo.domain.Number;
    import oracle.jbo.domain.*;
    public class TestClient {
    public static void main(String[] args) {
    TestClient testClient = new TestClient();
    String amDef = "rfqwikvw.view.ProjBalAppModule";
    String config = "ProjBalAppModuleLocal";
    System.out.println("config ="+config);
    System.out.println("amdef ="+amDef);
    ApplicationModule am =
    Configuration.createRootApplicationModule(amDef,config);
    ViewObject vo = am.findViewObject("RfqwikvwPiListProjectView1");
    // Work with your appmodule and view object here
    System.out.println("vo ***"+vo);
    System.out.println("am **"+am);
    Configuration.releaseRootApplicationModule(am,true);
    vo.setNamedWhereClauseParam("empnum","37230");
    // vo.executeQuery();
    }

    Hi Ayse,
    I have been working on the issue through Metalink.
    I could have your testcase working by adding an invokeAction in your PageDefinition and changing the NDValue (I couldn't find the UserInfoBean defined on the sessionScope anywhere)
        <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                        version="10.1.3.41.57" id="proj_balPageDef"
                        Package="rfqwikvw.view.pageDefs"
        EnableTokenValidation="false"><parameters/>
          <executables>
            <variableIterator id="variables"/>
            <invokeAction Binds="test" id="SetEmpnum"/> <------------------------------- (1)
            <iterator id="RfqwikvwPiListProjectView1Iterator" RangeSize="10"
                      Binds="RfqwikvwPiListProjectView1"
                      DataControl="ProjBalAppModuleDataControl"/>
          </executables>
          <bindings>
            <table id="RfqwikvwPiListProjectView1"
            </table>
            <methodAction id="test"
                          InstanceName="ProjBalAppModuleDataControl.dataProvider"
                          ...>
              <NamedData NDName="searchString" NDType="java.lang.String"
        NDValue="#{UserInfoBean.p_awd_emp_no}"/> <---------------------------------- (2)
            </methodAction>
          </bindings>
          </pageDefinition>After that change, the "test" method was executed, and the value from "p_awd_emp_no" (defined in your backing bean ) passed as parameter.
    Regards,
    Didier.

  • Invalid object access execption

    JBO-25036 an invalid object operation was invoked on type View Object with name <viewname>
    can somebody tell me what is the root cause for the exception.
    Some time its working fine and sometimes its giving the error. frequency level is approx. once in five attempt to access the jsp page.
    Please help!!!!!!!!!!!!!

    In the error description its showing this error is heppening at the line where we access oracle.jbo.server.ViewObjectImpl.getSyncLock() method..some line number is given.

  • JBO-25036 Error

    Hi all,
    We have developed an application based on ADF pages integrated with SSO for security. The user has to provide correct username and password to enter the application. Intially once the user is authenticated an EO (calling an SQL select query) is executed and by clicking on one of the results from SQL query the user is taken into another page which is based on transient VOs.
    Now the problem that we are facing is, once the user is authenticated and application page is to be displayed, a error message is getting displayed on our page saying :
    JBO-25036: An invalid object operation was invoked on type View Object with name OurVOName
    We have handeled Exceptions that's why the error is getting displayed on page. This error is not persistent. It is appearing few times. Once we close the browser and do the same thing again(i.e. giving login credentials) it is working fine.
    Can any one please help us in figuring out what is going wrong?
    Thanks,
    Minnu.

    Repost

  • JBO-25005: Object name 1230_CONTEXT_VO for type View Object is invalid

    Hi
    I am getting JBO 25005 error when I do self appraisal and click cancel or continue button.
    We have extended VO and CO on this page, any thoughts what can be the reason behind this error?
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidObjNameException: JBO-25005: Object name 1230_CONTEXT_VO for type View Object is invalid
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2662)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidObjNameException: JBO-25005: Object name 1230_CONTEXT_VO for type View Object is invalid
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2662)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidObjNameException: JBO-25005: Object name 1230_CONTEXT_VO for type View Object is invalid
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2662)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Edited by: 879492 on Apr 26, 2012 1:19 AM

    Hi NSP,
    Check if any personalization been done at responsibility level , that might be causing the issue .
    Also check the AOL functions as well .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                           

  • ERROR - JBO-25005: Object name  for type View Object is invalid

    Hi All,
    I am getting this error "JBO-25005: Object name for type View Object is invalid" while executing my VO query in Controller code. Can any one please tell me the reason behind this error?
    I am creating a VO dynamically and .xml file of a VO is placed in a proper directly. Please let me know some inputs to resolve this.
    Thanks & Regards,
    -Abm

    I found the below explanation for the error mentioned. Check if your package name, Object names confirm to the standard specified
    JBO-25005: InvalidObjNameException
    Cause: An attempt has been made to associate a business component name with an object for which it is not valid.
    Action: The name should be a valid Java identifier with no spaces or punctuation. Names are of the format myProjectPackage.BusinessPackage.BusinessComponent

  • JBO-25005: Object name  for type View Object is invalid

    Hi All,
    my workflow page is not opening when i try to open it by using some different responsibility.
    Its throwing an error message:
    JBO-25005: Object name for type View Object is invalid
    any suggestions?
    Thanks,
    NSP

    Hi NSP,
    Check if any personalization been done at responsibility level , that might be causing the issue .
    Also check the AOL functions as well .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                           

  • PDF Exception: Invalid object for the XFA entry in the forms dictionary

    Hi,
    We have an online adobe interactive form, via webdynpro, which saves OK, but occassionaly when a form is loaded again the form appears blank and the below error is returned by the ADS.  I've searched but cannot find any definitive answer to this issue:
    Processing exception during a "GetData" operation.#Request start time:Tue Jan 11 14:08:47 GMT 2011#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da##Exception Stack Trace:#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da###at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)###at com.adobe.ads.operation.GetData.execute(Unknown Source)###at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)###atcom.adobe.ads.request.Request.processOperations(Unknown Source)###at com.adobe.ads.request.Request.process(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)###at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)###at sun.reflect.GeneratedMethodAccessor1814.invoke(Unknown Source)###at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)###at java.lang.reflect.Method.invoke(Method.java:324)###at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)###at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)###atSoapServlet.doPost(SoapServlet.java:51)##at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)###at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)###at com.sap.engine.services.http
    server.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)###atcom.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnali er.java:364)###at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)###atcom.sap.engine.services.httpserver.server.Reques
    Analizer.handle(RequestAnalizer.java:265)###at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)###at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)###at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)###at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)###at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)###at java.security.AccessController.doPrivileged(Native Method)###at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)###at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)##Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: Invalid object for the XFA entry in the forms dictionary.###at com.adobe.internal.pdftoolkit.services.xfa.impl.PDFFormSupport.exportXFAData(Unknown Source)###at com.adobe.internal.pdftoolkit.services.xfa.XFAService.exportDataset(Unknown Source)###... 32 more##
    Please help!
    Edited by: Kevin Alcock on Jan 11, 2011 2:20 PM

    Hi Otto,
    We have had the form working and in most instances the form can be updated multiple times without issue.  However, occassionally a form is created OK but the next time it is launched it is blank (the data is visible when the PDF is downloaded to the desktop)
    Do you think this issue could be to do with the form layout/XML...I changed the form template 2 days ago as I suspected this issue could be realted to incorrect field bindings but we have had the error on a form created after the change was made.
    Many Thanks,
    Kevin
    Edited by: Kevin Alcock on Jan 13, 2011 1:10 PM

  • Problem with ORA-24372 invalid object for describe

    I have unresolved problem with oracle message: ORA-24372 invalid object for describe. There is the client-server application which installed on users PCs. Client application is program on Delphi 7 that installed on several users PCs which works with Oracle DB 10g server (clients on users side 8.1.7) by means ODAC 5.7. Each user by means this application works with data on Oracle server. Each group of users uses its own schema. Each of this schema has grants to select data and execute procs in the main schema. During the time of operation I modified and compiled some procs in the main schema. As the result I found some depended Invalid objects in main schema. I recompiled them. There is no invalid objects in all schemas. But when I starts application in one user place (he uses for example schema X1) I see oracle message: ORA-24372 invalid object for describe. Other users in group which uses schema X1 works without this problem. There is finite aggregate of users of schema Х1 which has this message but some users of schema Х1 has no problem. All users has identical software and there is no any invalid objects in schemas! I try to start application on my PC using schema X1 and finds ORA-24372 then I try to start application on neighbors PC and it is all ok! It happened after I recompiled main schema in the time of users operation. What should I do to resolve this problem? Where to find the source of the problem: in client or in server?

    To Mr. Sven Weller
    The purpose of creation X1 (X2, Х3…) was restriction of users to access objects in the Main Schema. X1 has no any objects except function that returns her name for internal purposes. X1 has many synonyms for objects in the Main schema. There is no invalid objects in X1!

  • Invalid Object error in Stored Procedure

    
    Royal Thomas

    It was a bit of a puzzler, but here is a repro that demonstrates Thomas's problem:
    CREATE USER svante WITHOUT LOGIN WITH DEFAULT_SCHEMA = guest
    ALTER ROLE db_owner ADD MEMBER svante
    go
    EXECUTE AS USER = 'svante'
    go
    CREATE PROCEDURE dbo.testis AS
    SELECT @@procid AS beata INTO sture
    SELECT * FROM sture
    go
    EXEC testis  -- Invalid object name 'sture'.
    go
    REVERT
    go
    EXEC testis -- Succede
    go
    DROP USER svante
    DROP TABLE guest.sture 
    DROP TABLE sture
    DROP PROCEDURE testis
    What is happening is this: In the statement
       SELECT @@procid AS beata INTO sture
    the table is created in the default schema of the current user, not in the default schema of the procedure owner (which is dbo, since the procedures was created in dbo). This was certainly unexpected, at least for me.
    But in
      SELECT * FROM sture
    the regular rules, and here sture resolves to dbo.sture, not guest.sture.
    Thomas should make sure that he uses dbo.xxxx in all his SELECT INTO statements.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • A pool operation was specified for a pooled resource that does not belong t

    hi i left the server running for days so my application was running i refresh the page by clicking the ok button in small popup box,the page was refresh but when i what to select my lov am geting this error
    A pool operation was specified for a pooled resource that does not belong to the resource pool.
    Error     
    java.lang.NullPointerException
    Caused by: java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1797)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1672)
         ... 187 more
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1797)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1672)
         at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1645)
         at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1607)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:725)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getDisplayData(JUCtrlListBinding.java:3586)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding$1.size(FacesCtrlListBinding.java:382)
         at java.util.AbstractList$Itr.hasNext(AbstractList.java:339)
         at oracle.adfinternal.view.faces.renderkit.rich.SelectItemUtils.addSelectItems(SelectItemUtils.java:207)
         at oracle.adfinternal.view.faces.renderkit.rich.SelectItemUtils.getSelectItems(SelectItemUtils.java:78)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectOneChoiceRenderer.getSelectItems(SimpleSelectOneChoiceRenderer.java:98)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer._renderContent(SimpleSelectBaseRenderer.java:208)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleSelectBaseRenderer.renderElementContent(SimpleSelectBaseRenderer.java:122)
         at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:152)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:769)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1140)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:348)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:313)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2004)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1360)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:279)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)my lov is empty,but where i restart Instance IntegratedWebLogicServer all is fine what cause this error
    Edited by: adf009 on 2013/04/03 9:28 AM
    Edited by: adf009 on 2013/04/03 1:13 PM

    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem

  • SSAS 2012 Tabular Error: The operation was cancelled because of locking conflicts

    I have a 800 mb SSAS database that I refresh(Process current day partition) every 30 minutes. As soon as the processing starts all my users get error The operation was cancelled because of locking conflicts. I ran the deadlocks trace as described in http://blogs.msdn.com/b/sql_pfe_blog/archive/2009/08/27/deadlock-troubleshooting-in-sql-server-analysis-services-ssas.aspx
    but all I see is the processing start and all the users getting the error ("The operation was cancelled because of locking conflicts") 22 mil sec after the processing starts.
    I also ran "select * from $system.discover_locks" but I only see lock types 2,4 and 8. None of which seem to be exclusive
    This is SSAS 2012 with sp 1
    Database Architect

    Hi Derek,
    According to your description, you get the dead lock error when processing partition. Right?
    In Analysis Services, this error occurs when lock manager detects a dead lock. Lock type 2,4 and 8 can also have two transactions waiting each other and cause deadlock. In this scenario, please check the Dead Lock Graph in SQL Profiler
    and find the related processes. Check what the processes work for to see if you need to do parallel processing or process other objects before partition processing.
    Best Regards, 
    Simon Hou
    TechNet Community Support

  • ORA-29283 invalid file operation

    NLSRTL      10.2.0.5.0     Production
    Oracle Database 10g Enterprise Edition      10.2.0.5.0     64bi
    PL/SQL      10.2.0.5.0     Production
    TNS for IBM/AIX RISC System/6000:      10.2.0.5.0     Productio
    I am trying to get the content of a trace file generated for me.
    Because I don't have privileges to log on the server and copy the trace file for me directly with some os user, I am doing the following:
    1. I alter my session trace identifier to easier identify the trace file
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'Func01';2. I invoke DBMS_MONITOR
    3. I run the procedure I want to monitor.
    4. I disable the monitoring by calling DBMS_MONITOR
    5. At this point I run the following query to identify my trace file:
    select u_dump.value || '/' || instance.value || '_ora_' || v$process.spid || nvl2(v$process.traceid, '_' || v$process.traceid, null ) || '.trc'"Trace File"
    from V$PARAMETER u_dump
    cross join V$PARAMETER instance
    cross join V$PROCESS
    join V$SESSION on v$process.addr = V$SESSION.paddr
    where 1=1
       and u_dump.name = 'user_dump_dest'
       and instance.name = 'instance_name'
       and V$SESSION.audsid=sys_context('userenv','sessionid');It gives me: /ORACLE/MYDB/trace/MYDB_ora_3616822_Func01.trc
    I have created directory in advanced on the path where the traces are stored:
    CREATE OR REPLACE DIRECTORY trace_dir AS '/ORACLE/MYDB/trace/';
    SELECT * FROM dba_directories WHERE directory_name = 'TRACE_DIR';
    Output:
    OWNER DIRECTORY_NAME DIRECTORY_PATH
    SYS     TRACE_DIR      /ORACLE/MYDB/trace/I don't have rights to grant read, write on TRACE_DIR to my user, as I am not logged with SYS.
    I created a table to store in it the lines from the trace file:
    CREATE TABLE tmp_traces_tab
      callnum NUMBER,
      line NUMBER,
      fileline CLOB
    );Then I run the following PL/SQL block to retrieve the content of the trace and store it in the table T:
    DECLARE
      l_file            UTL_FILE.file_type;
      l_location     VARCHAR2 (100) := 'TRACE_DIR';
      l_filename    VARCHAR2 (255) := 'MYDB_ora_3616822_Func01.trc';
      l_text           VARCHAR2 (32767);
      l_line           NUMBER := 1;
      l_call           NUMBER := 1;
    BEGIN
      -- Open file.
      l_file := UTL_FILE.fopen (l_location, l_filename, 'r', 32767);
      -- Read and output first line.
      UTL_FILE.get_line (l_file, l_text, 32767);
      INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
      l_line := l_line + 1;
      BEGIN
        LOOP
          UTL_FILE.get_line (l_file, l_text, 32767);
           INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
           l_line := l_line + 1;
        END LOOP;
      EXCEPTION
        WHEN NO_DATA_FOUND THEN
          NULL;
      END;
      INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
      l_line := l_line + 1;
      UTL_FILE.fclose (l_file);
    END;
    /And when I run the code I get the error: ORA-29283 invalid file operation.
    Is it possible to a role my user to be able to get the content of the trace files in the directory TRACE_DIR without having explicit READ , WRITE privileges on it?
    My user currently has these roles:
    select * from dba_role_privs where grantee = USER;
    Output:
    U1     OPR_ROLE_LOSS_SNAPSHOT_READER     YES     YES
    U1     RESOURCE     NO     YES
    U1     CONNECT     NO     YES
    U1     DBA     NO     YES
    U1     OPR_ROLE_SUPPORT_USER     YES     YESI know that on another db with different user I hit no errors when doing completely the same (of course the program unit I monitor is different).
    That other user with which I have NO issues has these roles:
    select * from dba_role_privs where grantee = USER;
    Output:
    U2    DBA    NO    YES
    U2    EXEC_SYS_PACKAGES_ROLE    NO    YES
    U2    EXECUTE_CATALOG_ROLE    NO    YES
    U2    CONNECT    NO    YES

    Verdi wrote:
    NLSRTL      10.2.0.5.0     Production
    Oracle Database 10g Enterprise Edition      10.2.0.5.0     64bi
    PL/SQL      10.2.0.5.0     Production
    TNS for IBM/AIX RISC System/6000:      10.2.0.5.0     Productio
    And when I run the code I get the error: ORA-29283 invalid file operation.
    Is it possible to a role my user to be able to get the content of the trace files in the directory TRACE_DIR without having explicit READ , WRITE privileges on it?
    My user currently has these roles:
    select * from dba_role_privs where grantee = USER;
    Output:
    U1     OPR_ROLE_LOSS_SNAPSHOT_READER     YES     YES
    U1     RESOURCE     NO     YES
    U1     CONNECT     NO     YES
    U1     DBA     NO     YES
    U1     OPR_ROLE_SUPPORT_USER     YES     YESI know that on another db with different user I hit no errors when doing completely the same (of course the program unit I monitor is different).
    Thanks for posting version alongwith other details.
    TO my knowledge, No you cannot.
    Privileges acquired via a Role are not valid in PL/SQL. You need to have explicit privileges.

Maybe you are looking for