SelectOneMenu inside h:dataTable gives conversion error

Hi guys,
I'm enduring quite alot of misery attempting to put selectOneMenu UI components in my h:dataTable. Due to the 30000 character restriction, I can only submit my view and backing bean and DTO and the converter (even though the total characters of my files is only 26,583? [cat * | wc -c]). Perhaps you can figure out a way I can send me all my files and you'll be able to test it much easier.
The jist of the problem is that I get a conversion error between the selectOneMenu and the backing DTO of the <h:dataTable>. After I define a converter I get a ClassCastException.
My BIGGEST question is "Why do I even need a converter?", the selectItem(s)/options are hardcoded label/value Strings and so is the the property of the dataTable row's backing DTO!!!
Here's the files, any assistance will be greatly appreciated.
P.S. I'm running JDeveloper 10.1.3.3.
Thanks.
(All these files are in the same package so you can just put them all in a directory named "example"):
My DTO BudgetEquipmentListVO.java:
package example;
import java.util.Date;
import java.util.List;
public class BudgetEquipmentListVO {
    private Integer rowNo = new Integer("0");               //Row number for paging thru dataTables.
    private String equipmentListId = new String("0");                        //From equipment_list table.
    private Integer equipmentCodeId = new Integer("0");         //From equipment_codes table
    private String objectCode = "0730";                     //So far, 0730,0735 are possible.
    private Integer budgetId = new Integer("0");            //fed_budget_id from fed_budget table.
    private String  description = "";
    private String  equipNo = "";                           //Alphanumeric
    private Date    dateAcquired = new Date();  
    private Integer estimatedCost = new Integer("0");       //Used for Stimulus Application
    private Integer actualCost = new Integer("0");          //Used for EOY expenditures.  Disable for stimulus application
    private String  bldgLocation = "";                      //Address where equipment is at.
    private String  approvedInd = "N";                      //Whether item's been approved or not. Y/N
    private Integer amountApproved = new Integer("0");      //Gets set on approval page.
    private StringBuffer comment = new StringBuffer(4000);  //Currently max 4000 chars
    private String  suppInstInd = "I";            //Support or Instruction item, S or I
    private Integer approvedById = new Integer("0");        //User id of approver.
    private Date    approvedDate = null;                    //Date approved
    private List<BudgetEquipmentListVO> innerList;
    public BudgetEquipmentListVO() {
    public void setObjectCode(String objectCode) {
        this.objectCode = objectCode;
    public String getObjectCode() {
        return objectCode;
    public void setBudgetId(Integer budgetId) {
        this.budgetId = budgetId;
    public Integer getBudgetId() {
        return budgetId;
    public void setDescription(String description) {
        this.description = description;
    public String getDescription() {
        return description;
    public void setEquipNo(String equipNo) {
        this.equipNo = equipNo;
    public String getEquipNo() {
        return equipNo;
    public void setDateAcquired(Date dateAcquired) {
        this.dateAcquired = dateAcquired;
    public Date getDateAcquired() {
        return dateAcquired;
    public void setEstimatedCost(Integer estimatedCost) {
        this.estimatedCost = estimatedCost;
    public Integer getEstimatedCost() {
        return estimatedCost;
    public void setActualCost(Integer actualCost) {
        this.actualCost = actualCost;
    public Integer getActualCost() {
        return actualCost;
    public void setBldgLocation(String bldgLocation) {
        this.bldgLocation = bldgLocation;
    public String getBldgLocation() {
        return bldgLocation;
    public void setApprovedInd(String approvedInd) {
        this.approvedInd = approvedInd;
    public String getApprovedInd() {
        return approvedInd;
    public void setAmountApproved(Integer amountApproved) {
        this.amountApproved = amountApproved;
    public Integer getAmountApproved() {
        return amountApproved;
    public void setComment(StringBuffer comment) {
        this.comment = comment;
    public StringBuffer getComment() {
        return comment;
    public void setSuppInstInd(String suppInstInd) {
        this.suppInstInd = suppInstInd;
    public String getSuppInstInd() {
        return suppInstInd;
    public void setApprovedById(Integer approvedBy) {
        this.approvedById = approvedBy;
    public Integer getApprovedById() {
        return approvedById;
    public void setApprovedDate(Date approvedDate) {
        this.approvedDate = approvedDate;
    public Date getApprovedDate() {
        return approvedDate;
    public void setRowNo(Integer rowNo) {
        this.rowNo = rowNo;
    public Integer getRowNo() {
        return rowNo;
    // Helpers ------------------------------------------------------------------------------------
     // Getters ------------------------------------------------------------------------------------
     public String getKey() {
         return equipmentListId;
     public BudgetEquipmentListVO getValue() {
         return this;
    // This must return true for another Foo object with same key/id.
    public boolean equals(Object other) {
        return other instanceof BudgetEquipmentListVO && equipmentListId != null && equipmentListId.equals(((BudgetEquipmentListVO) other).getEquipmentListId());
    // This must return the same hashcode for every Foo object with the same key.
    public int hashCode() {
        return equipmentListId != null ? this.getClass().hashCode() + equipmentListId.hashCode() : super.hashCode();
    // Override Object#toString() so that it returns a human readable String representation.
    // It is not required by the Converter or so, it just pleases the reading in the logs.
    public String toString() {
        return "BudgetEquipmentListVO[" + equipmentListId.toString() + ", " + equipmentCodeId.toString() + ", " + objectCode + ", " + approvedInd + ", " + suppInstInd + "]";
    public void setEquipmentListId(String equipmentListId) {
        this.equipmentListId = equipmentListId;
    public String getEquipmentListId() {
        return equipmentListId;
    public void setEquipmentCodeId(Integer equipmentCodeId) {
        this.equipmentCodeId = equipmentCodeId;
    public Integer getEquipmentCodeId() {
        return equipmentCodeId;
    public void setInnerList(List<BudgetEquipmentListVO> innerList) {
        this.innerList = innerList;
    public List<BudgetEquipmentListVO> getInnerList() {
        return innerList;
The View, equipmentList.jspx:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces"
          xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
  <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
              doctype-system="http://www.w3.org/TR/html4/loose.dtd"
              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
  <jsp:directive.page contentType="text/html;charset=windows-1252"/>
  <f:view>
  <f:loadBundle basename="myBundle" var="myBundle"/>
    <afh:html>
      <afh:head title="ARRA - Equipment List (0730, 0735)">
        <meta http-equiv="Content-Type"
              content="text/html; charset=windows-1252"/>
        <link rel="stylesheet" type="text/css" href="/css/crud.css" />
        <script type="text/javascript" src="/js/global.js"></script>
      </afh:head>
      <afh:body>
        <h:form id="equipmentForm">
          <afh:tableLayout width="100%">
            <afh:rowLayout width="100%" halign="center">
              <afh:cellFormat columnSpan="1" width="100%" halign="center"
                              rowSpan="1">
                <h:dataTable value="#{backing_equipmentScreen.dataList}"
                             binding="#{backing_equipmentScreen.dataTable}"
                             styleClass="dataTable" rowClasses="rowOdd,rowEven"
                             var="dataItem" id="table" border="2"
                             bgcolor="#C2DFFF" width="100%"
                             rows="#{backing_equipmentScreen.numItems}">
                <f:facet name="header">
                    <af:outputText value="#{myBundle.headerTable}"
                                   inlineStyle="font-size:small;"/>
                  </f:facet>
                    <h:column>
                        <f:facet name="header">
                            <af:outputText value="#{myBundle.headerColumnRowNumber}"
                                     inlineStyle="font-size:small;"/>
                        </f:facet>
                        <af:outputText value="#{backing_equipmentScreen.dataTable.rowIndex + 1}"
                                   inlineStyle="font-size:small;"/>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnDesc}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:outputText value="#{dataItem.description}"/>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnEquipNo}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:inputText value="#{dataItem.equipNo}"
                                       />
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnDateAcquired}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <af:selectInputDate value="#{dataItem.dateAcquired}"/>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnObjCode}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:selectOneMenu value="#{dataItem.objectCode}" binding="#{backing_equipmentScreen.objCodeMenu}">
                            <f:selectItem id="item1" itemLabel="0730" itemValue="0730"/>
                            <f:selectItem id="item2" itemLabel="0735" itemValue="0735"/>
                            <f:converter converterId="selectOneMenuConverter"/>
                          </h:selectOneMenu>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnInsSuppInd}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:selectOneMenu value="#{dataItem.suppInstInd}" binding="#{backing_equipmentScreen.suppInstMenu}">>
                            <f:selectItem id="supportitem1" itemLabel="Support" itemValue="S"/>
                            <f:selectItem id="supportitem2" itemLabel="Instruction" itemValue="I"/>
                          </h:selectOneMenu>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnEstCost}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:inputText value="#{dataItem.estimatedCost}">
                          <f:convertNumber
                                            currencySymbol="$"
                                            groupingUsed="#{true}"
                                            maxFractionDigits="0"
                                            type="currency"/>
                          </h:inputText>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnActualCost}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:inputText value="#{dataItem.actualCost}">
                          <f:convertNumber
                                            currencySymbol="$"
                                            groupingUsed="#{true}"
                                            maxFractionDigits="0"
                                            type="currency"/>
                          </h:inputText>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnBldgLoc}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:inputTextarea value="#{dataItem.bldgLocation}"/>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnApprovedInd}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:selectOneMenu value="#{dataItem.approvedInd}" binding="#{backing_equipmentScreen.yesNoMenu}">>
                            <f:selectItem id="yesnoitem1" itemLabel="Yes" itemValue="Y"/>
                            <f:selectItem id="yesnoitem2" itemLabel="No" itemValue="N"/>
                          </h:selectOneMenu>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                  <h:column>
                    <f:facet name="header">
                      <h:panelGroup>
                        <afh:rowLayout>
                          <afh:cellFormat inlineStyle="font-size:small;">
                            <h:outputText value="#{myBundle.headerColumnComments}"/>
                          </afh:cellFormat>
                        </afh:rowLayout>
                      </h:panelGroup>
                    </f:facet>
                    <h:panelGroup>
                      <afh:rowLayout>
                        <afh:cellFormat inlineStyle="font-size:small;">
                          <h:inputTextarea value="#{dataItem.comment}"/>
                        </afh:cellFormat>
                      </afh:rowLayout>
                    </h:panelGroup>
                  </h:column>
                    <f:facet name="footer">
                        <h:panelGrid columns="4">
                            <h:outputLabel for="rows" value="#{myBundle.labelRowsPage}:" />
                            <h:panelGroup>
                                <h:inputText id="rows" value="#{backing_equipmentScreen.dataTable.rows}" styleClass="input" size="1"><f:validateLongRange minimum="1" maximum="100" /></h:inputText>
                                <h:commandButton value="#{myBundle.buttonSet}" action="#{backing_equipmentScreen.pageFirst}" styleClass="input" />
                            </h:panelGroup>
                            <h:outputText value="#{myBundle.labelPaging}:" />
                            <h:panelGroup>
                                <h:commandButton value="#{myBundle.buttonFirst}" action="#{backing_equipmentScreen.pageFirst}" styleClass="input" disabled="#{backing_equipmentScreen.dataTable.first == 0}" />
                                <h:commandButton value="#{myBundle.buttonPrevious}" action="#{backing_equipmentScreen.pagePrevious}" styleClass="input" disabled="#{backing_equipmentScreen.dataTable.first == 0}" />
                                <h:commandButton value="#{myBundle.buttonNext}" action="#{backing_equipmentScreen.pageNext}" styleClass="input" disabled="#{backing_equipmentScreen.dataTable.first + backing_equipmentScreen.dataTable.rows >= backing_equipmentScreen.dataTable.rowCount}" />
                                <h:commandButton value="#{myBundle.buttonLast}" action="#{backing_equipmentScreen.pageLast}" styleClass="input" disabled="#{backing_equipmentScreen.dataTable.first + backing_equipmentScreen.dataTable.rows >= backing_equipmentScreen.dataTable.rowCount}" />
                                <h:outputText value="#{myBundle.labelPage}: #{backing_equipmentScreen.currentPage} / #{backing_equipmentScreen.totalPages}" />
                            </h:panelGroup>
                            <h:outputLabel for="add" value="#{myBundle.labelAddRows}:" />
                            <h:panelGroup>
                                <h:inputText id="add" value="#{backing_equipmentScreen.addCount}" styleClass="input" size="1"><f:validateLongRange minimum="1" maximum="100" /></h:inputText>
                        <af:commandButton action="#{backing_equipmentScreen.actionAdd}"
                                          styleClass="input"
                                          text="#{myBundle.buttonAdd}"/>
                      </h:panelGroup>
                            <h:outputText value="#{myBundle.labelActions}:" />
                            <h:panelGroup>
                                <h:commandButton value="#{myBundle.buttonSelectAll}" action="#{backing_equipmentScreen.actionSelectAll}" rendered="#{!backing_equipmentScreen.editMode and !backing_equipmentScreen.selectAll}" styleClass="input" />
                                <h:commandButton value="#{myBundle.buttonUnselectAll}" action="#{backing_equipmentScreen.actionSelectAll}" rendered="#{!backing_equipmentScreen.editMode and backing_equipmentScreen.selectAll}" styleClass="input" />
                                <h:commandButton value="#{myBundle.buttonEdit}" action="#{backing_equipmentScreen.actionEdit}" rendered="#{!backing_equipmentScreen.editMode}" styleClass="input" />
                                <h:commandButton value="#{myBundle.buttonDelete}" action="#{backing_equipmentScreen.actionDelete}" rendered="#{!backing_equipmentScreen.editMode}" styleClass="input" />
                                <h:commandButton id="save" value="#{myBundle.buttonSave}" action="#{backing_equipmentScreen.actionSave}" rendered="#{backing_equipmentScreen.editMode}" styleClass="input" />
                                <h:commandButton value="#{myBundle.buttonRefresh}" action="#{backing_equipmentScreen.actionRefresh}" immediate="true" styleClass="input" />
                                <h:commandButton value="#{myBundle.buttonReset}" action="#{backing_equipmentScreen.actionReset}" immediate="true" styleClass="input" />
                            </h:panelGroup>
                        </h:panelGrid>
                    </f:facet>
                </h:dataTable>
                <h:panelGroup rendered="#{empty backing_equipmentScreen.dataList and !backing_equipmentScreen.message}">
                    <h:panelGroup rendered="#{!backing_equipmentScreen.searchMode}">
                        <h:outputText value="#{myBundle.textNoData}" />
                        <h:commandButton value="#{myBundle.buttonAdd}" action="#{backing_equipmentScreen.actionAdd}" styleClass="input" />
                    </h:panelGroup>
                    <h:outputText value="#{myBundle.textRefineSearch}" rendered="#{backing_equipmentScreen.searchMode}" />
                </h:panelGroup>
                <h:panelGroup rendered="#{backing_equipmentScreen.message}">
                    <h:outputText value="#{myBundle.textErrors}" styleClass="error" />
                    <h:messages styleClass="error" />
                </h:panelGroup>
              </afh:cellFormat>
            </afh:rowLayout>
          </afh:tableLayout>
        </h:form>
      </afh:body>
    </afh:html>
  </f:view>
</jsp:root>

Hi evryone,
I have following piece of code
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document>
<af:messages/>
<af:form>
<af:selectOneChoice>
<f:selectItem itemLabel="ABC" itemValue="ABC"/>
<f:selectItem itemLabel="DEF" itemValue="DEF"/>
<f:selectItem itemLabel="GHI" itemValue="GHI"/>
<f:selectItem itemLabel="JKL" itemValue="JKL"/>
<f:selectItem itemLabel="MNO" itemValue="MNO"/>
</af:selectOneChoice>
</af:form>
</af:document>
</f:view>
</jsp:root>
When I run this program , I get following compiler error:
Error(12): Unable to convert constant to type javax.el.ValueExpression for attribute "itemLabel" of tag "selectItem".
Error(12): Unable to convert constant to type javax.el.ValueExpression for attribute "itemValue" of tag "selectItem".
Error(13): Unable to convert constant to type javax.el.ValueExpression for attribute "itemLabel" of tag "selectItem".
Error(13): Unable to convert constant to type javax.el.ValueExpression for attribute "itemValue" of tag "selectItem".
Error(14): Unable to convert constant to type javax.el.ValueExpression for attribute "itemLabel" of tag "selectItem".
Error(14): Unable to convert constant to type javax.el.ValueExpression for attribute "itemValue" of tag "selectItem".
Error(15): Unable to convert constant to type javax.el.ValueExpression for attribute "itemLabel" of tag "selectItem".
Error(15): Unable to convert constant to type javax.el.ValueExpression for attribute "itemValue" of tag "selectItem".
Error(16): Unable to convert constant to type javax.el.ValueExpression for attribute "itemLabel" of tag "selectItem".
Error(16): Unable to convert constant to type javax.el.ValueExpression for attribute "itemValue" of tag "selectItem".
Anyone has any ideas? Where could be problem?

Similar Messages

  • SSIS package works on one machine and gives conversion error on other machine

    Hi All,
    I have 150 + packages, I am fetching data from Oracle (11g) and loading in SQL Server. My problem is all the packages works fine on one machine whereas some of the packages give error "cannot convert between unicode and non-unicode string data types"
    on other machine. Please note I have implemented data conversion in all the relevant packages and I have used SSDT for the migration.
    My question is why the packages are working on one machine and not on another machine? How can I fix the issue without changing the packages (as it works on one machine) and where should I look for the problem?
    Thank you for your help!!

    One more observation, the machine on which all the packages are working reads char, varchar, nvarchar and nchar data type from source as DT_WSTR whereas on other machine it reads as DT_STR and DT_WSTR.
    Can you check the datatyype mapping definition file under
    <installationdrive>\Program Files\Microsoft SQL Server\110\DTS\MappingFiles
    and see if two systems have any difference in file contents for Oracle to SSIS mapping?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • On conversion error, bindings in a 'datatable' disappear.

    Heres the senario, I have images that are conditionally rendered. When a button is pressed and there is a conversion error all the images disappear (the ones that should show). There are other bindings also that disappear. The images are in a datatable.
    On the same page I have image out side the datatable and they don't suffer the same problem.
    I have put up with this since I started using JSC, but now its time to work on it. Anyone know of a work around?
    Regards
    Jonathan

    Hi,
    Could you please elaborate on the conversion error or paste some error logs. Could we have a copy of the code on the conditional rendering of the images.
    Regards.

  • I have paid for a year subscription, but all the PDF's I attempt to export to Word give me a "Conversion Error" message, citing that the "file's security settings do not allow export." I want a refund. Adobe, please advise. Thank you.

    I have paid for a year subscription, but all the PDF's I attempt to export to Word give me a "Conversion Error" message, citing that the "file's security settings do not allow export." I want a refund. Adobe, please advise. Thank you.

    Hi la recruiter,
    There are a few types of files that Acrobat can't convert--and PDF files with security applied is one on them. I'm happy to cancel your subscription, if you decide that it's not going to work out for you. Please confirm that you'd like me to proceed with the cancelation, and I'll take care of it right away.
    Best,
    Sara

  • Most simple query on Event Hub stream (json) constantly gives Data Conversion Errors

    Hello all,
    Been playing with ASA in December and didn't have any issues, my queries kept working and outputted the data as needed.  However, since January, I created a new demo, where I now constantly get Data Conversion errors.  The scenario is described
    below, but I have the following questions:
    Where can I get detailed information on the data conversion errors?  I don't get any point now (not in the operation logs and not in the table storage of my diagnostic storage account)
    What could be wrong in my scenario and could be causing these issues
    The scenario I have implemented is the following:
    My local devices send EventData objects, serialized through Json.Net to an Event Hub with 32 partitions.
    I define my query input as Event Hub Stream and define the data as json/utf8.  I give it the name TelemetryReadings
    Then I write my query as SELECT * FROM TelemetryReadings
    In the output, I create an output on blob with CSV/UTF8 encoding
    After that, I start the job
    The result is an empty blob container (no output written) and tons of data conversion errors in the monitoring graph.  What should I do to get this solved?
    Thanks
    Sam Vanhoutte - CTO Codit - VTS-P BizTalk - Windows Azure Integration: www.integrationcloud.eu

    So, apparently the issue was related to the incoming objects, I had.  I was sending unsupported data types (boolean and Dictionary).  I changed my code to remove these from the json and that worked out well.  There was a change that got deployed
    that (instead of marking the unsupported fields as null, they were throwing an exception).  That's why things worked earlier.
    So, it had to do with the limitation that I mentioned in my earlier comment:
    https://github.com/Azure/azure-content/blob/master/articles/stream-analytics-limitations.md
    Unsupported type conversions result in NULL values
    Any event vales with type conversions not supported in the Data Types section of Azure Stream Analytics Query Language
    Reference will result in a NULL value. In this preview release no error logging is in place for these conversion exceptions.
    I am creating a blog post on this one
    Sam Vanhoutte - CTO Codit - VTS-P BizTalk - Windows Azure Integration: www.integrationcloud.eu

  • TS3297 i cannot buy anything inside any game every time they give me error message contact itunes support

    i cannot buy anything inside any game every time they give me error message contact itunes support

    Do what it told you to do.  Contact itunes support

  • ME21N--Quantity conversion error in net price calculation

    Hi MM experts,
    Issue: while creating PO, when attempting to add the net price for line item. but system removes the cost and gives the follow error message says "Quantity conversion error in net price calculation".
    The system was not able to convert the order unit into the purchase order price unit. Possible reasons:
    i) the conversion results in a net price that is too high, or
    ii) the conversion factor for the units has not been properly maintained.
    iii) Check whether the units of measure and their conversion factor are correct.
    I have checked material master>unit of measure> 1 PL = 22 KG maintained.
    Can you please tell me how to resolve this issue?
    Appreciated early response.
    Thanks in advance.
    Suresh

    Hi Suresh,
    Please check on Material Master Data - Accounting 1 tab - Price Unit
    Moshe

  • How to get the column index inside a dataTable

    Hello,
    before I get staked, there are multiple threads handling familiar topics to the one I'm questioning about but none gives an anwer. If there is one, I'm propably to less skilled to see it.
    So here is my Problem: I've build a web-interface to a time-recording system. The hours worked on a certain project are displayed in a dataTable component which is generated out of a mySQL Query. Each entry (column/row) contains a inputText component to display and edit the specific value.
    Editing one of these inputText elements now fires a valueChangeEvent which reads the new value and stores it in the database. For that cause I need to know the row- and column-index of the inputText component that fired the event.
    Using the getClientId method from the valueChangeEvent I get some Information which makes it possible to calculate the row/column index. A typical clientID looks like "form_table:mainTable:0:_id14". "form_table" is the ID of the form the dataTable is in. "mainTable" is the id of the dataTable component. "0" is the row the component is in. And finally "_id14" stands for the id randomly given to the inputText component by JSF.
    My Problem is now, that though I can calculate the column out of the[i] "_id14", this calculation is hardcoded. So everytime I add a component in before the dataTable, the calculation needs to be adjusted in the code.
    The Questions:
    - How to force a sensefull id indicating a column-index for the inputText components inside the columns of a dataTable?
    - Nicer since no workaround: How to get the column-index inside the dataTable on a natural way? (e.g. out of the valueChangeEvent the specific inputText component fires)
    After some investigation here on the board and on the net I know multiple ways to get the row index, (Things like component-binding and so on) but I can't find a answer on how to get the column-index.
    Thanks to all answers and/or links to things my eyes missed while searching for one.

    ...then index 0 becomes index 1 and my program doesn't work properlyThe program works properly, just not as you expect it to.
    As you've noticed the table gives you the flexibility to move columns around. So if you move column 0 to column 1, why would you expect to still use 0 as the index? The table manages the reordering of columns for you to make sure the data being displayed in each table column comes from the correct column in the data model.
    You can manage this yourself using one of the following methods (I forget which one):
    table.convertColumnIndexToModel(int viewColumnIndex)
    table.convertColumnIndexToView(int modelColumnIndex)
    Or, you can get data from the data model directly:
    table.getModel().getValueAt(row, 0);

  • ** File Content Conversion Error in Receiver CC - How to solve this?

    Hi friends,
    My target structure looks like below.
    EmployeeJobDetails                                        --> Message Type
       JobCode                                                      --> Node
            EmployeeNumber            xsd:string
            Domain                           xsd:string
       JobTrack                                                     --> Node
             Department                    xsd: string
             Position                         xsd: string
    I use the FCC parameters in the receiver CC as below:
    Recordset Structure:    JobCode,JobTrack
    JobCode.fieldSeparator = |
    JobCode.endSeparator = 'nl'
    JobTrack.fieldSeparator = |
    JobTrack.endSepartor = 'nl'.
    Because, we want the output like below
    1099|Raja
    Accts|JuniorAccountant
    1100|Ram
    HR|Recruiter
    like this.
    In this scenario Source is XML and target is txt file.
    I am using XSLT Mapping. The FCC works fine, if my source input file contains some records. But, when we send empty source XML file as below
    <?xml version="1.0" encoding="UTF-8"?>
    <EMPLOYEE_DATA/>
    Mapping works fine. Message is processed successfully in SXMB_MONI. The payload in response also comes with Message Type name like below
    <EmployeeJobDetails    namespace >
    </EmployeeJobDetails>
    While convert this, the system throws below error.
    Error Message:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)'
    Friend, how to convert this when source XML is empty.
    But, if we remove JobTrack node in target strucutre and remove the JobTrack parameters in CC, then if we send the same empty XML file FCC is working  fine and  we  get the target text file 0 KB. (Amazing !!)
    But, in the first case, how to solve the issue?
    Kind Regards,
    Jegathees P.

    Hi friends,
    If we remove JobTrack node in target strucutre and remove the JobTrack parameters in CC, then if we send the <b>same empty XML file</b> FCC is working fine and<b> we get the target text file 0 KB</b>. (Amazing !!)
    But, if we give parameters like JobCode,JobTrack then send pass the same empty file, we face the problem 'File Content Conversion' Error.
    Searching solution for this problem ...

  • Arithmatic conversion error in query

    I have a stored procedure for a report . The underlying table has a decimal(18,2) column.
    In the Stored Procedure code, the conversion to decimal (12,2) gives an error as one of the records has a value that exceeds (12,2).
    I am running this report for a userID that does not have permission to this project (so bad row will not be included in the result).
    When running the Stored procedure from query analyser, this row with bad data is not selected based on #TblPermission and SP returns other rows without errors.
    The issue is when running the SP from the application, i am getting an arithmatic conversion error.
    It appears that the SELECT conversions are happening even before join on the temp table is satisfied.
    Shouldnt it filter data based on the join first and then do the conversions (like when run from query analyser) ?
    We will be fixing the conversion issue at a later point.
    But any ideas/suggestions on how to address this to stop it from erroring when called from the UI ?
    CREATE PROCEDURE [dbo].[Test_Report]
    @_user varchar(10)
    AS
    BEGIN
    SELECT PID INTO #TblPermission FROM dbo.tbl_permissions(nolock) WHERE userid= @_user
    SELECT A.NAME,
     CAST(A.ProjectAmount as decimal(12,2))  Amt -- giving an arithmatic conversion error
    FROM TableA A
    Join #TblPermission UP on UP.PID= A.PID
    WHERE A.ProjectType ='mapped'
    end

    It appears that the SELECT conversions are happening even before join on the temp table is satisfied.
    Shouldnt it filter data based on the join first and then do the conversions (like when run from query analyser) ?
    The answer to that question is no.  SQL is allowed to process a query in whatever order it believes will be most efficient.  So it can do the conversion, and later do the WHERE clause.  So you have to write the code so that it is safe if SQL
    does that.  One way is to use a case statement to only do the conversion when the value will fit in decimal(12,2), so you could do
    SELECT A.NAME,
    Case When A.ProjectAmount Between -9999999999.99 And 9999999999.99 Then CAST(A.ProjectAmount as decimal(12,2)) End Amt
    FROM TableA A
    Join #TblPermission UP on UP.PID= A.PID
    WHERE A.ProjectType ='mapped'
    That will work on all releases of SQL.
    If you are on SQL 2012 or later, you can use the new TRY_CONVERT function which will do conversions without causing errors.  Instead of an error when the valued being converted is invalid, you get NULL.  So that would be
    SELECT A.NAME,
    TRY_CONVERT(decimal(12,2), A.ProjectAmount) Amt
    FROM TableA A
    Join #TblPermission UP on UP.PID= A.PID
    WHERE A.ProjectType ='mapped'
    Tom

  • Conversion error in checkboxgroup component.....

    hi
    i have a checkboxgroup component. first time when i go this particular page no validation error occurs. but when i go to a different page and return back conversion error occurs in that component.
    getSubmittedValue() method for that component returns some value when error occurs.
    can anyone give some suggestions to resolve the error. or suggestions on the value to be converted for checkboxgroup

    the actual code is
    <cg:checkboxGroup binding="#{view$UsersSMSReport.action_chkbxgrp}" columns="1" id="action_chkbxgrp" style="width: 100%;"/>
    <cg:message binding="#{view$UsersSMSReport.action_msg}" for="action_chkbxgrp" id="action_msg"/>
    where cg is the our own tag discriptor file
    we use jsp-api.jar and jstl.jar for customization of components.
    the taglib file for this tag refers to class
    CGCheckboxGroupTag extends UIComponentTag
    the setProperties method in above class contains code for convertor
    if(converter != null)
    if(isValueReference(converter))
    javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(converter);
    component.setValueBinding("converter", vb);
    } else
    javax.faces.convert.Converter _converter = FacesContext.getCurrentInstance().getApplication().createConverter(converter);
    component.getAttributes().put("converter", converter);
    the design time class for this component is
    CGCheckboxGroupBeanInfoBase extends SimpleBeanInfo
    they are compiled into a tld file and added as complib file in project
    the same component sometimes i get conversion error in validation phase and sometimes i get error in page displaying
    java.lang.NullPointerException
    ClassName:com.sun.rave.web.ui.util.ConversionUtilities
    FileName ConversionUtilities.java
    MethodName: convertValueToArray

  • A conversion error occurred while the program -- display data on the screen

    HI all,
    Iam getting a dump error described below:
    A conversion error occurred while the program was trying to
    display data on the screen.
    The ABAP output field and the screen field may not have the
    same format.
    Some field types require more characters on the screen than
    in the ABAP program. For example, a date field on a screen needs
    two characters more than it would in the program. When attempting to
    display the date on the screen, an error will occur that triggers the
    error message.
                  Screen name.............. " Ztable_MM_MRQ "
                  Screen number............ 0100
                  Screen field............. "WA_PO_ITEMS-MENGE"
                  Error text............... "FX015: Sign lost."
    Further data:
    Give us step by step procedure to rectify the same with T.codes
    Thanks
    Regards
    Siraj

    Raymond
    please give details in se51 where i have to put a "V"  to allow negative amounts
    whether it is in Text or I/O templates
    name                                     type of screen element         Text or I/O field
    WA_PO_ITEMS-MENGE     Text                           PO_quantity__     
    regards

  • Error in BPEL11g :Parse struct conversion  error.

    Hi All,
    I am facing following error while invoking a procedure which is in apps schema from BPEL by giving it parameters.
    actually this procedure/function will accept the payloads as parameters and will give some output parameters, but while processing i am getting following error :
    Non Recoverable System Fault :
    Exception occurred when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'PreImportCleanup' failed due to: Parse struct conversion error. An error occurred while parsing XML representing a Java struct. Unable to convert the XSD element P_INVOICE_REC whose user defined
    type is AXF.AXF_PREIMPORT_CUSTOM_PKG_R_IN to a Java struct.
    Cause: java.sql.SQLSyntaxErrorException: ORA-04044: procedure, function, package, or type is not allowed here ".
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Any suggestion to get over this issue will be so helpful !
    Thanks & Regards,
    Nupur

    when configuring DBAdapter , make sure you specify the procedure by prefixing the schema name like APPS. <procedureName>
    Also, make sure grants are there for all objects used by procedure to the user which is connected from BPEL.
    You can also edit the XSD generated after DBAdapter configuration by manually prefixing the schema name.

  • WebDynpro call Returns an exception: Type conversion error

    Hi,
    I'm trying to start some of the standard SAP web dynpro .
    most of then work fine.
    some don't and i get the following error message.
    Root Cause
    The initial exception that caused the request to fail, was:
    +com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field TAX_PER_DIEMTAX, complex type class com.sap.xss.tra.tre.model.expenses.Ptrv_Web_General_Data_Int+
    +at com.sap.aii.proxy.framework.core.JcoBaseTypeData.propagateJcoException(JcoBaseTypeData.java:130)+
    +at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:751)+
    +at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValue(DynamicRFCModelClass.java:482)+
    +at com.sap.tc.webdynpro.progmodel.context.GenericModelClassCopyHelper.setAttributeValue(GenericModelClassCopyHelper.java:69)+
    +at com.sap.tc.webdynpro.progmodel.context.CopyService.copyCorresponding(CopyService.java:55)+
    +... 66 more+
    See full exception chain for details.
    could anyone give me an hint.
    jco connetion are made and testet for:
    sap_r3_humanresources
    sap_r3_finacials
    sap_r3_selfservicegenerics
    sap_r3_travel
    analog the *_MetaData
    Thank in advance
    Maximilian

    Hello
    did you solve this problem? I have the same error
    Regards

  • Conversion Error setting value ''{0}'' for ''{1}''

    Hi
    I have to populate a drop-down list on my page with the values coming from the DB.
    JSF code:
    <td align="right"><div id="wait" style="visibility:hidden;">Select an existing Application</div></td>
    <td align="left"><div id="wait1" style="visibility:hidden;" >
    <h:selectOneMenu id="exist" value="#{processApplication.selectedOwner}" styleClass="selectOneMenu">
    <f:selectItems value="#{processApplication.existingOwners}"></f:selectItems>
    </h:selectOneMenu>
    </div>
    </td>
    processApplication bean:
    public List<SelectItem> getExistingOwners() {                    
    //existingOwners = this.getOwners();
    try{
         List < SelectItem > existingOwners = new ArrayList < SelectItem > ( ) ;
         SelectItem si_0 = new SelectItem();
         SelectItem si_1 = new SelectItem();
    SelectItem si_2 = new SelectItem();
         si_0.setValue("11");
         si_0.setLabel("sri");
         si_1.setValue("21");
         si_1.setLabel("ADAMS");
         existingOwners.add(si_0);
         existingOwners.add(si_1);
         logger.info("values in the list" +existingOwners.get(1).getValue());
              }catch(Exception e){
                   logger.debug(e.getCause());
                   e.printStackTrace();
              return existingOwners;
         public void setExistingOwners(List<SelectItem> existingOwners) {
              try{
              this.existingOwners = existingOwners;
              }catch(Exception e){
                   logger.debug("%%%%");
                   logger.debug(e.getCause());
                   e.printStackTrace();
    public String getSelectedOwner() {
         try{
         List<SelectItem> test = this.getExistingOwners();
         selectedOwner = (String)test.get(1).getValue();
         logger.debug("selected owner from the list" +selectedOwner);
         }catch(Exception e){
         logger.debug(e.getCause());
         e.printStackTrace();
         return selectedOwner;
         public void setSelectedOwner(String selectedOwner) {
              this.selectedOwner = selectedOwner;
    public List<SelectItem> getExistingOwners() should actually be a call to the DB to get the list.
    But since i was getting exception I tried to hard code the list in the method itself.
    But , I get this exception:
    logger.info values in the list 21
    [6/15/09 12:49:45:687 EDT] 0000003d ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /processApplication.jsp. Exception thrown : javax.servlet.ServletException: Conversion Error setting value ''{0}'' for ''{1}''.
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
         at com.ibm._jsp._processApplication._jspService(_processApplication.java:149)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    Earlier, I had a drop down list that was working perfectly fine.
    But its values came from a Helper class and not the DB.
    What is it that Iam missing or doing wrong?
    Please help me.
    Thanks.

    Based on your example on the link that you referred to I tried to do this
    fillSelectItems();
    as the initialization block (I read what it means)
    changed my getter method to
    public List<SelectItem> getExistingOwners() { return existingOwners; }
    private void fillSelectItems() {
    this.existingOwners = new ArrayList<SelectItem>();
    try{
         existingOwners.clear();
         List test = this.getOwners();
         SelectItem[] myitem = new SelectItem[test.size()];
         for(int i=0;i<test.size();i++) {
         Object[] arrayOne = (Object[])test.get(i);
    try{
         SelectItem tmp = new SelectItem();
         tmp.setLabel(arrayOne[0].toString()+(String)arrayOne[1]);
         tmp.setValue((Integer)arrayOne[0]);
         myitem[i] = tmp;
    this.existingOwners.add(myitem);
    }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
         }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
    Basically, I moved what I had earlier in getter method I have it now in the fillSelectItems()
    Butthen, I get a NullPointerException.

Maybe you are looking for