DataTable Exception: Invalid operation for the current cursor position

I have a JSF application that lists rows from a view in a SQL Server database. I have set up a commandLinks in an extra columns.
The data is displayed properly, but when I select one of the commandLinks I get the "Invalid operation for the current cursor position" exception.
Here's the source
Domain.jsp
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <html lang="en-US" xml:lang="en-US">
            <head>
                <meta content="no-cache" http-equiv="Cache-Control"/>
                <meta content="no-cache" http-equiv="Pragma"/>
                <title>Page1 Title</title>
                <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
            </head>
            <body style="-rave-layout: grid">
                <h:form binding="#{Domains.form1}" id="form1">
                    <h:dataTable binding="#{Domains.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd"
                        value="#{Domains.dataTable1Model}" var="currentRow">
                        <h:column binding="#{Domains.column9}" id="column9">
                            <h:selectBooleanCheckbox binding="#{Domains.checkbox2}" id="checkbox2"/>
                            <f:facet name="header">
                                <h:outputText binding="#{Domains.outputText9}" id="outputText9" value="Select"/>
                            </f:facet>
                        </h:column>
                        <h:column binding="#{Domains.column10}" id="column10">
                            <f:facet name="header">
                                <h:outputText binding="#{Domains.outputText4}" id="outputText4" value="Name"/>
                            </f:facet>
                            <h:commandLink action="#{Domains.groupList}" binding="#{Domains.linkAction1}" id="linkAction1">
                                <h:graphicImage binding="#{Domains.image1}" id="image1" url="resources/images/domain16.gif" value="resources/images/domain16.gif"/>
                                <h:outputText binding="#{Domains.linkAction1Text}" id="linkAction1Text" value="#{currentRow['name']}"/>
                            </h:commandLink>
                        </h:column>
                        <h:column binding="#{Domains.column3}" id="column3">
                            <h:outputText binding="#{Domains.outputText5}" id="outputText5" value="#{currentRow['description']}"/>
                            <f:facet name="header">
                                <h:outputText binding="#{Domains.outputText6}" id="outputText6" value="Description"/>
                            </f:facet>
                        </h:column>
                        <h:column binding="#{Domains.column4}" id="column4">
                            <h:selectBooleanCheckbox binding="#{Domains.checkbox1}" id="checkbox1" value="#{Domains.domainviewRowSet.currentRow['enabled']}==1"/>
                            <f:facet name="header">
                                <h:outputText binding="#{Domains.outputText8}" id="outputText8" value="Enabled"/>
                            </f:facet>
                        </h:column>
                        <h:column binding="#{Domains.column7}" id="column7">
                            <h:outputText binding="#{Domains.outputText13}" id="outputText13" value="#{currentRow['userCount']}"/>
                            <f:facet name="header">
                                <h:outputText binding="#{Domains.outputText14}" id="outputText14" value="Users"/>
                            </f:facet>
                        </h:column>
                        <h:column binding="#{Domains.column8}" id="column8">
                            <h:outputText binding="#{Domains.outputText15}" id="outputText15" value="#{currentRow['groupCount']}"/>
                            <f:facet name="header">
                                <h:outputText binding="#{Domains.outputText16}" id="outputText16" value="Groups"/>
                            </f:facet>
                        </h:column>
                        <h:column binding="#{Domains.column5}" id="column5">
                            <f:facet name="header">
                                <h:outputText binding="#{Domains.outputText17}" id="outputText17" value="Actions"/>
                            </f:facet>
                            <h:commandLink action="#{Domains.editDomain}" binding="#{Domains.linkAction2}" id="linkAction2">
                                <h:graphicImage binding="#{Domains.image2}" id="image2" title="Edit" value="resources/images/edit.gif"/>
                            </h:commandLink>
                            <h:commandLink binding="#{Domains.linkAction3}" id="linkAction3">
                                <h:graphicImage binding="#{Domains.image3}" id="image3" title="View" url="resources/images/view.gif" value="resources/images/view.gif"/>
                            </h:commandLink>
                            <h:commandLink binding="#{Domains.linkAction4}" id="linkAction4">
                                <h:graphicImage binding="#{Domains.image4}" id="image4" title="Delete" value="resources/images/delete.gif"/>
                            </h:commandLink>
                        </h:column>
                    </h:dataTable>
                </h:form>
            </body>
        </html>
    </f:view>
