String index out of range: 0 error when sending to SOAP Receiver

Hi experts,
I have an interface
IDOC -> XI -> SOAP
Occasionally I will get this error message from RWB when sending to the SOAP service:
Delivery of the message to the application using connection AFW failed, due to: String index out of range: 0
To trace the soap message, I sent the message through a TCPMonitor, the error does not occur anymore.
Has anyone met with this problem before?
How do I resolve this?
Thanks!
Ron

> Wee,
>
> The error states there is some problem in your
> message mapping. Have you used any substring function
> in your mapping. If yes can you check the message for
> which you have got error in message mapping. For this
> open sxmb_monin and open your message and then right
> click and then view source. Then copy this source and
> test in message mapping test tab. Then you will come
> to know whether you have any mapping error or not?
>
> ---Satish
I did not do any substring in the mappings.
The strange thing is, with the same message, I can re-send without any error if I send this message through the SOAP TCP Monitor.

Similar Messages

  • Receiving String index out of range: 0 when logging onto database

    I am on version 1.5.1-5440 of SQL Developer. I am receiving the following error when I try to
    login to a database(s) that is on our network. This error does not occur with databases that I
    connect to at Oracle On Demand in Austin TX.
    String index out of range: 0
    Exception Stack Trace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
         at java.lang.String.charAt(String.java:558)
         at oracle.jdbc.driver.PhysicalConnection.setDbTzCalendar(PhysicalConnection.java:4702)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:4657)
         at oracle.javatools.db.ora.Oracle8i.initOC(Oracle8i.java:171)
         at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:41)
         at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:181)
         at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:41)
         at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:26)
         at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:18)
         at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:112)
         at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:147)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:130)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1144)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
         at java.lang.Thread.run(Thread.java:595)
    I have reset my NLS Parameters to their Default Values under the Preferences menu.
    Any help short of re-installing would be greatly appreciated.
    Thanks,
    Raoul

    I came across another error on this forum that was similar to my problem in that the client could not connect to the database. One of the solutions to try was create a sqldeveloper.cmd file in the sqldev/sqldeveloper directory with the following lines:
    set ORACLE_HOME=%CD%
    start sqldeveloper.exe
    I did this and I am able to connect to both my local databases and the databases located in Austin TX. Startup is very slow by the way. Before I could only connect to the databases in Austin.
    One difference between the databases is that the nls_date_format parameter is explicitly defined in Austin with a format of DD-MON-RR.
    My local database does not have an explicit definition and is taking the default, based on the nls_territory parameter.
    It really does not explain my problem only a partial solution.
    Thanks,
    Raoul

  • Error "String index out of range:6" while opening Webi fromBI java Lauchpad

    Dear All,
    I have installed BO 4.0 recently. When I open BI Java Lauch Pad URL I can see Web Intelligence under the applications list. When I click it, a pop up getting opened with message " String index out of range: 6" When I click "Details" icon in the pop up, it is showing this description.
    Detected from bootclasspath: C:
    PROGRA~1
    Java
    jre7
    lib
    deploy.jar
    Java Plug-in 10.0.0.147
    Using JRE version 1.7.0-b147 Java HotSpot(TM) Client VM
    User home directory = C:\Users\RT89363
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    I have tried this in a machine where i logged as a normal user. But when i open the same link from a machine where i logged as administrator, it is working fine.
    Could any one help me in sorting out the issue ??
    Thanks in advance.
    Regards
    Ravi.

    Hi Ravi,
    the error is due to the componet JAVA(TM) 7 which is not supported.
    Better to run JAVA 6, I'm running the update 33, you can download it from http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html
    Remeber to remove JAVA &
    Go to control panel --> add remove programs and remove JAVA (TM) 7.
    It will solve the problem.
    Ciao,
    Massimo

  • Repost: Oracle VM Manager (IndexError: list index out of range) error

    The Oracle VM Manager software will not import a server side created VM for management purposes. It is giving an index-out-of-range error when trying to retrieve the Memory Size from the jumpbox.xen file (I created a symbolic link to this file called vm.cfg).
    Here is the log for the index-out-of-range error:
    ovs_root.log
    "2008-08-20 02:03:26" INFO=> utl_list_dir: directory('/OVS/running_pool') => pro
    jectweb/,infinesse-web/
    "2008-08-20 02:03:26" INFO=> list_dir: directory('/OVS/running_pool') => project
    web/,infinesse-web/
    "2008-08-20 02:03:26" INFO=> utl_get_vm_size: vm('/OVS/running_pool/infinesse-we
    b') => 12020
    "2008-08-20 02:03:26" INFO=> get_vm_size:vm('/OVS/running_pool/infinesse-web') =
    success:size=12020"2008-08-20 02:03:26" ERROR=> xen_get_memory:vm('/OVS/running_pool/infinesse-web
    ')=><IndexError: list index out of range>
    "2008-08-20 02:03:26" INFO=> get_vm_memory: vm('/OVS/running_pool/infinesse-web'
    ) scope=cfg rs=failed:<IndexError: list index out of range>
    and my vm.cfg file:
    # -- mode: python; --
    # This JumpBox requires Hardware Support otherwise known as Xen's HVM mode.
    # To test your Xen installation if it supports this mode, issue the following
    # command:
    # sudo xm info | grep xen_caps
    # it should return a capabilities line like:
    # xen_caps : xen-3.0-x86_32 hvm-3.0-x86_32
    # as long as there is an hvm entry as shown above it should work.
    ## If starting Xen fails you may need to set a custom path
    ## for your kernel or device model files. Uncommant the following
    ## variables and put in the appropriate paths
    ## Uncomment and set your custom hvm loader path here
    # hvm_path = ""
    ## Uncomment and set your custom device model loader path here
    # devmodel_path = ""
    # You will probably want to uncomment the following VNC variables so you
    # can see the JumpBox console over VNC. Make sure to set the vncpassword to
    # something unique. Also, if you run multiple JumpBoxes on the same host, you
    # may want to leave vncdisplay unset and use the domid for the display numbers
    #vnc=1 # enable VNC library for graphics, default = 1
    #vnclisten="0.0.0.0" # address that should be listened on for the VNC server if vnc is set.
    #vncdisplay=1 # set VNC display number, default = domid
    #vncconsole=1 # enable spawning vncviewer for domain's console
    #vncpasswd='password' # set password for domain's VNC console
    memory = '256'
    vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
    ########### You shouldn't have to edit anything below here ##############
    import os
    import sys
    # Assemble the basepath
    file = os.getcwd() + '/' + sys.argv[2]
    basepath = os.path.dirname(os.path.abspath(file))
    datatarball = basepath + '/disks/data/data.xen.tgz'
    builder = "hvm"
    hvmfiles = [
    '/usr/lib/xen/boot/hvmloader',
    '/usr/lib/xen-ioemu-3.0/boot/hvmloader'
    devfiles = [
    '/usr/lib/xen/bin/qemu-dm',
    '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'
    # Check to see if the user has assigned custom HVM or device_model paths
    try:
    hvmfiles.insert(hvm_path,0)
    except NameError:
    pass
    try:
    devfiles.insert(devmodel_path,0)
    except NameError:
    pass
    # Choose the appropriate HVM Loader
    for i in hvmfiles:
    if os.path.exists(i):
    kernel = i
    break
    # Choose the appropriate Device Models
    for i in devfiles:
    if os.path.exists(i):
    device_model = i
    break
    # Need to test if device_model and kernel are set, if not return with error.
    # If this is the first time this has run, extract the data disk tarball
    # then remove the tarball
    if os.path.exists(datatarball):
    os.chdir(basepath + '/disks/data')
    os.system("tar -zxpf " + datatarball)
    os.remove(datatarball)
    # Continue normal configuration
    name = "joomla15"
    vif = ['type=ioemu, mac=00:16:3E:2B:1F:04, bridge=xenbr0']
    disk = ['file:' + basepath + '/disks/root/root.hdd,hda,w','file:' + basepath + '/disks/data/data.xen,hdb,w']
    root = "/dev/hda1 ro"
    extra = "4"

    Hi Ravi,
    the error is due to the componet JAVA(TM) 7 which is not supported.
    Better to run JAVA 6, I'm running the update 33, you can download it from http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html
    Remeber to remove JAVA &
    Go to control panel --> add remove programs and remove JAVA (TM) 7.
    It will solve the problem.
    Ciao,
    Massimo

  • HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7

    All -
    I'm new to consuming web services in JDeveloper. I'm using Oracle JDEV 10.1.3.3/OC4J.  I'm using this version since it is compatible with Oracle EBS 12.1.3.  My intent is to pull data from our third party recruitment app (Success Factors) and load that data into Oracle HRIS.  I'm already doing this through a .NET application.  I'm converting it to be a Java Concurrent Program in EBS.  The code listed below is a stub call to verify I'm on the right track. I created a JDeveloper Web Services proxy project.  I'm testing it locally on my windows desktop.  When I'm able to consume the service successfully, then I'll think about moving it to the EBS server.
    I'm getting the following error when I invoke the following service:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
    End point is: https://api4.successfactors.com/sfapi/v1/soap?wsdl
    Any help/assistance would be much appreciated. 
    Below is my code and output of my test:
    package emsc.oracle.apps.emscper.sfapi.proxy;
    import HTTPClient.HTTPConnection;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.IsValidSession;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.IsValidSessionResponse;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Login;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LoginResponse;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LoginResult;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Logout;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LogoutResponse;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.SFCredential;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.SFParameter;
    import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Error;
    import java.io.File;
    import javax.xml.rpc.ServiceFactory;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Date;
    import javax.xml.ws.BindingProvider;
    import javax.xml.soap.SOAPException;
    import java.util.Map;
    import oracle.security.ssl.OracleSSLCredential;
    public class SFAPITest {
        // Declare members:      
        private String companyId;
        private String userName;
        private String password;
        private String developerKey;
        private Date   effDt;
        private String greaterThanEffDt;
        private String lessThanEffDt;
        // Declare constants:      
        final static private String breakLine = "+---------------------------------------------------------------------------+";
        final static private String format    = "yyyy-mm-dd";      
        private enum ReqId {
            PrimaryReq(25),
            PrimaryReqCEO(26),
            EmCarePrimary(27),
            RTI(28),
            EmCareClinical(29);
            private int reqId; 
            private ReqId() {
            private ReqId(int value) {
                reqId = value;
            public int getReqId() {
                return reqId;
        // Getters and Setters:  
        protected String getCompanyId() {
           return this.companyId;
        protected void setCompanyId(String value) {
           this.companyId = value;                 
        protected String getUserName() {
           return this.userName;
        protected void setUserName(String value) {
           this.userName = value;                 
        protected String getPassword() {
           return this.password;
        protected void setPassword(String value) {
           this.password = value;                 
        protected String getDeveloperKey() {
           return this.developerKey;
        protected void setDeveloperKey(String value) {
           this.developerKey = value;                 
        protected Date getEffDt() {
            return this.effDt;
        protected void setEffDt(Date value) {
            this.effDt = value;                 
        protected String getGreaterThanEffDt() {
           return this.greaterThanEffDt;
        protected void setGreaterThanEffDt(String value) {
           this.greaterThanEffDt = value;                 
        protected String getLessThanEffDt() {
           return this.lessThanEffDt;
        protected void setLessThanEffDt(String value) {
           this.lessThanEffDt = value;                 
        public void runProgram()
            SFAPIService mySFAPIService;
            String CompletionText = "";
            String effDtStr2 = null;
        /* Code your program logic here.
        * Use getJDBCConnection method to get the connection object for any
        * JDBC operations.
        * Use CpContext provided commit,rollback methods to commit/rollback
        * data base transactions.
        * Don't forget to release the connection before returning from this
        * method.
        /* Call setCompletion method to set the request completion status and
        * completion text.
        * Status values are ReqCompletion.NORMAL,ReqCompletion.WARNING,
        * ReqCompletion.ERROR.
        * Use Completion text message of length 240 characters. If it is more
        * than 240 then full string will appear in log file and truncated 240
        * characters will be used as request completion text.
        try
            ServiceFactory factory = ServiceFactory.newInstance();
            mySFAPIService = (emsc.oracle.apps.emscper.sfapi.proxy.SFAPIService)factory.loadService(emsc.oracle.apps.emscper.sfapi.proxy.SFAPIService.class);      
            SFAPI api = mySFAPIService.getSFAPI();
           /// SFAPI api = new SFAPI();
            //Map<String, Object> requestContext = ((BindingProvider) api).getRequestContext();
            //requestContext.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
            System.out.println("ServiceName => " + mySFAPIService.getServiceName().toString());
            System.out.println("End Point   => " + mySFAPIService.getServiceName().toString());
            System.out.println(breakLine);
            // Authentication: Login to SFAPI:
            SFCredential credential = new SFCredential();
            // Fake credentials being passed in for this post:   
            credential.setCompanyId("XXX");
            credential.setUsername("XXX");
            credential.setPassword("XXX");
            credential.setDeveloperKey("XXX");
            HTTPConnection httpsConnection = null;       
            OracleSSLCredential _credential = new OracleSSLCredential();      
            _credential.setWallet("\\\\\\C:\\Program Files\\Java\\jdk1.6.0_33\\jre\\lib\\security", "ParkEstes3");
            /*System.setProperty("javax.net.ssl.trustStore","C:\\\\\OraHome_1\\jdev\\jdevbin\\jdk\\jre\\lib\\security\\keystore");
            System.setProperty("javax.net.ssl.trustStorePassword","changeit");  
            System.out.println(System.getProperty("javax.net.ssl.trustStore"));*/
            // SFParameter: Define a generic SFParameter List.  This is a necessary parameter
            // to invoking calls in SFAPI:      
             /*System.setProperty("javax.net.ssl.keyStore",
             "file:\\\C:\\jdk1.4.1\\jre\\lib\\security\\client.keystore");
             System.setProperty("javax.net.ssl.keyStorePassword","welcome");         */
            /*  System.setProperty("oracle.net.wallet_location",
                          "(SOURCE=(METHOD=file)(METHOD_DATA=(DIRECTORY=\\\C:\Users\dparrish\Oracle\WALLETS)))");  // (2)                     */
            File kstore = new File("C:\\OraHome_1\\jdev\\jdevbin\\jdk\\jre\\lib\\security\\jssecacerts");
            boolean exists = kstore.exists();
            if (!exists) {
                System.out.println("Keystore does not exist");
            else {
                System.out.println("Keystore does exist");
            System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
            System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
            //System.setProperty("proxySet", "false");
            //System.setProperty("http.proxyHost", "127.0.0.1");
            //System.setProperty("http.proxyPort", "8080");
            System.out.println(kstore.getAbsolutePath());
            List<SFParameter> lst = new ArrayList<SFParameter>();
            SFParameter param = new SFParameter();
            param.setName("");
            param.setValue("");
            lst.add(param);      
            SFParameter[] sfParam = lst.toArray(new SFParameter[lst.size()]);
            Login login = new Login();
            try {
                login.setCredential(credential);
                System.out.println("1");
                login.setParam(sfParam);
                System.out.println("2");
                LoginResponse loginResponse = new  LoginResponse();
                LoginResult loginResult = new LoginResult();
                try {
                     loginResponse = api.login(login);               
                catch (Exception e ) {
                    System.out.println(e.getMessage());
                System.out.println("3");
                try {               
                     loginResult = loginResponse.getResult();
                catch (Exception e ) {
                    System.out.println(e.getMessage());
                System.out.println("4");
                IsValidSession vs = new IsValidSession();                  
                IsValidSessionResponse isValidSessionResponse = api.isValidSession(vs);
                System.out.println("5");
                if (isValidSessionResponse.isResult()) {
                     System.out.println("Session is valid");
                     System.out.println("Result => " + loginResult.getSessionId());
                     System.out.println(breakLine);              
                    Logout logout = new Logout();
                    LogoutResponse logoutResponse = api.logout(logout);
                    if (logoutResponse.isResult()) {
                         System.out.println("Logout of SFAPI Successful");
                    else {
                        System.out.println("Logout of SFAPI Unsuccessful");
                else {
                     System.out.println("Session is invalid");
                    List<Error> errors = new ArrayList<Error>();
                    for (int i = 0; i < loginResult.getError().length;  i++) {
                        errors.add(loginResult.getError()[i]);
                    for (int i = 0; i < errors.size(); i++) {
                         System.out.println("Error Indice   => " + i);
                         System.out.println("Error Code:    => " + errors.get(i).getErrorCode());
                         System.out.println("Error Message: => " + errors.get(i).getErrorMessage());
                         System.out.println(breakLine);                                                          
                    } // end for loop of SFObject errors
                } // end InvalidSession
            catch (Exception e)
                 System.out.println("Session Credential Exception");
                 System.out.println("Exception => " + e.getMessage());
                 System.out.println(breakLine);                   
        catch (Exception e)
            System.out.println("Parameter List Exception");
            System.out.println("Exception => " + e.getMessage());
            System.out.println(breakLine);
        }   // end runProgram
        // Constructor:
        public SFAPITest()  {
        } // end constructor
        public static void main (String args[]) {
            try
                SFAPITest test = new SFAPITest();        
                test.runProgram();
            catch (Exception e) {
                System.out.println("main exception => " + e.getMessage());
    } // SFAPITest
    Here is the output with trace:
    WARNING: Unable to connect to URL: https://api4.successfactors.com:443/sfapi/v1/soap due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
    Session Credential Exception
    Exception => ; nested exception is:
        HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
    +---------------------------------------------------------------------------+
    Process exited with exit code 0.

    The other end is throwing back a programming error.
    That might be because you are sending incorrect data and the other end fails to validate it.
    You might be able to guess based on your C# code.  But, since you are using soap one generic solution is available to you.
    - Get an http proxy interceptor like wireshark.
    - Run it while your C# app runs, collect the http requests from that.
    - Run it while running your java code, collect the http requests from that.
    Compare the two.

  • Getting error: RC-50004 String index out of range when running adclonectx.pl

    Hi,
    I'm trying to clone a RAC database on the same host. I'm using the MOS note:
    Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone ( Doc ID 559518.1  )
    I run the command from Step 5.1.3:
    perl adclonectx.pl ......
    But getting error:
    "RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    ERROR: context creation not completed successfully."
    From the Clone Context logfile:
    PROMPT :
    Number of DATA_TOP's on the Target System [3]
    ANSWER :
    1
    PROMPT :
    Target System DATA_TOP Directory 1
    ANSWER :
    +DATA/prod/datafile
    ASM Path, not Validating: +DATA/prod/datafile
    Creating ../data/stage/addbhomtgt.xml which will contain Target system database mount points.
    StackTrace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 38
             at java.lang.String.substring(String.java:1765)
             at oracle.apps.ad.context.CloneContext.gen_iFile(CloneContext.java:6681)
             at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:1114)
             at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
             at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5260)
    RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    Context file creation not succesful
    And workaround/solution will be much appreciated. Thanks very much.

    FYI, I'm cloning on the same host as target. This is 2 node EBS RAC setup.
    PATH is OLD source for contextfile.xml
    Latest clone patches applied.
    Here is the complete output from the log file...
    [oracle@PPDBS11 bin]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/bin/CloneContext_0908210110.log  
    Using admin directory: /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/bin
    #------Log File time stamp: 0908210110------------
    # $Header: CloneContext.java 120.92.12010000.26 2013/05/06 12:02:01 mmanku ship $
    # Running on          - ppdbs11
    # Source Host         - null
    # Domain Name         - <xxxx.yyyy.zz>
    # Context Location    - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/PREPROD1_ppdbs11.xml
    # Context Type        - null
    # Context Template    - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/template/adxdbctx.tmp
    # Clone Stage Area    - null
    # Pairs File          - /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/pairsfile.txt
    # Destination Context - null
    # Validation          - false
    # Platform Migration  - false
    # no prompt           - false
    Variables extracted from pairsfile: /u01/app/oracle/product/11.2.0/dbhome_1/appsutil/clone/pairsfile.txt
    ****************************************************/n
       s_undo_tablespace  =  APPS_UNDOTS1
       s_dbClusterInst  =  2
       s_db_oh  =  /u01/app/oracle/product/11.2.0/dbhome_1
    ****************************************************   PROMPT :
    Target System Hostname (virtual or normal) [ppdbs11]
    ANSWER :
    ppdbs11   PROMPT :
    It is recommended that your inputs are validated by the program.
    However you might choose not to validate them under following circumstances:           -If cloning a context on source system for a remote system.
             -If cloning a context on a machine where the ports are taken and
              you do not want to shutdown the services at this point.
             -If cloning a context but the database it needs to connect is not available.   Do you want the inputs to be validated (y/n) [n] ?
    ANSWER :
    n   PROMPT :
    Target Instance is RAC (y/n) [y]
    ANSWER :
    y   PROMPT :
    Target System Database Name
    ANSWER :
    PROD   PROMPT :
         Host name [ppdbs11]
    ANSWER :
    ppdbfmisscan   PROMPT :
         Virtual Host name [null]
    ANSWER :
    ppdbs11-vip   PROMPT :
         Instance number [1]
    ANSWER :
    1   PROMPT :
         Private interconnect name [ppdbs11]
    ANSWER :
    ppdbs11-priv   PROMPT :
    Target System Base Directory
    ANSWER :
    /u01/app/oracle   PROMPT :
    Oracle OS User [oracle]
    ANSWER :
    oracle   PROMPT :
    Oracle OS Group [oinstall]
    ANSWER :
    oinstall   PROMPT :
    Target System utl_file_dir Directory List
    ANSWER :
    /usr/tmp/PROD   PROMPT :
    Number of DATA_TOP's on the Target System [3]
    ANSWER :
    1   PROMPT :
    Target System DATA_TOP Directory 1
    ANSWER :
    +DATA/prod/datafile
    ASM Path, not Validating: +DATA/prod/datafile
    Creating ../data/stage/addbhomtgt.xml which will contain Target system database mount points.  
    StackTrace:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 38
             at java.lang.String.substring(String.java:1765)
             at oracle.apps.ad.context.CloneContext.gen_iFile(CloneContext.java:6687)
             at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:1120)
             at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
             at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)   RC-50004: Error occurred in CloneContext:
    String index out of range: 38
    Context file creation not succesful

  • Error Mapping XI:  String index out of range.

    Hi Experts,
    I have a problem with the mapping in XI. The transformation of data is very complex (see below) for field HBKID. I'm not having understanding the process of mapping is performed for the field HBKID. The creation of the transformation was performed using the graphical method for mapping in XI for this case. I think the person who created this data transformation didn't know that could be used USER DEFINED FUNCTION. Could you explain in more detail this MAPPING?
    In the test displays the message: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns1:ZSD000TF01/ZVBAP/item[2]/HBKID.
    The message is: Exception:java.lang.StringIndexOutOfBoundsException: String index out of range: 3]
    Edited by: Rafael Sá on Feb 9, 2010 10:40 PM

    Hi Experts,
    So, I've done several tests on the tab of tests with various XML and I can't understand reason of the error in MAPPING.
    I'll detail a little more the problem:
    The processing of the interface is made by many items.
    MAPPING ERROR:
    When the interface processes a first item with the information below:
    CHAVE_BANCO = EMPTY
    MEIO_PGTO = D
    TP_CARTAO_CREDITO = EMPTY
    AND a second item with the information below:
    CHAVE_BANCO = 314/3705
    MEIO_PGTO = W
    TP_CARTAO_CREDITO = EMPTY
    The error occurs: The message is: Exception:java.lang.StringIndexOutOfBoundsException: String index out of range: 3]
    MAPPING OK:
    But when the processing is performed inversely, the MAPPING is done correctly.
    When the interface processes a first item with the information below:
    CHAVE_BANCO = 314/3705
    MEIO_PGTO = W
    TP_CARTAO_CREDITO = EMPTY
    AND a second item with the information below:
    CHAVE_BANCO = EMPTY
    MEIO_PGTO = D
    TP_CARTAO_CREDITO = EMPTY
    I don't understand logic mapping for the field HBKID.

  • MP Error: StringIndexOutOfBoundsException: String index out of range: -1

    Hi All,
    We are using PI 7.1 EHP1, Where in we would like to see the capabilty of User-Module for Conversion of IDoc Messages Between Flat and XML Formats. Gone thru the blog (/people/sap.user72/blog/2005/07/04/get-into-the-zone - Part 2) and maintained the necessary NWA configurations and maintained the necessary module parameters (SAPRelease, SourceJRA, TargetDestination) in Sender File Adapter.
    Now the file is not been picked by file adapter upon checking the Comm Channel Monitoring below error:
    MP: exception caught with cause java.lang.StringIndexOutOfBoundsException: String index out of range -1
    Any help would be highly appreciated.
    Thanks in advance

    Hi Ramani,
    I hope you must have found a solution on this, if not then kindly consider changing your source files, as this error corresponds to only one thing: i.e. DATA Issue. You need to correct the data which you providing to the module for conversion.
    I faced this problem and corrected it by just correcting my test file.
    Regards,
    Nipun Shedhani

  • Curve 8310 error Unc.Exception: string index out of range: 0

    I'm getting the following error message: "Uncaught Exception: string index out of range: 0" and no way to clear that message.
    Could someone help me to fix it? Actually the only way to get BB-8310 back working is remove the battery.
    Thanks in adavance
    Solved!
    Go to Solution.

    Hi and Welcome to the Community!!
    There's pretty much no diagnosing those -- they are the equivalent of the random errors in Windows for which tracing the root cause is fruitless. Basically, these are the last out in the programming code -- some event occurred for which there is no handler in the code. The fix is a code update that handles the event...but, again, knowing what the event is is pretty much impossible. So, there are a few things to try:
    Sometimes, the code simply becomes corrupt and needs to be refreshed -- just like a reboot:
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    If it won't boot up cleanly, then you may need to try Safe Mode:
    KB17877 How to start a BlackBerry smartphone in safe mode
    There might be an updated code set from the carrier -- check them via this portal:
     http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    The toughest possible cause is a badly behaving app. To find it, there are a couple of options. One is to see if you can read the log file:
    Go to the home screen. Hold down the "alt" key and type 'lglg'. (You will not see anything while you type).This will bring up the log file. Scroll down (probably many pages) untill you see a line that says 'uncaught execption'. Click on this line. The name of the app will be in the info. Alternative methods for bringing up the logs are in this KB:
    KB05349How to enable, access, and extract the event logs on a BlackBerry smartphone
    The other method is to remove apps one at a time, waiting a while in between (I usually recommend a week), until the problem ceases...thereby discovering the offending app. Still another method is to reload the BB OS cleanly, leaving some time between adding other apps onto the BB so as to be able to determine exactly which one is the cause.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Workspace Error executing query: String index out of range: -39

    I am running a Financial Reporting Book.
    When running this book, I am receiving the following error.
    Error executing query: String index out of range: -39
    What does this mean?
    And how do I fix this?
    Thank you,
    Dan

    This is happening to a single Financial Reporting book.
    Oracle suggested changing the Data Query Optimization settings.
    I had checked on Essbase Queries Use MDX on all the reports being called into the book.
    Oracle suggested that I uncheck this box.
    This did not do the trick.
    I ran the reports individually, and they all worked.
    I am stumped.

  • Image Manager : upload image - error message String index out of range

    Hello,
    i'm facing an issue with the upload functionality of 'Image Manager'.
    When i upload a file, systematicaly an error message pops up :
    "error message String index out of range : - XXX"
    Where XXX is a value as large as the size of the file.
    I have the feeling that the problem may come from the installation of VC.
    Did someone encountered this issue ?
    Thank you

    Hi,
    Plz check the below link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do
    Govindu

  • FPM Error: An internal error occured: String index out of range -4

    Hi All,
    I have imported the SSA BP to my EP (7.0), however, when I tried to create a custom FPM view & FPM Application for my custom WD application....the system will just prompt the error message "An internal error occured: String index out of range -4".
    Can anyone advise what could be the problem? and how to resolve it?
    Thanks in advance!
    Best Regards,
    SY

    Hi,
    You are trying to call the index of the String whose length is 4., but in the code you may have called from 1 to 4.. which should be 0 to 3.
    If you can show the stack trace of the exception, we can pinpoint the code / line.
    Just check the WD code..!!
    Thanks,
    Raags

  • ERROR: String index out of range -1

    When I submit a form, CF throws an error:
    String index out of range: -1
    (Line 2)
    2 : <cfinsert datasource="Logbook" dbtype="odbc"
    tablename="Flights" formfields="*">
    3 : <cflocation url="index.cfm">
    Im not sure what the problem is. I checked the database to
    see if it was the content type, and everything checked out to be
    ok, I also checked the NAME attributes on the HTML on the origonal
    form. They all match. Please help.
    --Stephen

    I never use cfinsert, but formfields = "*" doesn't look
    right.

  • PI 7.31 (single stack) posting to RFC configuration gives this error: om.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: String index out of range: 0 (raised by system extern ...

    Getting cryptic error while trying to post to a custom RFC from PI 7.31 single stack.
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: String index out of range: 0 (raised by system <extern>|pidevhost)
    Does anyone recognize this error and/or know of detailed instructions for registering custom RFCs in PI 7.31. I could possibly have configured the target wrong but no error says so.
    This is a File-->PI-->RFC scenario. The file processing is super simple and a configuration I have used successfully before. I would assume I'd get a different error if it couldn't parse the file.
    Jody

    Not shure if you already did but try getting some details with XPI Inspector. Also increasing log level for this category might help. You also may wanna check authorization (even if this should show with a different error text) in ECC using ST01.
    My guts feeling is that there is something wrong with payload / signature of RFC.
    Cheers
    Jens

  • What does error message on opening project in iPlanet Application Builder indicate? "String index out of range:-1"

    Hello,
    After creating a project I am inserting existing jsp files into the project. When I try to reopen the project in iab I get this message. "Unable to load file c:\.....\projectname.iab. String index out of range: -1". Has anyone encountered this problem? OS is Windows 2000, iaBuilder 6 sp1.

    Hello,
    After creating a project I am inserting existing jsp files into the project. When I try to reopen the project in iab I get this message. "Unable to load file c:\.....\projectname.iab. String index out of range: -1". Has anyone encountered this problem? OS is Windows 2000, iaBuilder 6 sp1.

Maybe you are looking for

  • Double Click on Magic Mouse No Longer Works after 10.9.1 Mavericks Upgrade

    I just recently updated to Mavericks 10.9.1 and once the computer restarted, I noticed that double-click on my Magic Mouse no longer worked.  I searched the forum and couldn't find anyone experiencing this.  I also went into System Preferences --> Mo

  • What is JAAS ? Where can i get any information on it ?

    Hi , Can somebody tell me what is JAAS ?.....Where can i get something to read on it ...?????? Thanks Rajesh Nanda

  • Payment order to pick lineitems due on future date then run date

    When we use payment order option for any payment method defined it means that :Where a payment order is to be carried out at some time in the future, the line items are not cleared very much earlier than the date on which the payment is made. However

  • Yet another LE 8/LP 8 comparison questions

    Good morning ! When I learned about Logic 8 this morning, I've browsed all the posts in this forum to learn about what differs between LE 8 and Logic Studio, to see which one best suits my needs. I still didn't see a clear answer to my interrogation,

  • DR server in stanby mode

    Hi, We have one DR server. And we want to test the DR server. Log shipment happens manually its not automatic. Sys info. OS : HP UX Oracle 9.0.2.6 archive logs applied till 03-05-2010. copied all the files from primary servers ( /oracle/P11/920_64/db