Errors with a readFile method

I wrote a method that is designed to read input from a file (readPlayers) and am getting two errors that I cannot figure out. Can you suggest why I'm getting these errors? The first error is on line 17 public void readPlayers( fin, teamArray) and reads:      Syntax error on token "(", = expected
     Syntax error on token ")", ; expected
the second error is on line 53 else (type.equals("Hockey")) and reads Syntax error, insert ";" to complete Statement
     Syntax error, insert "AssignmentOperator ArrayInitializer" to complete ArrayInitializerAssignement
Neither of these errors seem to fit so I'm wondering if the actual errors occur earlier in the code.??? Any help would be appreciated.
import java.io.IOException;
import java.util.*;
public class TeamTwo
     private String city;
     //private String [] player;
     private static String cout;
     public static void main(String [] args) throws IOException
          Scanner fin = TFI.OpenInputFile();
          Scanner kb = new Scanner (System.in);
          int menuChoice = 0;
          public void readPlayers( fin, teamArray)
              Player newPlayer = null;
              int games = 0;               //basketball player
              int timesBatted = 0;     //baseball player
              double battingAvg = 0.0;//baseball player
              int score = 0;               //hockey player
              Player [] teamArray = new Player [1];
             // String cityName = fin.nextLine();
              if(fin.hasNext())
                    city = fin.nextLine();
              while (fin.hasNext())
                       String type = fin.nextLine();
                       String firstName = fin.nextLine();
                       String lastName = fin.nextLine();
                       int salary = fin.nextLine();
                       fin.next();//clears buffer
                       if (type.equals("Basketball"))
                           games = fin.nextInt();
                           newPlayer = new Basketball(firstName, lastName, salary);
                       else if (type.equals("Baseball"))
                           battingAvg = fin.nextDouble();
                           timesBatted = fin.nextInt();
                           newPlayer = new Baseball(firstName, lastName, salary);
                       else (type.equals("Hockey"))
                           scoring = fin.nextInt();
                           newPlayer = new Hockey(firstName, lastName, salary);
                       fin.next();//clears buffer
                       teamArray.addPlayer( newPlayer );//call the addPlayer function
                  }//end while
          }//end readPlayers function
          

