Getting error in coding

In this program, I'm trying to make a horoscope where the user will select there astrological month through radio buttons. The program will then display the user horoscope. I'm currently getting this error when compiling using Textpad:
addItemListener(java.awt.event.ItemListener) in java.awt.Checkbox cannot be applied to (RadioButtonDemo)
radio12.addItemListener(this);
Here' is my code:
import java.applet.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class RadioButtonDemo extends Applet implements ActionListener{
     TextField nameField;
     CheckboxGroup radioGroup;
     Checkbox radio1;
     Checkbox radio2;
     Checkbox radio3;
     Checkbox radio4;
     Checkbox radio5;
     Checkbox radio6;
     Checkbox radio7;
     Checkbox radio8;
     Checkbox radio9;
     Checkbox radio10;
     Checkbox radio11;
     Checkbox radio12;
public void init(){
setLayout(new FlowLayout());
setSize(650,100);
nameField = new TextField("Type here Something",35);
radioGroup = new CheckboxGroup();
radio1 = new Checkbox("Aries (3/21-4/19)", radioGroup,false);
radio2 = new Checkbox("Taurus (4/20-5/20)", radioGroup,false);
radio3 = new Checkbox("Gemini (5/21-6/21)", radioGroup,false);
radio4 = new Checkbox("Cancer (6/22-7/22)", radioGroup,false);
radio5 = new Checkbox("Leo (7/23-8/22)", radioGroup,false);
radio6 = new Checkbox("Virgo (8/23-9/22)", radioGroup,false);
radio7 = new Checkbox("Libra (9/23-10/22)", radioGroup,false);
radio8 = new Checkbox("Scorpio (10/23-11/21)", radioGroup,false);
radio9 = new Checkbox("Sagittarius (11/22-12/21)", radioGroup,false);
radio10 = new Checkbox("Capricorn (12/22-1/19)", radioGroup,false);
radio11 = new Checkbox("Aquarius (1/20-2/18)", radioGroup,false);
radio12 = new Checkbox("Pisces (2/19-3/20)", radioGroup,false);
add(nameField);
add(radio1);
add(radio2);
add(radio3);
add(radio4);
add(radio5);
add(radio6);
add(radio7);
add(radio8);
add(radio9);
add(radio10);
add(radio11);
add(radio12);
radio1.addActionListener(this);
radio2.addActionListener(this);
radio3.addActionListener(this);
radio4.addActionListener(this);
radio5.addActionListener(this);
radio6.addActionListener(this);
radio7.addActionListener(this);
radio8.addActionListener(this);
radio9.addActionListener(this);
radio10.addActionListener(this);
radio11.addActionListener(this);
radio12.addItemListener(this);
nameField.addActionListener(this);
public void actionPerformed(ActionEvent evt)
if (evt.getSource() == radio12)
nameField.setText("That was the wrong button!");
repaint();
Please help me as i'm trying to learn java myself. Thanks in advance!

In the code you're adding an ActionListener to radio buttons 1 to 11 and an ItemListener to radio button 12. Try changing the ItemListener to an ActionListener for radio button 12.

Similar Messages

  • In ECC 6 , I AM  GETTING ERROR WHILE DECLARING DATA TYPE OF BAPI

    HI,
    IN ECC 6 , i AM  GETTING ERROR" NO READ ACESS RETURN"
    EVENTHOUGH   I DECLARED  DATA TYPE   FOR EXAMPLE
    DATA: RETURN TYPE BAPIRET2.AND USING IN RFC.
    HOW TO CORRECT THE ERROR.
    pLZ HELP ME.
    REGARDS,
    RANI

    Hi Rani,
    Could you please post the piece of coding where the error comes from? Maybe we can help you then.
    Regards,
    John.

  • Getting error iview while accessing room in EP6.0 SP9 KMC

    Hi
       I am trying to configure KMC first time. I have done all the basic configuration needed after installation to get collaboration service active.
        I can create a room. but while clicking on the link to get into the room I am getting error in iview com.sap.portal.pcm.Title
    with error
    <error>
    <i>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.ip.collaboration/Rooms/f0eecc1b-52af-2710-cebd-e94073869c63/workset/com.sap.netweaver.coll.TeamRoomOverview/RoomQuickLaunch
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file</i>
    </error>
    from the logviewer I found these errors
    <error>
    <i>No status mapped to the given list type <http://sap.com/xmlns/collaboration/rooms/room> using hard coded default</i>
    </error>
    <error>
    <i>Permission check failed - Object portal_content/com.sap.ip.collaboration/Rooms/f0eecc1b-52af-2710-cebd-e94073869c63/workset/com.sap.netweaver.coll.TeamRoomOverview/RoomQuickLaunch Permissions: Pcd.Use Principal: Information not available with current trace level</i>
    </error>
         please help me. I think some mapping needs to be done. but not sure exactly where and what mapping. I may be wrong
    regards
    Ashutosh

    Hi Ashutosh,
    See SAP Note 792370 and this thread: EP Colloboration Room Error
    Probably this is the solution to your problem.
    If it doesn't work, before smashing your head against the wall, I would seriously advise to patch up to SP12 for there have been some problems within KMC/Rooms within the lower versions (they might not all have gone, but many of them).
    Hope it helps
    Detlev

  • Getting error while calling two BAPIs

    Dear ABAPers,
    I'm stuck into a problem.
    I have a situation where I'm using BAPI, WS_DELIVERY_UPDATE to update a delivery.
    Then after this I have post a GR so for that I'm using BAPI_GOODSMVT_CREATE.
    Now my problem is when I'm calling BAPI_GOODSMVT_CREATE it gives me an error
    "CODE is not supported by BAPI2017_GOODSMVT_CREATE". I check my code thoroughly, but didn't find anything in that
    which was wrong.
    Again, if I try to do the same, in debugging mode, its processes me in the way it should, without any error.
    Also, If I use a hard coded DELAY of 2 mins, in my program after WS_DELIVERY_UPDATE, it again processes perfectly.
    Now I've put COMMIT AND WAIT and FM DEQUEUE_ALL after WS_DELIVERY_UPDATE, but still not working, and this I'm getting
    error from BAPI_GOODSMVT_CREATE - "No Items Transfered".
    Please help me sort this issue.
    Regards,
    Varun

    Hi varunchopra,
    the SAP documentation is not 100 % clear here: They say, with COMMIT WORK all high-priority ("VB1") update function modules are executed in the order of their registration and in a shared database LUW.  With WAIT addition, the calling program will continue after the update work process has executed the VB1 function modules.
    Probably BAPI_WS_DELIVERY_UPDATE will also trigger one or more VB2 update functions that will keep the objects locked.
    Ten years ago we used this code in a similar situation to wait for the update task for a material being changed:
    FORM WAIT_UPDATE.
      USING P_MAX_WAIT_SECONDS TYPE I
      CHANGING P_SUBRC LIKE SY-SUBRC.
      DATA:
      L_ENDTIME LIKE SY-UZEIT,
      L_TABIX LIKE SY-TABIX,
      L_TRIES TYPE I,
      L_SUCCESS LIKE SY-SUBRC,
      L_ANSW TYPE C,
      L_TRY_AGAIN LIKE RMCLS-XFLAG VALUE 'X'.
      GET TIME.
      L_ENDTIME = SY-UZEIT.
      ADD P_MAX_WAIT_SECONDS TO L_ENDTIME.
      WHILE L_TRY_AGAIN = 'X'.
        LOOP AT ITAB.
          PERFORM CHECK_LOCK_EMMARCE
            USING ZAUF-WERKS ITAB-MATNR CHANGING P_SUBRC.
          GET TIME.
          IF P_SUBRC <> 0 OR SY-UZEIT >= L_ENDTIME.
            EXIT.                          "Loop
          ENDIF.                           " sy-subrc = 0.
        ENDLOOP.                           " AT itab.
        IF P_SUBRC = 0.
          CLEAR: L_TRY_AGAIN.
        ELSE.
          IF SY-UZEIT >= L_ENDTIME .
            PERFORM POPUP_TO_CONFIRM_WAIT
              USING P_MAX_WAIT_SECONDS CHANGING L_ENDTIME P_SUBRC.
            IF P_SUBRC <> 0.
              CLEAR L_TRY_AGAIN.
            ELSE.
              CLEAR P_SUBRC.
            ENDIF.                         " p_subrc <> 0.
          ENDIF.                           " sy-uzeit >= l_endtime.
        ENDIF.                             " p_subrc = 0.
      ENDWHILE.                            " l_try_again = 'X'.
    ENDFORM.                               " WAIT_UPDATE
    The coding of CHECK_LOCK_EMMARCE was derived from SM12 lock overview and used FUNCTION 'ENQUE_READ'. Today I would just try to lock the object with ENQUEUE function - if you get foreign lock error, the updatze task lock is not yet released.
    Monitor SM12 during test run to identify which lock object  must be checked.
    The you have to decide: If you put a WAIT UP TO 1 SECONDS in the wait loop, you may lose up to 1 second per delivery. If you just LOOP until the locks are released you may put some non-necessary load on the machine.
    This way will be faster than any unconditional wait - which may sometimes not be long enough.
    Regards,
    Clemens

  • I am getting error "ORA-12899: value too large for column".

    I am getting error "ORA-12899: value too large for column" after upgrading to 10.2.0.4.0
    Field is updating only through trigger with hard coded value.
    This happens randomly not everytime.
    select * from v$version
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Table Structure
    desc customer
    Name Null? Type
    CTRY_CODE NOT NULL CHAR(3 Byte)
    CO_CODE NOT NULL CHAR(3 Byte)
    CUST_NBR NOT NULL NUMBER(10)
    CUST_NAME CHAR(40 Byte)
    RECORD_STATUS CHAR(1 Byte)
    Trigger on the table
    CREATE OR REPLACE TRIGGER CUST_INSUPD
    BEFORE INSERT OR UPDATE
    ON CUSTOMER FOR EACH ROW
    BEGIN
    IF INSERTING THEN
    :NEW.RECORD_STATUS := 'I';
    ELSIF UPDATING THEN
    :NEW.RECORD_STATUS := 'U';
    END IF;
    END;
    ERROR at line 1:
    ORA-01001: invalid cursor
    ORA-06512: at "UPDATE_CUSTOMER", line 1320
    ORA-12899: value too large for column "CUSTOMER"."RECORD_STATUS" (actual: 3,
    maximum: 1)
    ORA-06512: at line 1
    Edited by: user4211491 on Nov 25, 2009 9:30 PM
    Edited by: user4211491 on Nov 25, 2009 9:32 PM

    SQL> create table customer(
      2  CTRY_CODE  CHAR(3 Byte) not null,
      3  CO_CODE  CHAR(3 Byte) not null,
      4  CUST_NBR NUMBER(10) not null,
      5  CUST_NAME CHAR(40 Byte) ,
      6  RECORD_STATUS CHAR(1 Byte)
      7  );
    Table created.
    SQL> CREATE OR REPLACE TRIGGER CUST_INSUPD
      2  BEFORE INSERT OR UPDATE
      3  ON CUSTOMER FOR EACH ROW
      4  BEGIN
      5  IF INSERTING THEN
      6  :NEW.RECORD_STATUS := 'I';
      7  ELSIF UPDATING THEN
      8  :NEW.RECORD_STATUS := 'U';
      9  END IF;
    10  END;
    11  /
    Trigger created.
    SQL> insert into customer(CTRY_CODE,CO_CODE,CUST_NBR,CUST_NAME,RECORD_STATUS)
      2                values('12','13','1','Mahesh Kaila','UPD');
                  values('12','13','1','Mahesh Kaila','UPD')
    ERROR at line 2:
    ORA-12899: value too large for column "HPVPPM"."CUSTOMER"."RECORD_STATUS"
    (actual: 3, maximum: 1)
    SQL> insert into customer(CTRY_CODE,CO_CODE,CUST_NBR,CUST_NAME)
      2                values('12','13','1','Mahesh Kaila');
    1 row created.
    SQL> set linesize 200
    SQL> select * from customer;
    CTR CO_   CUST_NBR CUST_NAME                                R
    12  13           1 Mahesh Kaila                             I
    SQL> update customer set cust_name='tst';
    1 row updated.
    SQL> select * from customer;
    CTR CO_   CUST_NBR CUST_NAME                                R
    12  13           1 tst                                      Urecheck your code once again..somewhere you are using record_status column for insertion or updation.
    Ravi Kumar

  • Getting error in event handler method onPlugFromStartView

    Hi,
           I am getting error in event handler method onPlugFromStartView java coding. The error message is u201CThe method wdGetwelcome componentcontroller() is undefined for the IPrivatevieew.
    Plese explain how to resolve this error to deploy the webdynpro application successfully.
    Thanks,
    Kundan.

    Hi
    1.It seems some thing corrupt or some problem .
    2. Do one exercise Create one new Dc --component -View ,In component write one method.
        a)  Open the view and then try to add that component.
    Let us know the result
    Best Regards
    Satish Kumar

  • Getting error for input string 0000 #

    Hi ,
    I am getting error on the portal that has an exception as error occured for For input string: "0000  #" .I think its because of some problem with the RFC that m getting this error but please suggest.The code done with dynamic coding is given below:
    for(int j=0; j<intList; j++)
                                       IDynamicNodeElement dynObj = wdContext.createDynamicNodeElement();
                                       strLine = wdContext.nodeWeb_Table_Disp1_Out().getWeb_Table_Disp1_OutElementAt(j).getTline();
    intLine = strLine.length();
                                       strLine = strLine.substring(1,intLine-1);               
                                  String[] strArr = strLine.split("#");
                                       for(int k=0;k<intCat;k++)
    String strVal = strArr[k];
                                            if(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getDatatype().equalsIgnoreCase("DATE"))
                                                 try
                                                      String strdate ="";
                                                      SimpleDateFormat ch1 = new SimpleDateFormat("yyyyMMdd");
                                                      //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(wdContext.currentUser_ProfileElement().getDatefmt()+strVal);
                                                      String strFmt = "";
                                                      if("YYYY/MM/DD".equalsIgnoreCase(wdContext.currentUser_ProfileElement().getDatefmt()))
                                                           strFmt = "yyyy/MM/dd";
                                                      else
                                                           strFmt = "MM/dd/yyyy";
                                                      SimpleDateFormat ch2 = new SimpleDateFormat(strFmt);
                                                      strVal = strVal.trim();
                                                      if(!"".equals(strVal))
                                                           strdate = ch2.format(ch1.parse(strVal));     
                                                      }          dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),strdate);
                                                 catch(Exception e)
                                            else if(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getDatatype().equalsIgnoreCase("QUAN"))
                                                 Double dblVal = null;
                                                 DecimalFormat sdf = new DecimalFormat("#,###.####");
                                                 dblVal = new Double(strVal);
                                                 if(!strVal.matches("(?i).-."))
                                                      dblVal = new Double(strVal);
    dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),new BigDecimal(strVal.trim()));
                                                 else
                                                      dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),null);
                                            else
                                                 dynObj.setAttributeValue(wdContext.nodeField_Catalog_Disp1_Out().getField_Catalog_Disp1_OutElementAt(k).getFieldname(),strVal);
    col.add(dynObj);     
                             wdContext.nodeDynamicNode().bind(col);
    Please help.
    Thanks & Regards,
    Reinuka.

    I guess the reason for the exception is the "date format" and conversions. Try something like this.
    SimpleDateFormat sdf = new SimpleDateFormat("date format you want");
    java.util.Date asDate = sdf .parse(codes.getString("your date value").trim());
    node element to which you want to set the date value.setfieldname(asDate.getTime());
    Example:
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    java.util.Date asDate = sdf .parse(codes.getString("DELIV_DATE").trim());
    outboundpr.setDel_date(asDate.getTime());

  • Getting error while implementiong SAP note :Note 1240587 For MDM

    Hi Experts,
    I am tring to implement Note 1240587 - MDM 5.5 and 7.1 Low performance when MDM workflow is used.
    The machine in which our MDM is implemeted is a Unix machine and i have created an executable jar (Including the Coding provided in the SAP note) in my Windows machine, have copied the jar in our MDM server.
    when i am trying to execute the jar file i am getting error.
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
            UserSessionContext cannot be resolved or is not a type
            The method createSessionContext(String, String, String, String) is undefined for the type DeleteCompletedWorkflowJobs
            WorkflowTask cannot be resolved
            at DeleteCompletedWorkflowJobs.main(DeleteCompletedWorkflowJobs.java:35)
    the coding of DeleteCompletedWorkflowJobs.java class is the same as provided by SAP in note.
    Kindly suggest what should be i do in this case.
    thanks,
    Manjit

    Hi,
    Have you read the note correctly?
    It is clearly mention that
    Manual Activity
    VALID FOR
    Software Component     BBPCRM                        BBP / CRM
    Release 400               Until SAPKU40017
    Release 500               Until SAPKU50018
    Release 520                Until SAPKU52010
    Release 700                 Until SAPKU70009
    Release 600                 Until SAPKU60009
    Release 701                 Until SAPKU70104
    Before implementing the automatic corrections from this note, implement Note 1487337 or import the relevant Support Package into your system.
    I think This class CL_ABAP_DYN_PRG is not available in your system which comes with support pack mentioned as above or comes with the note 1487337.
    So check in se24 whether this class is available or not and if not then apply note 1487337 first and then after apply 1590863.

  • Getting error:the resource requested is nt available

    i m getting error :The requested resource is not available http 404
    i m calling a servlet from a form
    coding :
    <.... action="http://localhost:8084/WebApplication1/myServlet">
    servlet is running separately
    but nt invoked by html form
    please list out checklist
    netbeans 5.5.1 apache tomcat

    Vijay_Chaturvedi wrote:
    url pattern is
    <servlet-name>myservlet<\servletname>
    <urlpattern>/myservlet<\urlpattern>AFAIU, that leading '/' should have it resolve to the base of the site, so..
    http://localhost:8084/WebApplication1/myServlet..should be..
    http://localhost:8084/myservletWhy did you think it would accept the upper case 'S'?
    And while I'm here, shouldn't..
    <servlet-name>myservlet<\servletname>
    <urlpattern>/myservlet<\urlpattern>..be..
    <servlet-name>myservlet</servlet-name>
    <url-pattern>/myservlet</url-pattern>?
    It is no wonder it does not work as you expect. GI/GO. You might be well advised to run the rest of your XML through a [well formedness checker|http://pscode.org/xml/xmltools.html#xmlwfc], or better, an XML validation service - using a DTD or XSD.

  • Getting error message 1119/1120, from CS4 to new CC professional

    Hi all, I did a flash website for a friend while in college using CS4, now she wants some updates so I opened the original file in flash CC professional. AND NOTHING SEEMS WORKING ANYMORE.
    I keep getting errors 1119 and 1120. I have no idea how to fix them since I didn't know much back then and never keep up with the program.
    Here is my coding:
    btshoemovie.onRelease = function (){
              gotoAndPlay ("shoes")
    Flash keeps telling me error through 1119 and mentioned simplebutton, which I have no idea with.
    Also I have a preload bar using the code as follows:
    this.onEnterFrame = function() {
    filesize = mcnun.getBytesTotal();
    loaded = mcnun.getBytesLoaded();
    preload._visible = true;
    if (loaded != filesize) {
    preload._xscale = 100*loaded/filesize;
    } else {
    preload._visible = false;
    if (mcnun._alpha<100) {
    mcnun._alpha += 10;
    And now it's getting 1120 errors saying undefied property loaded and file size.
    I really know little about Flash and I just want to help a photo friend upload her galleries to her site. Please explain as simple as possible. Thank you all very very much!

    you can't use flash cc to edit an as2 file.
    and you can get flash cs6 with your cc subscription (and then edit as2 files).  after logging into your cc account>click to download flash cc>there's a combobox on that page where you can select flash pro cs 6.
    you should also be able to select flash pro cs6 from your creative cloud desktop app.

  • Getting error while trying to delete multiple rows

    Hi Experts,
    Working in jdev 11.1.1.3.0 with ADF BC and rich faces.
    i am trying to delete multiple records from the table, everything is working fine if i use filter or not using horizontal scroll bar of the table. if i try to delete last records on the table and the records are deleting from UI and from the DB also, but i am getting error like
    ADFv:Count not find row:_$<to-calc>$_with key:oracle.jbo.key[2333] inside parent: XxwfsAvcardXXXXXXXVO1Iterator with key:null
    I have changed my method with the below link
    Re: JDev 11g-Multiple Row Selection Table-Ctrl+A error
    but till i am getting the same error:
    Method:
    public void deleteRec(ActionEvent actionEvent) {
    // Add event code here...
    RowKeySet rowKeySet = (RowKeySet)this.embossTB.getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)this.embossTB.getValue();
    Row specRow = null;
    ArrayList rowList = new ArrayList();
    int listLength = 0;
    ArrayList<Number> printReqLST=new ArrayList<Number>();
    ViewObject vo1=null;
    boolean flag=false;
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)cm.getRowData();
    specRow = rowData.getRow();
    rowList.add(specRow);
    listLength++;
    for (int index = 0; index < listLength; index++){
    specRow = (Row)rowList.get(index);
    Number printReqID = (Number)specRow.getAttribute("PrintRequestId");
    String PrintState = specRow.getAttribute("PrintState").toString();
    if (PrintState.equalsIgnoreCase("PRINTED")) {
    System.out.println("cann't delete");
    FacesContext fctx = FacesContext.getCurrentInstance();
    FacesMessage message =
    new FacesMessage("Cann't Delete the selected row:" + printReqID);
    message.setSeverity(FacesMessage.SEVERITY_ERROR);
    fctx.addMessage(null, message);
    } else {
    System.out.println("delete");
    flag=true;
    specRow.remove();
    if(flag){
    System.out.println("before commit");
    commitRows();
    Can any one help me....

    Can any one help me...
    i written logic in AM but still i am facing the same issue.
    can any one help me, is this is bug or coding issue.
    If i am not doing scroll down and trying to delete rows then there is no error.... only error is coming when i scroll down and try to delete.
    Method:
    public void deleteRec(ActionEvent actionEvent) {
    // Add event code here...
    RowKeySet rowKeySet = (RowKeySet)this.embossTB.getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)this.embossTB.getValue();
    List<Row> rowsToDelete = new ArrayList<Row>();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)cm.getRowData();
    Number printReqID = (Number)rowData.getAttribute("PrintRequestId");
    String PrintState=rowData.getAttribute("PrintState").toString();
    if (PrintState.equalsIgnoreCase("PRINTED")){
    System.out.println("cann't delete");
    FacesContext fctx = FacesContext.getCurrentInstance();
    FacesMessage message =
    new FacesMessage("Cann't Delete the selected row:" + printReqID);
    message.setSeverity(FacesMessage.SEVERITY_ERROR);
    fctx.addMessage(null, message);
    } else{
    System.out.println("delete");
    Row row1 = rowData.getRow();
    rowsToDelete.add(row1);
    // deletePrintRecords(printReqID);
    for (Row row : rowsToDelete){
    System.out.println("inside deleting rows");
    row.remove();
    //commitRows();
    System.out.println("After commit from am");
    public void commitRows(){
    // System.out.println("commit");
    DCIteratorBinding embossIter =
    ADFUtils.findIterator("XxwfsAvcardEmbossInterfaceVO1Iterator");
    ADFUtils.invokeEL("#{bindings.Commit.execute}");
    embossIter.getViewObject().executeQuery();
    AdfFacesContext.getCurrentInstance().addPartialTarget(embossTB);
    Edited by: user5802014 on Sep 3, 2010 11:47 AM
    Edited by: user5802014 on Sep 3, 2010 1:07 PM

  • Payables Open Interface Import getting errors out

    Hello All,
    I am trying to run "Payables Open Interface Import" program to upload the invoice but the program is getting error out, in the log file at the end i am getting the below error:
    (Insert ap inv dists 1a) Inside the insert function
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated
    Insert_ap_inv_dists<-Create_lines<-Import_invoices<- Before report trigger
    (Create Lines 22) Insert into ap_invoice_distributions
    create_non_item_lines<-Import_invoices<- Before report trigger
    Any one faced this kind of issue?
    any suggestions to resolve this.
    Thanks & Regards
    Aboothahir

    Pl post details of OS, database and EBS versions.
    Pl see these MOS Docs
    Payables Open Interface Error ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated          (Doc ID 357784.1)
    APXIIMPT Payables Open Interface Import Fails ORA-00001          (Doc ID 353052.1)
    Unique Constraint Violated Importing Invoices With Multi Line Distribution Set          (Doc ID 386323.1)
    HTH
    Srini

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • Getting error while creating the variable of Schema Element type

    Hi everybody,
    For creating a variable of schema element type I am doing the following steps...
    Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
    IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
    What is mean by that.
    I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
    Thanks.

    Hi,
    I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
    The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
    Regards,
    Nacho

  • Getting error while schedule a webi report

    Hi All,
    I am getting error "A database error occured. The database error text is: The supplied XML is not valid. [Measures].[4KO5AOUTL3ZKE55WDDOMUB0AI]. (WIS 10901) " while scheduling a Webi report.
    Could anyone help me regarding the error?
    Regards

    Hi Manoj,
    Go to the controls tab in parameters in universe designer and there increase the "Limit size of result set to" and "limit execution time to".
    Also in webi go to the edit query and increase the "maximum rows retrived" and "maximu retrievel time".
    I think this should avoid partial results.
    Thanks,
    Neeraj

Maybe you are looking for

  • Image Doesn't Display in Region

    Hi All, i have add picture of employee in my form with report option.employee picture is display in report . For editing i have created an region for edit Employee Image . Now problem is when i click on Edit Button in Report then control move to seco

  • Crystal displays line on edge

    I have a dinamic image in a Crystal Report page header. Everything looks fine on my development machine, but on user's machine the image displays a black line around the image. Kind of like a border, but the line is only about a third of the width of

  • Character encoding form input

    Hi           Using WebLogic 6.1.           I have a JSP containing a HTML form with some input fields. The user           should be able to edit non-ASCII characters input fields. If he does           that now, I will retrieve some kind for encoding

  • List of all modules in FI and HR

    Hello All,          Could someone please give me the list of all MODULES in HR and FI? I did reserach and got too much information and not able to filter which one's are exactly the correct modules. Thanks in advance. Mithun

  • Unable to "sign in" on Pandora

    I accidently deleted Pandora on my iPhone...no problem right? wrong. After reinstalling it, I am unable to "sign in". I have reinstalled the app on my computer and iphone, changed the password, tried shutting my iphone on and off, attempted to create