</jsp:root>
Domains.java
* Page1.java
* Created on October 28, 2004, 12:45 PM
* Copyright Gordon.Bell
package usergroupmgt;
import javax.faces.*;
import com.sun.jsfcl.app.*;
import javax.faces.component.html.*;
import com.sun.jsfcl.data.*;
import javax.faces.component.*;
import com.sun.sql.rowset.*;
import javax.faces.convert.*;
public class Domains extends AbstractPageBean {
    // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
    private int __placeholder;
    private HtmlForm form1 = new HtmlForm();
    public HtmlForm getForm1() {
        return form1;
    public void setForm1(HtmlForm hf) {
        this.form1 = hf;
    private HtmlDataTable dataTable1 = new HtmlDataTable();
    public HtmlDataTable getDataTable1() {
        return dataTable1;
    public void setDataTable1(HtmlDataTable hdt) {
        this.dataTable1 = hdt;
    private JdbcRowSetXImpl domainviewRowSet = new JdbcRowSetXImpl();
    public JdbcRowSetXImpl getDomainviewRowSet() {
        return domainviewRowSet;
    public void setDomainviewRowSet(JdbcRowSetXImpl jrsxi) {
        this.domainviewRowSet = jrsxi;
    private HtmlOutputText outputText4 = new HtmlOutputText();
    public HtmlOutputText getOutputText4() {
        return outputText4;
    public void setOutputText4(HtmlOutputText hot) {
        this.outputText4 = hot;
    private UIColumn column3 = new UIColumn();
    public UIColumn getColumn3() {
        return column3;
    public void setColumn3(UIColumn uic) {
        this.column3 = uic;
    private HtmlOutputText outputText5 = new HtmlOutputText();
    public HtmlOutputText getOutputText5() {
        return outputText5;
    public void setOutputText5(HtmlOutputText hot) {
        this.outputText5 = hot;
    private HtmlOutputText outputText6 = new HtmlOutputText();
    public HtmlOutputText getOutputText6() {
        return outputText6;
    public void setOutputText6(HtmlOutputText hot) {
        this.outputText6 = hot;
    private UIColumn column4 = new UIColumn();
    public UIColumn getColumn4() {
        return column4;
    public void setColumn4(UIColumn uic) {
        this.column4 = uic;
    private HtmlOutputText outputText8 = new HtmlOutputText();
    public HtmlOutputText getOutputText8() {
        return outputText8;
    public void setOutputText8(HtmlOutputText hot) {
        this.outputText8 = hot;
    private UIColumn column7 = new UIColumn();
    public UIColumn getColumn7() {
        return column7;
    public void setColumn7(UIColumn uic) {
        this.column7 = uic;
    private HtmlOutputText outputText13 = new HtmlOutputText();
    public HtmlOutputText getOutputText13() {
        return outputText13;
    public void setOutputText13(HtmlOutputText hot) {
        this.outputText13 = hot;
    private HtmlOutputText outputText14 = new HtmlOutputText();
    public HtmlOutputText getOutputText14() {
        return outputText14;
    public void setOutputText14(HtmlOutputText hot) {
        this.outputText14 = hot;
    private UIColumn column8 = new UIColumn();
    public UIColumn getColumn8() {
        return column8;
    public void setColumn8(UIColumn uic) {
        this.column8 = uic;
    private HtmlOutputText outputText15 = new HtmlOutputText();
    public HtmlOutputText getOutputText15() {
        return outputText15;
    public void setOutputText15(HtmlOutputText hot) {
        this.outputText15 = hot;
    private HtmlOutputText outputText16 = new HtmlOutputText();
    public HtmlOutputText getOutputText16() {
        return outputText16;
    public void setOutputText16(HtmlOutputText hot) {
        this.outputText16 = hot;
    private HtmlSelectBooleanCheckbox checkbox1 = new HtmlSelectBooleanCheckbox();
    public HtmlSelectBooleanCheckbox getCheckbox1() {
        return checkbox1;
    public void setCheckbox1(HtmlSelectBooleanCheckbox hsbc) {
        this.checkbox1 = hsbc;
    private UIColumn column5 = new UIColumn();
    public UIColumn getColumn5() {
        return column5;
    public void setColumn5(UIColumn uic) {
        this.column5 = uic;
    private UIColumn column9 = new UIColumn();
    public UIColumn getColumn9() {
        return column9;
    public void setColumn9(UIColumn uic) {
        this.column9 = uic;
    private HtmlSelectBooleanCheckbox checkbox2 = new HtmlSelectBooleanCheckbox();
    public HtmlSelectBooleanCheckbox getCheckbox2() {
        return checkbox2;
    public void setCheckbox2(HtmlSelectBooleanCheckbox hsbc) {
        this.checkbox2 = hsbc;
    private HtmlOutputText outputText9 = new HtmlOutputText();
    public HtmlOutputText getOutputText9() {
        return outputText9;
    public void setOutputText9(HtmlOutputText hot) {
        this.outputText9 = hot;
    private UIColumn column10 = new UIColumn();
    public UIColumn getColumn10() {
        return column10;
    public void setColumn10(UIColumn uic) {
        this.column10 = uic;
    private RowSetDataModel dataTable1Model = new RowSetDataModel();
    public RowSetDataModel getDataTable1Model() {
        return dataTable1Model;
    public void setDataTable1Model(RowSetDataModel rsdm) {
        this.dataTable1Model = rsdm;
    private BooleanConverter booleanConverter1 = new BooleanConverter();
    public BooleanConverter getBooleanConverter1() {
        return booleanConverter1;
    public void setBooleanConverter1(BooleanConverter bc) {
        this.booleanConverter1 = bc;
    private HtmlCommandLink linkAction1 = new HtmlCommandLink();
    public HtmlCommandLink getLinkAction1() {
        return linkAction1;
    public void setLinkAction1(HtmlCommandLink hcl) {
        this.linkAction1 = hcl;
    private HtmlOutputText linkAction1Text = new HtmlOutputText();
    public HtmlOutputText getLinkAction1Text() {
        return linkAction1Text;
    public void setLinkAction1Text(HtmlOutputText hot) {
        this.linkAction1Text = hot;
    private HtmlGraphicImage image1 = new HtmlGraphicImage();
    public HtmlGraphicImage getImage1() {
        return image1;
    public void setImage1(HtmlGraphicImage hgi) {
        this.image1 = hgi;
    private HtmlCommandLink linkAction2 = new HtmlCommandLink();
    public HtmlCommandLink getLinkAction2() {
        return linkAction2;
    public void setLinkAction2(HtmlCommandLink hcl) {
        this.linkAction2 = hcl;
    private HtmlGraphicImage image2 = new HtmlGraphicImage();
    public HtmlGraphicImage getImage2() {
        return image2;
    public void setImage2(HtmlGraphicImage hgi) {
        this.image2 = hgi;
    private HtmlCommandLink linkAction3 = new HtmlCommandLink();
    public HtmlCommandLink getLinkAction3() {
        return linkAction3;
    public void setLinkAction3(HtmlCommandLink hcl) {
        this.linkAction3 = hcl;
    private HtmlGraphicImage image3 = new HtmlGraphicImage();
    public HtmlGraphicImage getImage3() {
        return image3;
    public void setImage3(HtmlGraphicImage hgi) {
        this.image3 = hgi;
    private HtmlCommandLink linkAction4 = new HtmlCommandLink();
    public HtmlCommandLink getLinkAction4() {
        return linkAction4;
    public void setLinkAction4(HtmlCommandLink hcl) {
        this.linkAction4 = hcl;
    private HtmlGraphicImage image4 = new HtmlGraphicImage();
    private HtmlOutputText outputText17 = new HtmlOutputText();
    public HtmlOutputText getOutputText17() {
        return outputText17;
    public void setOutputText17(HtmlOutputText hot) {
        this.outputText17 = hot;
    public HtmlGraphicImage getImage4() {
        return image4;
    public void setImage4(HtmlGraphicImage hgi) {
        this.image4 = hgi;
    // </editor-fold>
    public Domains() {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
        try {
            domainviewRowSet.setDataSourceName("java:comp/env/jdbc/HBird");
            domainviewRowSet.setCommand("SELECT ALL dbo.DomainView.id, dbo.DomainView.name, dbo.DomainView.description, dbo.DomainView.enabled, dbo.DomainView.created, dbo.DomainView.modified, dbo.DomainView.userCount, dbo.DomainView.groupCount  FROM dbo.DomainView");
            dataTable1Model.setDataCacheKey("com.sun.datacache.Domains.domainviewRowSet");
            dataTable1Model.setRowSet(domainviewRowSet);
            dataTable1Model.setSchemaName("");
            dataTable1Model.setTableName("");
        } catch (Exception e) {
            log("Page1 Initialization Failure", e);
            throw e instanceof javax.faces.FacesException ? (FacesException) e : new FacesException(e);
        // </editor-fold>
        // Additional user provided initialization code
//        try {
//            domainviewRowSet.execute();
//            domainviewRowSet.next();
//        } catch (Exception ex) {
//            throw new FacesException(ex);
    protected usergroupmgt.ApplicationBean1 getApplicationBean1() {
        return (usergroupmgt.ApplicationBean1)getBean("ApplicationBean1");
    protected usergroupmgt.SessionBean1 getSessionBean1() {
        return (usergroupmgt.SessionBean1)getBean("SessionBean1");
     * Bean cleanup.
    protected void afterRenderResponse() {
        domainviewRowSet.close();
    public String groupList() {
        // User event code here...
        return "groupList";
    public String editDomain() {
        // User event code here...
        return "editDomain";
}and the exception stack:
Stack trace:
com.sun.jsfcl.data.ResultSetPropertyResolver$RowData.getData(Unknown Source)
com.sun.jsfcl.data.ResultSetPropertyResolver.getValue(Unknown Source)
com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:80)
javax.faces.component.UIOutput.getValue(UIOutput.java:147)
javax.faces.component.UIInput.validate(UIInput.java:639)
javax.faces.component.UIInput.executeValidate(UIInput.java:838)
javax.faces.component.UIInput.processValidators(UIInput.java:412)
javax.faces.component.UIData.iterate(UIData.java:969)
javax.faces.component.UIData.processValidators(UIData.java:781)
javax.faces.component.UIForm.processValidators(UIForm.java:170)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
java.security.AccessController.doPrivileged(AccessController.java:-2)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
java.lang.Thread.run(Thread.java:534)Any help is appreciated.

Hi,
Looks like some inconsistency in the jsp source:
in the 2nd link the url property is set. I don't think
you need to set this.
I couldn't tell what action you want to occur when you
click. If you want some action to occur such as
navigating to another page then you can use Page Navigation. Then you would need an action handler
for the LinkAction component.
<h:commandLink action="#{Domains.editDomain}" binding="#{Domains.linkAction2}" id="linkAction2">
<h:graphicImage binding="#{Domains.image2}" id="image2" title="Edit" value="resources/images/edit.gif"/>
</h:commandLink>
<h:commandLink binding="#{Domains.linkAction3}" id="linkAction3">
<h:graphicImage binding="#{Domains.image3}" id="image3" title="View" url="resources/images/view.gif" value="resources/images/view.gif"/>
</h:commandLink>
<h:commandLink binding="#{Domains.linkAction4}" id="linkAction4">
<h:graphicImage binding="#{Domains.image4}" id="image4" title="Delete" value="resources/images/delete.gif"/>
</h:commandLink>
John
JSC QA

Similar Messages

  • 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

  • How to get the current cursor position in word report?

    I am generating a word report. But I would like to keep the table in one page. However, I did not find the way to do it in labview. Somebody would give me some suggestions? I appreciate a lot.
    One way I think I can do is to find the current cursor position. Since I know the table size so I can figure out if the left space in the current page is enough to hold the table. But I do not know how to locate the curent cursor position in word document in labview programmatically. I appreciate any suggestions on this question.
    Thanks.

    Hi,
    when you insert data in a word document you have to refer to bookmarks rather than cursor position.
    If you are using the Report Generation Toolkit for Office it is explained in the manual chapter 3-1.
    See also the example: Generate Report From Template (Word).vi included in the toolkit.
    If you aren't using the toolkit, you still have to refer to bookmark as reference points to insert and/or fetch data.
    The principle is:
    - First create a document in which you insert bookmarks where you wish and save it as a template
    - In LV open your template document and insert in it your data referring to bookmarks as insertion points
    - At the end save your report with another name, so you still have the template
    I hope I have been clear enough, if not just as
    k!
    Good luck,
    Alberto

  • Inserting text into a field at the current cursor position

    Does anyone know how to insert text into a field at the current cursor position? I would like it to work similar to the Syntax Palette in Forms. I cannot figure out how to retrieve the current cursor position in order to manipulate the text.
    Any help would be great.
    Thanks.

    Hi,
    If the button and the textfield are on in the same subform then this code should work in the click event of the button
    (This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
    (assuming the name of the textfield is TextField1)
    TextField1.rawValue = "some value";
    If they are in different subforms then you have 2 options
    Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
    option 1 -
    use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
    e.g. 
    (Click Event of the button)
    this.parent.subformname.TextField1.rawValue = "some value";
    option 2 -
    Use the resolve node to make your way down from the top level of the form
    xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
    Hope this helps
    Malcolm
    p.s. I am making assumptions as the image/file you attached did not appear for me.

  • How to get the index of the word at current cursor position in the word?

    Dear All
    I am implementing a spell checker of my native language in Word. Whenever I run spell checker it start from the first word. How can I make it to start from the current cursor position? How can I get the index of the word at the current cursor position?
    Thanks in advance.
    Dharam Veer Sharma

    hi Dharam Veer Sharma,
    Thanks for sharing the solultion with us.
    It is helpful for others who have the same issue. And if you have any Office developing issue, please feel free to open a new thread.
    Have a nice day.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Apps Login Page Error- Insufficient privileges for the current operation

    Hi Gurus,
    We migrated application node from HP-UNIX to SUN Solaris with 11.5.10.2 and 10.2.04 database. When i try to login as sysadmin, got the error You have insufficient privileges for the current operation.
    But i can able to go in with Forms URL and it works. I don't see any errors on IAS except
    Fatal error in parsing device registration file in jserv.log.
    Any help is appreciated.
    Thank You.

    I found 150 invalid objects in the database. Also i have question here my database and the application is on different domains.Where do you have those invalid objects? Under what schema?
    Using different domain names should be OK.
    Do you think that will work. If the application and database put it in the same domain( put the apps in same database domain), by running the autoconfig will update the domain name in application server globally.I cannot assure if it is going to work or not.
    Have you checked Apache log files?
    If not change the domain name globally what else need to be done to change it. Please suggest on that.These are the docs you need to access if you want to change the domain name.
    How to change the hostname of an Applications Tier using AutoConfig [ID 341322.1]
    How to change the hostname and/or port of the Database Tier using AutoConfig [ID 338003.1]
    Steps To Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]
    Thanks,
    Hussein

  • You have insufficient privileges for the current operation-Getting error running OAF page in R12

    I have a custom OAF page in R11 which is working fine.
    Same page is giving below errors in R12.
    Any suggestions how to resolve this issue..please advice.
    [167]:STATEMENT:[fnd.framework.webui.OAPageSecurity]:MAC validation status = false   
    [167]:STATEMENT:[fnd.framework.webui.OAPageSecurity]:Request parameters validation status = false   
    [167]:ERROR:[fnd.framework.webui.OAPageSecurity]:You cannot run a page which is not SelfSecured when the MAC fails.   
    [169]:ERROR:[fnd.common.Message.auto_log]:FNDFND_INSUFF_PRIVILEGES   
    [169]:ERROR:[fnd.framework.OAException]:You have insufficient privileges for the current operation. Please contact your System Administrator.   
    [170]:EVENT:[fnd.framework.webui.OAPageContextImpl]:OAF LOG: Event : Redirect Page, in: oracle.apps.fnd.framework.webui.OAPageContextImpl: OA.jsp?akRegionCode=FNDDIALOGPAGE&akRegionApplicationId=0&transactionid=817211813&oapc=10&oas=YyMjRI6buFwrYehD8b25iQ..&retainAM=Y&addBreadCrumb=S&OAMC=G   
    [170]:PROCEDURE:[fnd.profiles.Profiles]:getProfileOptionValue:  name=JTF_PF_MASTER_ENABLED; levelID=10001; levelValue=0; levelValueApplID=0   
    [170]:EVENT:[jtf.activity.CorePageObject]: PATBE START currentPageObject : PAT STATUS:false   
    [170]:EVENT:[jtf.activity.CorePageObject]: PATBE END currentPageObject : return factory.dummyProxyUser():   
    [322]:EXCEPTION:[fnd.framework.webui.OAPageBean]:java.lang.NullPointerException   
    Thanks in Advance
    Sridevi K

    Hi Sridevi,
    The custom page is a selfsecured page?
    ie, it will be accessed without login?
    What is the profile option fnd_debuging_level 's value set to.
    I Could see one your other thread
    Re: You have insufficient privileges for the current Operation error
    you mentioned that you did tried setting the profile options
    Framework Validation Level
    FND Function Validation LEvel
    FND Validation Level
    to none, still you are facing the issue,
    At what level you tried the profile options.
    Thanks,
    With regards,
    Kali.
    OSSi.    

  • An Invalid Setup has been detected for the current Transaction Type in AME

    Gurus,
    I am constantly getting an error An Invalid Setup has been detected for the current Transaction Type in Approvals Management
    My client have 3 units say A,B,C. A requirement is such that whenever a vacancy is created, an approval should be sought from units HR manager.
    I have created a dynamic query for this and it is working fine for first two units say A & B. i.e. whenever somebody from unit A or B creates a vacancy it is correctly fetching the
    respective units managers. But, this whole AME is not working for unit C. An error pops out which says *An Invalid Setup has been detected for the current Transaction Type in
    Approvals Management* . Can anybody tell me what can be the issue?
    Edited by: 919527 on Aug 8, 2012 12:40 AM
    Edited by: 919527 on Aug 8, 2012 12:41 AM

    Solved it. The cursor wsa fetching two rows in plcae of one.

  • Error in SQL Query The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query

    hi Experts,
    while running SQL Query i am getting an error as
    The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    T2.LineText
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,T2.LineText
    how to resolve the issue

    Dear Meghanath,
    Please use the following query, Hope your purpose will serve.
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    CAST(T2.LineText as nvarchar (MAX))[LineText]
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,CAST(T2.LineText as nvarchar (MAX))
    Regards,
    Amit

  • APP-PAY-07092: This action is invalid for the current record.

    Unable to access employees assignment panel in order to make updates within oracle HR receiving this error.How to fix this.

    Please see these docs.
    APP-PAY-07092 This action is invalid for the current record when Trying to Access Assignment [ID 813815.1]
    PERWSHRG APP-PAY-07092 when Navigating to Assignments Screen [ID 796523.1]
    PERWSHRG APP-PAY-07092 Trying to Access Assignment [ID 1434212.1]
    PERWSEAC Cannot enter Costing for Contingent Workers APP-PAY-07092 [ID 1458000.1]
    App-Pay-07092:Action Invalid for Current Record:Salary for Active Contingent Asg [ID 360168.1]
    Payment Method Errors When Opened: APP-PAY-07092: This process is invalid for the current record. [ID 289691.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ErrText=You+have+insuff icient+privileges+for+the+current+operation

    We remained our domain name. No port change. No host change.
    We followed the note: 338003.1 All the steps went through fine.
    When we tried to login.
    After entering user name and password, login page again appears. The URL contains the following error message.
    .... AppsLogin&errText=You+have+insuff icient+privileges+for+the+current+operation ...
    Anyone Please hep me.

    The issue is resolved by
    1. ADADMIN -> Compile All Menus (FORCE)
    2. ICX_PARAMETERS.SESSION_COOKIE_DOMAIN -> hostaname.new_domain
    Thanks.
    S. Sundar

  • Getting error "You have insufficiant priviliges for the current operation"

    Hi,
    we are calling one seeded self service page from one custom self service page. But it is showing error like *"You have insufficiant priviliges for the current operation. Pls contact your system administrator."* Pls advice how to resolve this issue.
    Thanks in advance,
    Hanimi.....

    Hanimi
    This can be possible that in the instance in which it is working, In that the user with which you are testing the page is having access to that particular responsibility to which this page is attached.
    So try to assign this page's responsibility to your user and try again.
    Thanks
    AJ

  • Current operation for the product order

    how do i determine a current operation for the production order? in what table shall i get this indicator? ive been searching in afru and i cant seem to find it?

    In your production order, there might be a sequence of operations. Each operations will be having the status. Based on the confirmation, the operation status will be updated. If the order status is CNF means it is completed. If the status in not CNF, then it is not completed. Based on the operation sequence, you can find out the current operation in your production order.
    This information you can get from the table AFVG. AFVG table is for order operation details.
    Hope this clarifies your doubt.
    Regards,
    V. Suresh

  • You have insufficient privileges for the current operation error

    Dear All,
    i am getting the You have insufficient privileges for the current operation. Please contact your System Administrator error while opening the oaf page in same window of oracle apps .
    below is the apache log file error
    File does not exist: "instance"/portal/oa.jsp
    Please let me know what is the problem .
    Thanks
    Maheswara Raju

    Try adding the System Administrator responsibility to your user.

  • SFLIGHT is NOT defined for the current logical database.

    I have just started learning ABAP and bought an ABAP Objects book by Horst Keller. I have installed 4.6d mini sap and SAP GUI 6.4 on win XP Prof. I executed S_FLIGHT_MODEL_DATA_GENERATOR to load DB tables.
    (1). When I tried to check a sample program, I get an error message SFLIGHT is not defined for the current logical database.
    Here is the partial code:
    REPORT zbcb01f1 .
    TABLES: sflight, sbook.
    DATA: BEGIN OF sr OCCURS 100,
          carrid LIKE sbook-carrid,
          connid LIKE sbook-connid,
          fldate LIKE sbook-fldate,
          bookid LIKE sbook-bookid,
          order_date LIKE sbook-order_date,
          loccuram LIKE sbook-loccuram,
          END OF sr.
    GET sflight.   <---- Error is pointed here
    (2). I am also not getting Graphical Screen Painter when selecting Layout for a screen. Instead, I am getting alphanumeric editor.
    Someone please help me.  
    Raizak.

    Hi Raizak,
    the easiest way is to go to service.sap.com/notes and enter the note number. For this time I've copied the 2 notes below.
    Best regards,
    Christian
    Symptom
    The Graphical Layout Editor of the Screen Painter either does not start or terminates.Error message 37527 is displayed in the session in which the call was made (Graphical Layout Editor not available.
    Additional key words
    () EUNOTE, EUSCREENPAINTER, 37 527
    Cause and prerequisites
    This note comprises all the common causes for error message 37527 and provides you with information on how to systematically trouble shoot the problem.
    1. Windows32 or UNIX/motif?
    As of Release 4.6B there is only the program version for 32bit Windows (NT, 95, 98, 2000 ff.).Up to Release 4.6A there was also a version for UNIX/Motif.All of the more current notes (with the exception of Note 45490) refer only to the Windows version.
    2. Termination at the start or during use?
    The following diagnostic steps refer to the causes of the errors which prevent the Graphical Layout Editor from starting. However, there are also known error causes, which result in the program terminating when the application is being used and which also produce the 37527 error message. This affects -
    Rel.4.6C/D: Termination when attempting to read texts in the logon language -> Note 375494
    Crash after transferring program and dictionary fields. Termination after transferring program and dictionary fields -> Note 189245
    Release 3.1I: Termination after inputting field text -> Note 113318
    3. Is the SAPGUI installation correct?
    The Graphical Layout Editor is automatically installed during the standard installation of the SAPGUI.If you chose a non-standard installation, then you should have explicitely selected its installation (component "Development Tools - Graphical Screen Painter").
    The program executable is called gneux.exe.During the SAPGUI installation it is placed in the same directory as the SAPGUI programms (for example, front.exe) (usually C:\Program Files\SAPpc\sapgui). The following belong to the program:
    - An additonal executable gnetx.exe (RFC starter program)
    - the DLL eumfcdll.dll
    - various eusp* data files (that is, the names all begin with eusp.)
    You can check the completeness of the program installation by starting the program gneux.exe locally in the SAPGUI directory (for example, by double-clicking on the program name in the Explorer window).The Layout Editor is displayed with German texts and an empty drawing area for the pseudo screen EUSPDYND 0000.
    If the installation is not complete, an error dialog box provides information regarding the cause of the error, for example, sometimes the DLL eumfcdll.dll is missing after reinstalling the SAPGUI. For example, the eumfcdll.dll DLL was sometimes missing after the SAPGUI was reinstalled.
    4. System link defined and okay?
    The Graphical Layout Editor is a separate program which is started by the Screen Painter Transaction (SE51) on the Frontend machine.
    Up to Release 3.0F, the programs communicated with each other via the graphics log of the SAPGUIs (gmux).The definition of the environment variable SAPGRAPH may be the cause for the program not being being found where it is.
    As of Release 3.1 G, the programs use a separate RFC link which is set up in addition to the SAPGUI's RFC link.Missing or incorrect definitions of the RFC destination EU_SCRP_WN32 or problems with the creation of the RFC link are the most frequent causes for error message 37527 being displayed.Below you can find the correct settings for the RFC destination EU_SCRP_WN32 (under "Solution").Note 101971 lists all the possible causes for problems with the RFC link set-up. Attention:The Graphical Layout Editor may not be operated through a firewall (for example between the SAP and the customer system) because this does not allow an additional RFC connection in addition to the SAPGUI.
    Solution
    ad 1 UNIX/Motif
    Note 45490 describes possible errors resulting from an incorrect program installation under UNIX/Motif (up to Release 4.6A).
    ad 2 Termination when using
    The above-mentioned notes may contain options for solving individual problems.However, you usually have to replace the program with an corrected version.You can do this either by downloading a patch from sapservX or by installing a more current SAPGUI.The patch is mentioned in the respective note.
    ad 3 Installation
    You either need to reinstall the SAPGUI or manually copy the missing file into the SAPGUI directory.In both cases you should make sure beforehand that a Graphical Layout Editor is no longer running.To do this you can either remove all processes gneux.exe from the process list by using a tool such as Task Manager (on WindowsNT) or exit the Graphical Layout Editor from the Screen Painter Transaction menu via Edit -> Cancel Graphical Screen Painter). Attention:For each session or system an individial Layout Editor process may exist so that, if need be, several processes should be cancelled.
    ad 4 System link
    Up to Release 3.0F:you can either delete the environment variable SAPGRAPH or copy all the files of the Graphical Layout Editor into the directory which is specified by SAPGRAPH.
    As of Release 3.1G:you can use Transaction SM59 to check the RFC destination EU_SCRP_WN32 (expand the TCP/IP connections, select destination EU_SCRP_WN32).If the destination is missing, then you should create it with the following settings:
    - Connection type "T" (start of an external program via ...)
    - Activation type "Start"
    - Start on "Front-end workstation"
    - Front-end workstation program "gnetx.exe" (caution! NOT gneux.exe)
    - Description (optional) "Graph. Screen Painter (Windows32)
      Start Program gneux.exe using the gnetx.exe starter program."
    If you want to start the program from a different directory than the SAPGUI standard directory, then replace the default value under Frontend work station by the complete path name for program gnetx.exe.Transaction SM59 also allows you to check the RFC connection via the pushbutton "Test connection").In this case the system attempts to localize and start the program gnetx.exe.If there are errors, a message is displayed regarding the possible causes (for example, gateway problem, timeout problem or the like).Note 101971 provides a detailed explanation of the problems involved with an RFC connection set-up.As the Graphical Screen Painter requires a functional RFC connection as of Release 3.1G, contact the System Administrator or create an message on the topic Middleware (BC-MID-RFC) if you encounter RFC problems.
    If the program gnetx.exe can be found and started, the banner dialog box with logo, release data and version number is displayed briefly.As the Layout Editor itself is not started, the error cause must be in the installation of the Layout Editor program gneux.exe if the connection test was successful.
    Release 4.5A to 4.6B: Use with Releases <3.1G>.
    The Graphical Layout Editor is downward-compatible as regards the system connection, that is, an RFC-based Layout Editor for example from Release 4.6C can also be used on a non-RFC-based Screen Painter, for example of Release 3.0F.However, the releases mentioned above have a program error which causes a crash due to memory violation in the start phase of the program.Note 197328 describes the solution by installation of the corrected program version.
    Important: Trace file dev_euspNNN!
    If none of the diagnosis steps leads to the cause of the error and to the solution of the problem via the corresponding note, then you should add the contents of the trace files dev_euspNNN (NNN = process number) to the message for SAP, if possible.You can find this file in the current directory of the SAP System, for example under Windows NT in C:\Winnt\Profiles\<user>\SAPworkdir.If several such trace files can be found there, make sure that you use the file which matches the termination time with respect to date and time of creation.In most cases the ERROR message in the last lines of this trace file provides an important note on the cause of the error.
    Source code corrections
    Symptom
    The graphic layout editor of the Screen Painter cannot be started (RFC version).
    Other terms
    () EUNOTE, EUSCREENPAINTER
    Reason and Prerequisites
    This is generally caused by the fact that the RFC connection between the frontend graphics layout editor and the calling screen painter program at the backend cannot be set up.
    Possibility 1: Route permission denied
    In the trace file dev_eusp<Process Id> of the graphics layout editor you find the entry "ERROR in RFCMgr_accept: not accepted", and in the RFC trace file dev_rfc.trc you have an entry of the form "ERROR route permission denied (<Front-Id> to <BackId>,<Service>)".
    If there is a firewall between frontend computer and application
    server, you need to decide whether the port for the RFC of the graphical layout editor can be released here (see Solution 1 below).
    In case no firewall exists between the frontend computer and the application server, in its route permission table, the SAProuter contains either no entry for the frontend computer, on which the graphics layout editor is started, or the entry says that the link is saved by a password.Since the connection is denied, the graphics editor processes exits again, and the screen painter switches to the alphanumeric layout editor.
    Possibility 2: Service 'sapgw<ServiceId>' unknown
    In the trace file dev_eusp<ProzessId> of the graphics layout editor you have the entry "ERROR in RFCMgr_accept: not accepted", and in the RFC trace file dev_rfc.trc you have an entry of the form "ERROR service 'sapgw<ServiceId>' unknown".
    The service sapgw<ServiceId> (for example, sapgw00) is not known on one of the computers participating in the RFC communication because the corresponding entry is missing in its service file. The affected computer can be the frontend computer or the gateway computer.
    Possibility 3: The system parameter gw/cpic_timeout value is too low
    This system parameter determines how many seconds the gateway is waiting for the RFC connection to be set up.In case of a high network load, the default value of 20 seconds is too small with the result that the connection cannot be created on time.Here the graphics layout editor process also exits with the trace file entry "ERROR in RFCMgr_accept: not accepted".
    Possibility 4: System parameter abap/no_sapgui_rfc set
    The profile parameter abap/no_sapgui_rfc of the system is set (that is, it has a value not equal to space or 0).This prevents the program of the graphics layout editor from being started with RFC at the frontend.
    Possibility 5: Unnecessary authorization check
    The error message "No RFC authorization for user xxxxxx" is generated although the check of the RFC authorization was deactivated by profile parameter auth/rfc_authority_check (value = space or 0). The problem is caused by a program error, that ignores the value of the profile parameter let during the call of the RFC authorization check (see Note 93254). This error can occur as of Release 4.5.
    Solution
    ad 1) If a Firewall is installed between frontend computer and the application server, you need to decide whether the port for the RFC link of the graphical layout editor shall be released in the firewall. This is port 33nn, where nn is the 2-digit system number of the SAP application server. As of Release 3.1G, the graphical layout editor needs an RFC link for communication with the application server in addition to the already existing linkof the SAP GUIs. Such a second link is not allowed by the firewall in general because it would contradict the security concept (password protection, logging of the connection).
    If no firewall exists, you should check whether the frontend computer can be added to the route permission table or whether the password option can be removed from out of the available entry.
    For details refer to chapter 4.4 of the attached Note 30289.
    ad 2) Include service sapgw<ServiceId> in the service file.
    Refer to Note 52959 for details.
    ad 3) Increase value for system parameter gw/cpic_timeout. 60 seconds should be sufficent as a timeout limit.
    ad 4) Set the system parameter abap/no_sapgui_rfc to space or 0
    Start the application server so that the new parameter value comes into effect.
    ad 5) Import the Support Package specified in the attachment for the release in question or implement the advance correction in the source code as described in the attached correction instructions.
    As a workaround, assign RFC authorizations as described in Note 93254.

Maybe you are looking for