The first error is on line 17
public void readPlayers( fin, teamArray)When declaring a method, you have to indicate the types of the parameters, e.g., public void readPlayers(Scanner fin, Player[] teamArray) {Further, you may NEVER define a method within another method.
the second error is on line 53
else (type.equals("Hockey"))type.equals("...") is only for testing equality. It returns a boolean value of true or false. There are two possible solutions here:
else if (type.equals("Hockey")) //to test if variable "type" is set to the value "Hockey"
or
else (type="Hockey") //to force the variable "type" to represent the string "Hockey"
Which to use depends on what you want to accomplish.

Similar Messages

  • Syntax Error with JSON.Parse method to parse SharePoint List Items

    Hi All,
    I want to get SharePoint List data and bind that retrived data to the JQuery Grid Control.
    For this I used SPServices to get the SharePoint List data in SOAP Envelope. Now I need to parse the soap envelope and store the retrieved items in array to pass it to the Grid Control.
    While using the JSON.Parse(resporseText) method, Iam consistenly getting an Syntax Error!
    Could anyone help me with this ?
    Please find the SOAP Envelope I received from SP List as below:
    "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><GetListItemsResult><listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
    xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
    xmlns:rs='urn:schemas-microsoft-com:rowset'
    xmlns:z='#RowsetSchema'>
    <rs:data ItemCount="2">
    <z:row ows_OBNumber='112211.000000000' ows_Project_x0020_Name='Project 1' ows_MetaInfo='11;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 1' ows_ID='11' ows_UniqueId='11;#{FBBCBCF9-666D-42F9-92D7-67188C51BC9B}' ows_owshiddenversion='1' ows_FSObjType='11;#0' ows_Created='2015-01-12 10:25:06' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:25:06' ows_FileRef='11;#sites/Lists/Projects/11_.000' />
    <z:row ows_OBNumber='1122343.00000000' ows_Project_x0020_Name='Project 2 ' ows_MetaInfo='12;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 2' ows_ID='12' ows_UniqueId='12;#{0D772B76-68E4-4769-B6FF-6A269F9C7ABD}' ows_owshiddenversion='1' ows_FSObjType='12;#0' ows_Created='2015-01-12 10:33:48' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:33:48' ows_FileRef='12;#sites/Lists/Projects/12_.000' />
    </rs:data>
    </listitems></GetListItemsResult></GetListItemsResponse></soap:Body></soap:Envelope>"
    Any help on this will be greatly appreciated.
    Thanks In Advance.!

    Hi,
    According to your description, there is an issue when parsing result from the data retrieved using SPServices.
    By default, SPServices returns data as XML format, however, the JSON.parse() method “Throws a SyntaxError exception if the string to parse is not valid JSON”:
    https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
    To extract the data needed from the response, you can either take the demo below for as a reference:
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Or use the jQuery.parseXML() function:
    http://api.jquery.com/jquery.parsexml/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Error with declaring a method with array variable

    Hi,
    I had implemented this:
    import java.awt.*;
    import javax.swing.*;
    public class Oefening1
         public static void main(String args[])
              int array[]= new int[10];
              int getal;
              JTextArea outputArea = new JTextArea();
              Container container = getContentPane();
              container.add(outputArea);
              public void invoerRij(int array[10])
                   output +=" ";
                   for(int counter = 0; counter <10;counter++){
                        output +="Geef een getal in"+"\n"+array[counter]+"\n";
                        outputArea.setText(output);
    I had comilated this code while the compiler gave errors like these:
    A:\Oefening1.java:15: illegal start of expression
              public void invoerRij(int array[10])
    ^
    A:\Oefening1.java:24: ';' expected
    ^
    A:\Oefening1.java:12: cannot resolve symbol
    symbol : method getContentPane ()
    location: class Oefening1
              Container container = getContentPane();
    ^
    3 errors
    Tool completed with exit code 1
    Now i have read my book and finded out that the declaration of a method always starts with public.
    Can anyone halp me solving these probs? Thanks
    Crazydj1

    The problem is that you didn't close the previous method definition.
    Compiler error messages (in any language) often mistakenly report false errors on perfectly valid code immediately following the actual error.
    When you post code on these forums, please wrap in in &#91;code]&#91;/code] tags.

  • Error with DB REFRESH method using BRBACKUP and BRRESTORE

    Hi can any one guide,
    I have installed SAP ABAP Instance with SID as ECD.
    I have taken backup using BRBACKUP method i.e. FULL bakup via OFFLine.
    I have generated control file.
    I have setup the same environment in another system.
    I have installed Java.
    I have installed Oracle.
    I have installed CI with SID as ECP.
    I have installed DB with option brbackup and brrestore method.
    @ the stage "Oracle preload actions" it has prompt to continue with restore process.
    Then I have copied the complete bkup i.e. ECD and
    I have deleted Datafiles.
    I have deleted Log files.
    I have deleted Control files.
    I have deleted Oraarch files.
    I have changed the SID " ECD" to " ECP".
    I have edited the generated control file u201Cecd_ora_2852.trcu201D.
    And named it to control.sql file.
    Note:- where exactly I should paste this file.
    When I logged into brtools it has throwed an error as show below
    BR0753E Control file E:\oracle\ora92\database\CTL1ECP.ORA not found
    Note:- If I create this file i.e. CTL1ECP.ORA and what contents should I paste it in this or I should leave this empty file.
    I have created this file as empty file.
    It throwed an error
    BR0280I BRRECOVER time stamp: 2009-11-01 10.28.00
    BR0330I Starting and mounting database instance ECP ...
    BR0278E Command output of 'E:\oracle\ora92\bin\SQLPLUS':
    SQL*Plus: Release 9.2.0.7.0 - Production on Sun Nov 1 10:28:00 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> Connected to an idle instance.
    SQL>
    SQL> ORACLE instance started.
    Total System Global Area  219750124 bytes
    Fixed Size                   454380 bytes
    Variable Size             134217728 bytes
    Database Buffers           83886080 bytes
    Redo Buffers                1191936 bytes
    ORA-00205: error in identifying controlfile, check alert log for more info
    SQL> Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Productio
    n
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    BR0280I BRRECOVER time stamp: 2009-11-01 10.28.04
    BR0279E Return code from 'E:\oracle\ora92\bin\SQLPLUS': 0
    BR0302E SQLPLUS call for database instance ECP failed
    BR0332E Start and mount of database instance ECP failed
    BR0669I Cannot continue due to previous warnings or errors - you can go back to
    repeat the last action
    BR0280I BRRECOVER time stamp: 2009-11-01 10.28.04
    BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
    When I checked in alert file it is shows the below statements
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Sun Nov 01 10:28:03 2009
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
    Sun Nov 01 10:28:03 2009
    ARC1: Becoming the heartbeat ARCH
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Sun Nov 01 10:28:03 2009
    ALTER DATABASE   MOUNT
    Sun Nov 01 10:28:03 2009
    ORA-00202: controlfile: '%ORACLE_HOME%\DATABASE\CTL1%ORACLE_SID%.ORA'
    ORA-27046: file size is not a multiple of logical block size
    OSD-04012: file size mismatch
    O/S-Error: (OS 1248) No more local devices.
    Sun Nov 01 10:28:04 2009
    ORA-205 signalled during: ALTER DATABASE   MOUNT...
    Sun Nov 01 10:29:03 2009
    ARC1: Thread not mounted
    Prashanth

    Hi,
    Kindly find the last statements of the " ALERT file" that show the error.
    Please let me know the sloution for this error.
    Tue Nov 03 19:52:50 2009
    ORA-1507 signalled during: alter database open resetlogs
    Tue Nov 03 19:53:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 19:54:35 2009
    ARC0: Thread not mounted
    Tue Nov 03 19:54:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 19:55:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 19:56:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 19:57:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 19:58:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 19:59:35 2009
    ARC0: Thread not mounted
    Tue Nov 03 19:59:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 20:00:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 20:01:35 2009
    ARC1: Thread not mounted
    Tue Nov 03 20:02:11 2009
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 2
    Tue Nov 03 20:02:17 2009
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Tue Nov 03 20:02:17 2009
    ARCH shutting down
    ARC0: Archival stopped
    Tue Nov 03 20:02:17 2009
    ARCH shutting down
    ARC1: Archival stopped
    Tue Nov 03 20:02:20 2009
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Nov 03 20:02:20 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 2
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.7.0.
    System parameters with non-default values:
      processes                = 80
      sessions                 = 96
      timed_statistics         = TRUE
      shared_pool_size         = 192937984
      sga_max_size             = 429465824
      shared_pool_reserved_size= 19220398
      enqueue_resources        = 8000
      control_files            = E:\oracle\ECP\origlogA\cntrl\cntrlECP.dbf, E:\oracle\ECP\sapdata1\system_1\cntrl\cntrlECP.dbf, E:\oracle\ECP\saparch\cntrl\cntrlECP.dbf
      db_block_size            = 8192
      db_cache_size            = 192937984
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = E:\oracle\ECP\oraarch\ECParch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      log_checkpoint_timeout   = 0
      db_files                 = 254
      db_file_multiblock_read_count= 8
      fast_start_mttr_target   = 900
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 4000
      transaction_auditing     = FALSE
      undo_management          = AUTO
      undo_tablespace          = PSAPUNDO
      undo_retention           = 43200
      remote_os_authent        = TRUE
      hash_join_enabled        = FALSE
      background_dump_dest     = E:\oracle\ECP\saptrace\background
      user_dump_dest           = E:\oracle\ECP\saptrace\usertrace
      core_dump_dest           = E:\oracle\ECP\saptrace\background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = ECP
      open_cursors             = 800
      optimizer_mode           = choose
      optimizer_index_cost_adj = 10
      pga_aggregate_target     = 256271974
      workarea_size_policy     = AUTO
      statistics_level         = typical
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Tue Nov 03 20:02:22 2009
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=8
    ARC0: Archival started
    ARC1 started with pid=9
    ARC1: Archival started
    Tue Nov 03 20:02:22 2009
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Tue Nov 03 20:02:22 2009
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
    Tue Nov 03 20:02:22 2009
    ARC1: Becoming the heartbeat ARCH
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Tue Nov 03 20:02:23 2009
    ALTER DATABASE   MOUNT
    Tue Nov 03 20:02:23 2009
    ORA-00202: controlfile: 'E:\oracle\ECP\origlogA\cntrl\cntrlECP.dbf'
    ORA-27046: file size is not a multiple of logical block size
    OSD-04000: logical block size mismatch (OS 512)
    Tue Nov 03 20:02:23 2009
    ORA-205 signalled during: ALTER DATABASE   MOUNT...
    Prashanth

  • Error with LSMW IDOC method while maintaining Quota arrangement

    Hi
    I am trying to create LSMW using IDOC method for maintaining quota Arrangment.
    I used the standard Message type LPIEQU. Idoc is getting generated and when i tried to process this IDOC i am getting error "Function module not allowed: BAPI_IDOC_INPUT1".
    I used the process code as "BAPI" in message type LPIEQU configuration in WE20.
    If anyone faced this issue please let me know the reason for the error.
    sakthi.K

    see OSS Note 198252 - Special features of POI message category LOI*
    The message categories named are part of the POI (Production Optimization interface) interface.This interface and the message categories contained in it were developed for the transfer to non-R/3 systems.Therefore, an inbound processing in the R/3 system is not planned.

  • JPEG image decode error with ImageIO.read() method

    Environment: Linux 64-bit, JDK 1.6.0_14 amd64, JAI 1.1.3 amd64
    When I tried to read this image http://farm4.static.flickr.com/3655/3591243423_a258d87ea6.jpg as URL or just the image 3591243423_a258d87ea6.jpg as a local file using ImageIO.read(URL), ImageIO.read(InputStream) or ImageIO.read(String), I got this exception:
    Caused by: java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
            at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:460)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(JPEGImageReader.java:1102)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1070)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:885)
            at javax.imageio.ImageIO.read(ImageIO.java:1422)
            at javax.imageio.ImageIO.read(ImageIO.java:1326)This can be fixed by adding the jai-imageio-1.1 extension( and recent daily builds too). However, that package is not stable, with memory corruption problem from time to time indicated by this:
    *** glibc detected *** /usr/java/jdk1.6.0_13/bin/java: malloc(): memory corruption: 0x000000004d73a3a0 ***Another way to overcome this is using JAI.create("URL", url) or JAI.create("fileload", file) API, which can decode the image but unfortunately the performance is much worse than the ImageIO.read method. So I compromised by using ImageIO.read first and on exception using JAI APIs on the occasional problem image, which looks ugly.
    What would be a better way of handling this?

    Environment: Linux 64-bit, JDK 1.6.0_14 amd64, JAI 1.1.3 amd64
    When I tried to read this image http://farm4.static.flickr.com/3655/3591243423_a258d87ea6.jpg as URL or just the image 3591243423_a258d87ea6.jpg as a local file using ImageIO.read(URL), ImageIO.read(InputStream) or ImageIO.read(String), I got this exception:
    Caused by: java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
            at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:460)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(JPEGImageReader.java:1102)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1070)
            at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:885)
            at javax.imageio.ImageIO.read(ImageIO.java:1422)
            at javax.imageio.ImageIO.read(ImageIO.java:1326)This can be fixed by adding the jai-imageio-1.1 extension( and recent daily builds too). However, that package is not stable, with memory corruption problem from time to time indicated by this:
    *** glibc detected *** /usr/java/jdk1.6.0_13/bin/java: malloc(): memory corruption: 0x000000004d73a3a0 ***Another way to overcome this is using JAI.create("URL", url) or JAI.create("fileload", file) API, which can decode the image but unfortunately the performance is much worse than the ImageIO.read method. So I compromised by using ImageIO.read first and on exception using JAI APIs on the occasional problem image, which looks ugly.
    What would be a better way of handling this?

  • Error with createTemporary blob method

    I get following exception while creating temporary LOB using oracle lob APIs.
    I am using Oracle 9i database, 9.2 JDBC driver, java 1.4.2
    java.lang.AbstractMethodError
    at oracle.jdbc.driver.OracleConnection.unwrapCompletely(OracleConnection.java:5077)
    at oracle.jdbc.driver.OracleConnection.physicalConnectionWithin(OracleConnection.java:5126)
    at oracle.sql.BLOB.createTemporary(BLOB.java:776)
    at com.ebreviate.rfx.util.BlobType.nullSafeSet(BlobType.java:97)
    at org.hibernate.type.CustomType.nullSafeSet(CustomType.java:141)
    at org.hibernate.persister.entity.BasicEntityPersister.dehydrate(BasicEntityPersister.java:1617)
    at org.hibernate.persister.entity.BasicEntityPersister.dehydrate(BasicEntityPersister.java:1594)
    at org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:1850)
    at org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:2200)
    at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:46)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
    at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
    at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
    at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
    at com.olt.waf.db.InternalSessionRegistry.__closeThreadSession(InternalSessionRegistry.java:81)
    at com.olt.waf.servlet.FacadeEntryServlet.doGet(FacadeEntryServlet.java:259)
    at com.olt.waf.servlet.FacadeEntryServlet.doPost(FacadeEntryServlet.java:275)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I'm also getting the same error but with creating CLOBs:
    java.lang.AbstractMethodError
    at oracle.jdbc.driver.OracleConnection.unwrapCompletely(OracleConnection.java:5077)
    at oracle.jdbc.driver.OracleConnection.physicalConnectionWithin(OracleConnection.java:5128)
    at oracle.sql.CLOB.createTemporary(CLOB.java:1010)
    at oracle.sql.CLOB.createTemporary(CLOB.java:956)
    Any suggestions would be welcome?

  • An error with the getter method of my tag handler.

    An error occurred at line: 5 in the jsp file: /tagSupportDeom.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Apache Group\Tomcat 4.1\work\Standalone\localhost\taglib\tagSupportDeom_jsp.java:62: cannot resolve symbol
    symbol : class TagSupportDemo
    location: class org.apache.jsp.tagSupportDeom_jsp
    TagSupportDemo jspxth_tsd_TagSupportDemo_0 = (TagSupportDemo) jspxtagPool_tsd_TagSupportDemo_name_firstValue.get(TagSupportDemo.class);
    ^
    my source :
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TagSupportDemo extends TagSupport {
    private String name;
    private String firstValue;
    public void setName(String name) {
    this.name = name;
    public void setFirstValue(String firstValue) {
    this.firstValue = firstValue;
    public String getName() {
    return name;
    public String getFirstValue() {
    return firstValue;
    public int doStartTag() {
    pageContext.setAttribute("secondValue","value form PageContext.setAttribute()");
    setValue("thridValue","value from TagSupport.setValue()");
    return SKIP_BODY;
    the java file can compile. but when running in jsp, it catch errors.
    why?

    Where is PA ? I just know La because LA Lakers (I
    hate this team and i like Kings and Rockets because of
    YAO MING, haha )Opposite side of the country. PA stands for Pennsylvania, on the East coast. LA (Los Angeles) is in California on the West coast. Philadelphia's basketball team is the 76ers, but they don't play the Lakers,
    Kings, or Rockets very often.
    As for my other info, I'm sorry, I don't give that out to people. Just a personal policy.

  • Xi 3.0: Mail adapter fails with "exception in method process"

    Hi.
    I configured the dynamic address for mail adapter following the fantastic-as-always weblog from michalgh.
    Althou everything seems to work fine (that is, i send correctly the email message) the A.F. returns an error with "exception in method process".
    I tried both async and sync case with the same result. In the sync case, the response contains:
    <!--  Call Adapter   -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="PARSING">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Any idea???

    Yes. There is also a response message in the imported structure.. it seems it should work as a kind of application ack with some info on the server that processed the mail.
    Anyway, in my server i get a 404 for the link you suggested.
    In the async case i don't get any error on the SXMB_MONI but only on the A.F.
    I attach the audit log for the async case:
    Audit Log for Message: ffb28585-3c53-0f4b-b366-7dd7a00513fc
    Time Stamp Status Thread ID Sequence No. Description
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_45 1118608026046 The message was successfully received by the messaging system. Profile: XI URL: http://CAPELAB010:50000/MessagingSystem/receive/AFW/XI
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_45 1118608026062 Using connection AFW. Trying to put the message into the receive queue.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026093 The message was successfully retrieved from the receive queue.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026375 The message status set to DLNG.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026468 Delivering to channel: MAIL_RECV
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026468 Mail: message entering the adapter
    2005-06-12 22:27:06 Error SAPEngine_Application_Thread[impl:3]_34 1118608026828 Exception caught by adapter framework: Failed to call the endpoint
    2005-06-12 22:27:06 Error SAPEngine_Application_Thread[impl:3]_34 1118608026828 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026843 The asynchronous message was successfully scheduled to be delivered at Sun Jun 12 22:32:06 CEST 2005.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026859 The message status set to WAIT.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327109 The message was successfully retrieved from the receive queue.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327125 The message status set to DLNG.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327156 Delivering to channel: MAIL_RECV
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327171 Mail: message entering the adapter
    2005-06-12 22:32:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608327250 Exception caught by adapter framework: Failed to call the endpoint 
    2005-06-12 22:32:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608327250 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint .
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327281 The asynchronous message was successfully scheduled to be delivered at Sun Jun 12 22:37:07 CEST 2005.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327296 The message status set to WAIT.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627421 The message was successfully retrieved from the receive queue.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627437 The message status set to DLNG.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627546 Delivering to channel: MAIL_RECV
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627562 Mail: message entering the adapter
    2005-06-12 22:37:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608627671 Exception caught by adapter framework: Failed to call the endpoint 
    2005-06-12 22:37:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608627671 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint .
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627703 The asynchronous message was successfully scheduled to be delivered at Sun Jun 12 22:42:07 CEST 2005.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627734 The message status set to WAIT.
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927734 The message was successfully retrieved from the receive queue.
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927734 The message status set to DLNG.
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927750 Delivering to channel: MAIL_RECV
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927750 Mail: message entering the adapter
    2005-06-12 22:42:07 Error SAPEngine_Application_Thread[impl:3]_40 1118608927765 Exception caught by adapter framework: Failed to call the endpoint 
    2005-06-12 22:42:07 Error SAPEngine_Application_Thread[impl:3]_40 1118608927781 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint .
    2005-06-12 22:42:07 Error SAPEngine_Application_Thread[impl:3]_40 1118608927796 The message status set to NDLV.
           Total: 33 Entries   1020304050 messages displayed per page; this is page 1 of  1 page(s)     

  • Internal error in LMLCCS_UPDATEF02 LCL_DB method get_normvector position A with RC 1 when VL31N processing only

    HI Everyone,
    I have mentioned error (Internal error in LMLCCS_UPDATEF02 LCL_DB method get_normvector position A with RC 1) only when I try to process IB GR in transaction VL31N.
    This problem does not occur in other Material related transaction.
    The Plan that we have problem was created many years ago and also ML was activated at that time.
    We did not any changes to ML settings since.
    I had revived followings notes:
    639675 - Initialization of the actual cost component split
    710808 - Activating actual cost comp split: check actual costing
    584904 - MIRO: no procurement alternative/wrong price diff in ML
    Seems like first one fit our problem the best, but in our cases we do not activated component split after the material ledger production startup and also we do not have such problem besides VL31N. In addition using above solution, even try, would lead to lost of historical data which we would like to avoid.
    Does anyone faced similar issue and have an idea how to deal with this?
    Thanks,
    Rafał

    Hi Felipe,
    Raise an message to sap.When you are getting this dump.
    Regards,
    Madhu.

  • BAPI_ALM_ORDER_MAINTAIN error with method

    Hi,
    I have a problem using this BAPI. I have looked how to use this BAPI in the forum but it doesnt work and i dont know why:
    Here the code, maybe u can find something wrong. The goal is to modfy the user status changing the order user status to technical close:
      wa_methods-method = c_save. "SAVE
      APPEND wa_methods TO li_methods.
      wa_methods-refnumber = c_1.
      wa_methods-objecttype = c_userstatus. "USERSTATUS
      wa_methods-method = c_change. " CHANGE
      wa_methods-objectkey = p_order.
      APPEND wa_methods TO li_methods.
    Userstatus
      wa_userstatus-user_st_text = c_cierreTEC. "CTEC
      wa_userstatus-langu = SY-LANGU.
      wa_userstatus-inactive = space.
      wa_userstatus-change_event = '01'.
      APPEND wa_userstatus TO li_userstatus.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods              = li_methods
          IT_USERSTATUS     = li_userstatus
          RETURN                  = li_return.
    The error i am getting is msgid: IWO_BAPI2 msgno: 113 (Something like "error using the methods of the BAPI".
    Do you have any idea?
    Regards,
    Manel

    Hi Manel,
    I think you also have to add the refnumber with the SAVE method:
    wa_methods-refnumber = c_1.
    wa_methods-method = c_save. "SAVE
    APPEND wa_methods TO li_methods.
    Kind regards,
    Lieselot

  • Issue with SharePoint foundation 2010 to use Claims Based Auth with Certificate authentication method with ADFS 2.0

    I would love some help with this issue.  I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0  I have a test account set up with lab.acme.com to use the ACS.
    When I log into my site using Windows Auth, everything is great.  However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
    to use to log in   and after 3-5 second
     and return me the logon page with error message “Authentication failed” 
    I base my setup on the technet article
    http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
    I validated than all my certificate are valid and able to retrieve the crl
    I got in eventlog id 300
    The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
    Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
    Additional Data
    Exception details:
    Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
    ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
    correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    --- End of inner exception stack trace ---
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
    serializationContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
    trustNamespace, AsyncCallback callback, Object state)
    System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
    failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    thx
    Stef71

    This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
    on my case was :
    PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ad0001.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
    Certificate                 : [Subject]
                                    CN=domain.AD0001CA, DC=domain, DC=com
                                  [Issuer]
                                    CN=domain.AD0001CA, DC=portal, DC=com
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    22/07/2014 11:32:05
                                  [Not After]
                                    22/07/2024 11:42:00
                                  [Thumbprint]
                                    blablabla
    Name                        : domain.ad0001
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : domain.ad0001
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17164
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ADFS_Signing.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
    Certificate                 : [Subject]
                                    CN=ADFS Signing - adfs.domain
                                  [Issuer]
                                    CN=ADFS Signing - adfs.domain
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    23/07/2014 07:14:03
                                  [Not After]
                                    23/07/2015 07:14:03
                                  [Thumbprint]
                                    blablabla
    Name                        : Token Signing Cert
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : Token Signing Cert
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17184
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.PORTAL>

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

  • Automatic payment error - no valid payment method found

    I created an invoice which i try to clear in f110. the vendor has the appropriate payment methods specified too but still I get this error "No valid payment method found " for that document.
    kindly assist, if anyone knows where can be the error.
    this is only for one company code.
    thanks

    Hi,
    Check the configuration of Automatic Payment Program.  Check "Bank Determination" and verify whether the paymetn method is set up for the House Bank determined by Automatic Payment Program configuration.
    If the payment method in invoice or vendor master does nto match with the payemnt method set up for the house bank, you may get this error.
    Regards,
    Chirag
    Pls. award points if this is useful.

Maybe you are looking for

  • How to set up all requests from users should go through a specific module

    I want to set up all request from users go throuth a module. for example, when user request a page the request go through log module to write it. so please tell me the setting if it's possible, or should i make it with nsapi?

  • New ADDT bug in IE7

    The redirect on Dynamic Lists and Forms does not redirect properly in IE7 if set up in a frame. I know I hate and never use frames but it was a rush job. Redirects to the framest in the maincontent window. Works fine in all other browsers. No, I don'

  • Unable to get source file content as mail body in file to mail scenario

    Hi Friends, I am facing one problem with one of my file to mail scenario in PI(SP9).  I have done bypass scenario(without IR only with ID objects). Scenario is working fine, i am getting mail also.  But my requirement is i want complete source file c

  • Why can't I access iCloud via IE or Firefox, but can via Safari?

    I've posed the question, but don't know what to do next or whether I'll be able to remember how I got here to get back.  Thanks Apple for making Help so frustrating - running around in circles and getting no where. btw, have been all over Apple with

  • How import/deploy .ept files in Portals

    Hi All, I am trying to integrate RedDot CMS with SAP Portals. Customer has provided two types of files. One with .epa and other one with .ept extension. I could import .epa file using System Admin, however I am not able to deploy/import .ept files. I