File adapter - Unexpected exception running file2xmbprocessor

Hallo,
I've a fileadapter running and a couple of time the adapter is running fine.
After a while I get the following exception:
<i>Unexpected exception running file2xmbprocessor
java.util.NoSuchElementException
at java.util.TreeMap$EntryIterator.nextEntry(TreeMap.java:1024)
at java.util.TreeMap$KeyIterator.next(TreeMap.java:1051)
at com.sap.aii.messaging.adapter.File2XMBProcessor.processFileAccess(ModuleFile2XMB.java:1383)
at com.sap.aii.messaging.adapter.File2XMBProcessor.run(ModuleFile2XMB.java:872)
at java.lang.Thread.run(Thread.java:534)
File adapter processing stopped</i>
I have no idea whats wrong.
Any idea
Thanks harald

Hi Prasad,
sorry - but I can't understand what you mean.
The file-adapter I'm talking about runs on a fileserver. This adapter read the files and send them to the XI-System where a java-mapping is running.
Therefore I can't believe that the problem is the mapping.
The way I see it is that the error must be in a part of the file-read-process because the exception says
<b><u>[fileprocessor]</u> Error: Unexpected exception running file2xmbprocessor
java.util.NoSuchElementException
at java.util.TreeMap$EntryIterator.nextEntry </b>
Could you please explain what you mean.
Thanks and best regards
Harald

Similar Messages

  • Mail or File Adapter are not running without SLD

    Hi,
    is it correct, that all adapters on java stack are not running while where is no connection to SLD? (Idoc and http are working because they run in abap stack)
    We have just one SLD (no replicated SLD) for our PI 7.0 and we can see, that mail or file adapter are getting errors if the sld instance is down.
    What can we do to avoid this behaviour because the admins wanna patch the SolMan and the SLD is running there.
    Is it possible to run the integration engine without SLD?
    Thanx a lot
    Wolfgang

    We have just one SLD (no replicated SLD) for our PI 7.0 and we can see, that mail or file adapter are getting errors if the sld instance is down.
    SLD lookups are made at various levels of message excution. When message pass from Adapter Engine to Inetgration Engine, SLD lookups helps in identifying the correct address of IE. Therefore it will always affect the java (AE) based adapters.
    What can we do to avoid this behaviour because the admins wanna patch the SolMan and the SLD is running there.
    Its better not to try avoiding this standard behavior.
    For your patching requirement, you must perform it when the message traffic is low e.g. during weekends. Usually everywhere such patching and upgrade are done on weekends as the downtime is acceptable in that duration.
    Regards,
    Prateek

  • Syn read file adapter throwing exception when file is not present directory

    Hi Team,
    Requirment is to check for a file is present in a soa directory .If present delete the existing and write a new one.
    Syn read file adapter is throwing errors when file is not present in the directory soa local.
    Any paramter we can add to skip this exception.
    any help is appreciated.
    Thanks all
    Swetha H.

    Hi:
    An alternative is that , before u try to read it, u make a list directory, and search for ur file, if it is not in the list, then u don't read; otherwise, u do.
    The list operation is part of the file adapter.
    hope this helps
    best

  • File Adapter - Exception / Error handling

    We are using File Adapter in BPEL process to read multiple records from the file. Additionally, we have also handled rejectedMessageHandlers & fatalErrorFailoverProcess exception to lunch custom BPEL process. The process is running fine and also successfully launches custom handler processes too.
    Need help / direction in addressing following issues.
    1. While reading from file, if a records errors out, the custom BPEL process is launched (as specified in rejectedMessageHandlers property). In such instance, the previously read valid records are processed but remaining records are marked as errored out. Our requirement is to make entire record set as invalid and would like to perform rollback of entire process.
    2. Whenever an error occurs during reading the records using File adapter, the associated data file is being deleted from the input directory and also NOT available in archive directory also.
    Are we missing any set up ? We are on 10.1.3.1
    thanks
    -Yj
    Sample Log file:
    <2009-04-20 11:46:14,080> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::init - Initializing the JCA activation agent, processId='bpel://localhost/default/TestFileRead~1.0/
    <2009-04-20 11:46:14,080> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
    process='bpel://localhost/default/TestFileRead~1.0/'
    domain='default'
    WSDL location='Read.wsdl'
    portType='Read_ptt'
    operation='Read'
    activation properties={portType=Read_ptt, rejectedMessageHandlers=bpel://default|AdapterError2|initiate|payload}
    <2009-04-20 11:46:14,096> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - endpointActivation for portType=Read_ptt, operation=Read
    <2009-04-20 11:46:14,143> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Endpoint Activation called in File Adapter for endpoint: c:\temp\yj
    <2009-04-20 11:46:14,143> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - successfully completed endpointActivation for portType=Read_ptt, operation=Read
    <2009-04-20 11:46:30,580> <WARN> <default.collaxa.cube.activation> <File Adapter::Inbound> PollWork::run exiting, Worker thread will die
    <2009-04-20 11:47:14,158> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Translated inbound batch index 1 of file {testdata6.txt} with corrupted message count = 1
    <2009-04-20 11:47:14,158> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Sending message to Adapter Framework for rejection to user-configured rejection handlers : {
    fileName=C:\temp\yj\testdata6.txt, startLine=3, startColumn=1, endLine=-1, endCol=-1, Exception=ORABPEL-11168
    Error while reading native data.
    [Line=3, Col=5] Expected "|" for the data starting at the specified position, while trying to read the data for "element with name C2", using "style" as "terminated" and "terminatedBy" as "|", but not found.
    Ensure that "|", exists for the data starting at the specified position.
    <2009-04-20 11:47:14,158> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(Root-Element)]onReject: Sending invalid inbound message to Exception Handler: bpel://default|AdapterError2|initiate|payload
    <2009-04-20 11:47:14,315> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Setting last error record to : -1
    <2009-04-20 11:47:14,658> <ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound> onBatchFailure: Batch 'bpel://localhost/default/TestFileRead~1.0//testdata6.txt_1240205493408' (C:\temp\yj\testdata6.txt) has failed due to: ORABPEL-11168
    Error while reading native data.
    [Line=3, Col=5] Expected "|" for the data starting at the specified position, while trying to read the data for "element with name C2", using "style" as "terminated" and "terminatedBy" as "|", but not found.
    Ensure that "|", exists for the data starting at the specified position.

    Any light / idea on the following issue ?
    1. While reading from file, if a records errors out, the custom BPEL process is launched (as specified in rejectedMessageHandlers property). In such instance, the previously read valid records are processed but remaining records are marked as errored out. Our requirement is to make entire record set as invalid and would like to perform rollback of entire process. Even, if we do not configure rejectedMessageHandlers, the behavior is that valid rows are processed with the rest of BPEL process and for Invalid rows, the records are rejected. Our requirement, is that, even if there is one invalid record, the entire set of record should NOT move ahead with the BPEL process
    2. Whenever an error occurs during reading the records using File adapter, the associated data file is being deleted from the input directory and also NOT available in archive directory also. Note, in case of all valid record the file is available in archive directory

  • File Adapter not writing file when processed from one node in a clustered environment

    In our environment, we have 4 server nodes running. We are using a file adapter to write file to a location in the server. the adapter is writing files when its processing data in all nodes except one.
    Below is the JCA File
    <connection-factory location="eis/FileAdapter" adapterRef=""/>
    <endpoint-interaction portType="Write_ptt" operation="Write">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
    <property name="PhysicalDirectory" value="/data/prd"/>
    <property name="FileNamingConvention" value="Sample.dat"/>
    <property name="Append" value="true"/>
    </interaction-spec>
    </endpoint-interaction>
    the File Adapter health is running OK. What would be the potential cause

    In our environment, we have 4 server nodes running. We are using a file adapter to write file to a location in the server. the adapter is writing files when its processing data in all nodes except one.
    Below is the JCA File
    <connection-factory location="eis/FileAdapter" adapterRef=""/>
    <endpoint-interaction portType="Write_ptt" operation="Write">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
    <property name="PhysicalDirectory" value="/data/prd"/>
    <property name="FileNamingConvention" value="Sample.dat"/>
    <property name="Append" value="true"/>
    </interaction-spec>
    </endpoint-interaction>
    the File Adapter health is running OK. What would be the potential cause

  • XI 2.0 File Adapter with XI3.0

    I am send a file from my pc to XI3.0,using an XI2.0 file adapter on my pc.
    My problem is that I cannot get it to correctly generate the name spaces
    <ns1:SALES_ORDER xmls:ns1="http://SALES_NS">
    instead it generates:
    <ns1:SALES_ORDER xmls="http://SALES_NS">
    Am I missing a paramter in my file adapter properties file?
    Thanks
    Patrick

    Hello,
       We are also having similar type of problems. In our installation the log is at/usr/sap/<INSTANCE>/DVEBMGS00/j2ee/cluster/server0/log/services/com.sap.aii.adapter.file.svc
    In the log file, I see
    2004:11:11 10:12:12 : File Adapter Administration Intialized
    No file adapter configured
    Not sure why it says that no adapter is configured even though we have couple File adapters configured with Adapter status active and all the objects have been activated.
    I would really appreciate if anyone can point out, if I am missing something that I am supposed do to other than J2EE File adapter service being run and Activating a Fileadapter in the Integration Directory.
    Thanks

  • XI 3 : J2EE File Adapter Trouble

    Hi,
    I have implemented a scenario file -> XI -> file.
    I use XI 3.0 Stack 09.
    I have created my scenario in IR and ID (Communciation channel...) and nothing append.
    I go in the adapter monitor and the only thing i can see is the status of the JPR.
    I should see the status of the File Adapter No ?
    Regards,
    Vincent.

    Hello,
       We are also having similar type of problems. In our installation the log is at/usr/sap/<INSTANCE>/DVEBMGS00/j2ee/cluster/server0/log/services/com.sap.aii.adapter.file.svc
    In the log file, I see
    2004:11:11 10:12:12 : File Adapter Administration Intialized
    No file adapter configured
    Not sure why it says that no adapter is configured even though we have couple File adapters configured with Adapter status active and all the objects have been activated.
    I would really appreciate if anyone can point out, if I am missing something that I am supposed do to other than J2EE File adapter service being run and Activating a Fileadapter in the Integration Directory.
    Thanks

  • How to configure File Adapter along with OS command option

    Hello,
    I want to configure a scenario using File Adapter with OS command option.
    How to use that option in channel configuration of File Adapter.
    What is the default path where it is actually runs this OS command?
    Thanks,
    Soorya

    >
    surya venkat wrote:
    > Hello,
    > I want to configure a scenario using File Adapter with OS command option.
    > How to use that option in channel configuration of File Adapter.
    There are two ways to use the Os command in the file adapter.
    Lets talk about the sender File Adapter.
    First: Run operative system Before Message Processing
    Whenever any operation needs to be performed uppon the source file Just before XI picks it up.
    e.g. Calculate any hash code, backup the file to a given location, create a log at os level, etc...
    ... After Message Processing
    After Xi has processed the message, you can trigger a new os level command:
    e.g. Trigger a mail, check if the archiving was successful, etc.
    > What is the default path where it is actually runs this OS command?
    >
    Theres no default path, you assign the desired path in the Comm Channel configuration.
    > Thanks,
    > Soorya
    I hope it helps.

  • File Read and Write using File Adapter in Bpel

    In Bpel Process i am using File Adapter ( Schema is Opaque) for read and write the file contents. i am able do successful deployment and read, write function in first time deployment, after that again i tired to run the application, its not going to write the content of file, its only writing the file with out data's or content in that file.
    Please help me...
    Saravanan

    Hi Eric
    In my domain.log file having the following details. In this file im unable to find out what the exact problem. Please look at this and help me.
    <2008-01-22 18:25:42,024> <INFO> <default.collaxa.cube.compiler> validating "C:\product\10.1.3.1\OracleAS_1\bpel\domains\default\tmp\.bpel_BPELProcess2_1.1_298e83988d77b6640c33dfeec11ed31b.tmp\BPELProcess2.bpel" ...
    <2008-01-22 18:25:49,850> <INFO> <default.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
    Process "BPELProcess2" (revision "1.1") successfully compiled.
    <2008-01-22 18:25:49,914> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Loading JCAActivationAgent for {portType=Read_ptt}
    <2008-01-22 18:25:49,914> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::load - Locating Adapter Framework instance: OraBPEL
    <2008-01-22 18:25:49,930> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::load - Done loading JCAActivationAgent for processId='bpel://localhost/default/BPELProcess2~1.1/
    <2008-01-22 18:25:49,930> <INFO> <default.collaxa.cube.engine.deployment> Process "BPELProcess2" (revision "1.1") successfully loaded.
    <2008-01-22 18:26:02,698> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::uninit Shutting down the JCA activation agent, processId='bpel://localhost/default/BPELProcess2~1.0/', activation properties={portType=Read_ptt}
    <2008-01-22 18:26:02,698> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - performing endpointDeactivation for portType=Read_ptt, operation=Read
    <2008-01-22 18:26:02,698> <INFO> <default.collaxa.cube.ws> <File Adapter::Outbound> Endpoint De-activation called in adapter for endpoint : D:\MAXIMUS_Project_Softwares\jdevstudiobase10132\jdev\mywork\MyLabs\BPELProcess2\in
    <2008-01-22 18:26:02,698> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::init - Initializing the JCA activation agent, processId='bpel://localhost/default/BPELProcess2~1.1/
    <2008-01-22 18:26:02,698> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
    process='bpel://localhost/default/BPELProcess2~1.1/'
    domain='default'
    WSDL location='rd.wsdl'
    portType='Read_ptt'
    operation='Read'
    activation properties={portType=Read_ptt}
    <2008-01-22 18:26:02,698> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - endpointActivation for portType=Read_ptt, operation=Read
    <2008-01-22 18:26:02,730> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Endpoint Activation called in File Adapter for endpoint: D:\MAXIMUS_Project_Softwares\jdevstudiobase10132\jdev\mywork\MyLabs\BPELProcess2\in
    <2008-01-22 18:26:02,730> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - successfully completed endpointActivation for portType=Read_ptt, operation=Read
    <2008-01-22 18:26:02,890> <WARN> <default.collaxa.cube.activation> <File Adapter::Inbound> PollWork::run exiting, Worker thread will die
    <2008-01-22 18:26:04,171> <INFO> <default.collaxa.cube.ws> <File Adapter::Outbound> Managed Connection Created
    <2008-01-22 18:26:04,171> <INFO> <default.collaxa.cube.ws> <File Adapter::Outbound> Connection Created
    <2008-01-22 18:26:04,171> <INFO> <default.collaxa.cube.ws> <File Adapter::Outbound> FileInteraction Created

  • SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842

    I am trying to configure SAM with Policy Agent 2.2 for Weblogic Portal 9.2.
    I have configured an agent for a portal domain and able to get the Login page of SAM. But as soon as i provide the credintials it is giving be accessdenied page.
    and i am able to find this error in the log file :
    SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842
    Pls. someone let me know the probable error.

    I am trying to configure SAM with Policy Agent 2.2 for Weblogic Portal 9.2.
    I have configured an agent for a portal domain and able to get the Login page of SAM. But as soon as i provide the credintials it is giving be accessdenied page.
    and i am able to find this error in the log file :
    SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842
    Pls. someone let me know the probable error.

  • Java exception appear during file adapter to handle large xml

    Hi,Guys,
    I am using file adapter to poll one folder of my local.one get input.xml,then do something,then write out output.xml.
    input.xml format is :
    <mes:DataRequestIns xmlns:mes="http://xml.netbeans.org/schema/MessageDefined">
    <!--1 or more repetitions:-->
         <mes:DataIns>
              <mes:address>Ang Mo Kio 5,63 street</mes:address>
              <mes:birthday>14/12/1970</mes:birthday>
              <mes:firstName>Sing1</mes:firstName>
              <mes:gender>0</mes:gender>
              <mes:ID>1001</mes:ID>
              <mes:lastName>NorthMan</mes:lastName>
              <mes:postcode>2002</mes:postcode>
              <mes:telephone>6665222</mes:telephone>
              <mes:surname>Sur</mes:surname>
              <mes:status>single</mes:status>
              <mes:location>sgp</mes:location>
              <mes:HP1>11111</mes:HP1>
              <mes:HP2>22222</mes:HP2>
              <mes:passport>123456878</mes:passport>
              <mes:company>ST</mes:company>
              <mes:department>TO</mes:department>
              <mes:occupation>engineer</mes:occupation>
              <mes:experience>10</mes:experience>
              <mes:level>2</mes:level>
              <mes:certificate>high</mes:certificate>
              <mes:specialisation>computer</mes:specialisation>
              <mes:staffNumber>1020</mes:staffNumber>
              <mes:fax>00200</mes:fax>
              <mes:email>[email protected]</mes:email>
              <mes:national1>sgp</mes:national1>
              <mes:national2>sgp</mes:national2>
              <mes:interestingField>bpel</mes:interestingField>
              <mes:national>earth</mes:national>
              <mes:oversea>yes</mes:oversea>
         </mes:DataIns>
    <mes:DataIns>
    </mes:DataIns>
    </mes:DataRequestIns>
    if my input.xml contain less than 1000 records,then it's working,once greater than 1000,then appear exception.for normal case ,must have more than 10000 records need to handle,and file size is 11.2MB.
    so,Does any other way or how to use file adapter to handle it ?
    thank you
    exception :
    SEVERE: An error occured while scanning for the next trigger to fire.
    org.quartz.JobPersistenceException: Failed to obtain DB connection from data sou
    rce 'soaNonManagedDS': java.sql.SQLException: Could not retrieve datasource via
    JNDI url 'jdbc/SOALocalTxDataSource' weblogic.jdbc.extensions.ConnectionDeadSQLE
    xception: weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.
    ResourceException: Could not create pool connection. The DBMS driver exception w
    *as: Socket read timed out [See nested exception: java.sql.SQLException: Could no*
    *t retrieve datasource via JNDI url 'jdbc/SOALocalTxDataSource' weblogic.jdbc.ext*
    *ensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadExc*
    *eption: 0:weblogic.common.ResourceException: Could not create pool connection. T*
    *he DBMS driver exception was: Socket read timed out]*
    at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(Jo
    bStoreCMT.java:167)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLoc
    k(JobStoreSupport.java:3652)
    at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobSt
    oreSupport.java:2654)
    at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:
    *235)*
    Caused by: java.sql.SQLException: Could not retrieve datasource via JNDI url 'jd
    bc/SOALocalTxDataSource' weblogic.jdbc.extensions.ConnectionDeadSQLException: we
    blogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceExce
    ption: Could not create pool connection. The DBMS driver exception was: Socket r
    ead timed out
    another exception:
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.invoke.InvokeInstanceMessage"; the reported exception is: Transaction Ro
    lledback.: weblogic.transaction.internal.TimedOutException: Transaction timed ou
    t after 302 seconds
    BEA1-3468FC5E3C698D2A82F7
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTran
    sactionImpl.java:1742)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTim
    edOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(Transacti
    onManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(Ser
    verTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    *; nested exception is: weblogic.transaction.internal.TimedOutException: Transact*
    ion timed out after 302 seconds
    BEA1-3468FC5E3C698D2A82F7
    This error contained an exception thrown by the message handler.
    Edited by: aris yu on Dec 27, 2009 11:55 PM

    Hi,
    we have to explicitly mention batch while configuaring file adapter.
    i.e. in step 5 : Check file contains multiple messages and mention how many messages u want to process in a batch.
    i.e. if you have 10000 msgs in ur file mention the size as 500. Then it will read 10000 records in 20 batches.
    Now while writing to a file use Append=true property.
    U have to add this property to fileadapter.wsdl (in jca:operation tag) which will be created when u complete the configuaration of file adapter with write operation.
    Regards
    PavanKumar.M

  • An unexpected exception occurred in the script.script section:run.caused by

    here I have created a script My Function and I wrote My Functions within a function InputData.
    I also created another script saidkamel it called a method IinputData in MyFonction script.
    here is the script code on the My Function script :
    import oracle.oats.scripting.modules.basic.api.*;
    import oracle.oats.scripting.modules.browser.api.*;
    import oracle.oats.scripting.modules.functionalTest.api.*;
    import oracle.oats.scripting.modules.utilities.api.*;
    import oracle.oats.scripting.modules.utilities.api.sql.*;
    import oracle.oats.scripting.modules.utilities.api.xml.*;
    import oracle.oats.scripting.modules.utilities.api.file.*;
    import oracle.oats.scripting.modules.webdom.api.*;
    public class script extends IteratingVUserScript {
         @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
         @ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
         @ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
         @ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
         public void initialize() throws Exception {
         * Add code to be executed each iteration for this virtual user.
         public void run() throws Exception {
         * @param vObjPath
         * @param vValue
         public boolean InputData(@Arg("vObjPath")
         String vObjPath, @Arg("vValue")
         String vValue) throws Exception {
              web.textBox(vObjPath).setText(vValue);
              return true;
         public void finish() throws Exception {
    code of Said Kamel script who uses the method InputData is:
    import oracle.oats.scripting.modules.basic.api.*;
    import oracle.oats.scripting.modules.browser.api.*;
    import oracle.oats.scripting.modules.functionalTest.api.*;
    import oracle.oats.scripting.modules.utilities.api.*;
    import oracle.oats.scripting.modules.utilities.api.sql.*;
    import oracle.oats.scripting.modules.utilities.api.xml.*;
    import oracle.oats.scripting.modules.utilities.api.file.*;
    import oracle.oats.scripting.modules.webdom.api.*;
    public class script extends IteratingVUserScript {
         @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
         @ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
         @ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
         @ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
         public void initialize() throws Exception {
              browser.launch();
         * Add code to be executed each iteration for this virtual user.
         public void run() throws Exception {
              getDatabank("Converted_CreateQuote_DF").getNextDatabankRecord();
              beginStep(" No Title", 0);
                   getScript("My Functions").callFunction("Default","Default","SystemComponents","InputData","/web:window[@index='0'or @title='Rentacar Connexion']/web:document[@name='Login' or index='0']/web:input_text[@name='login_user_id' or @index='0']",{{Db.Converted_CreateQuote_DF.login_user_id}}" );
                   web
                   .textBox(
                   "{{obj.OR.txtUserID}}")
                   .setText("{{Db.Converted_CreateQuote_DF.login_user_id}}");
              endStep();
         public void finish() throws Exception {
         here is the error message that appears:
    An unexpected exception Occurred In The script.script Section: run.caused by: NullPointerException Occurred
    look at the code if it is fair and more how to solve the problem of the error that gives me!
    thankssssssssssssssssss

    Hello Bala
    What is your Java version? JInitiator or Sun?
    When exactly does this error occur?
    What is your OATS version?
    Have you ran a Diagnose Tool (Help Menu in OpenScript)?
    Thx
    JB

  • Getting Error while running a file adapter.

    Hi all,
    I am doing a small application where I need to read an image from a shared path and send the base64code of that image in response. For that I am using File Adapter and Read
    operation. I have just hard coded the image name didnt give any wild card or expressions. I generated a service which is a proxy using the jca of that File Adapter. I added a stage
    replacing the response body with the opaque element of the request body. When I run the proxy I am getting something like *"The invocation resulted in an error: "* in response
    and in the stack trace I am getting *"Failed to set the value of context variable "body". Value must be an instance of {http://schemas.xmlsoap.org/soap/envelope/}Body."* as the fault
    reason I am unable to detect where exactly I am going wrong. Kindly help me in resolving this.
    Thanks,
    Phanindra.

    Not sure why you want to replace. Since the response of the proxy would remain to hold the request body by default.
    If you have stored the opaque element in a variable ($var_opaque), then you can do the following.
    XPath : .
    In variable : body
    Expression : $var_opaque
    Check - "Replace node content"

  • File Adapter - WinXP at compile time, Unix at run time

    Regarding File Adapter - WinXP at compile time, Unix at run time
    I want to specify polling of a directory using Unix type directory notation but this doesn't compile under windows. (I'll read up re. logical directories)
    Has anyone done polling of a unix directory using BPEL (but compiled this under windows JDeveloper)?
    thanks,
    Allan

    Using a logical directory should help you with this problem.

  • Exception handling In File Adapter

    My requirement is that i am reading a file using file adapter but the file is not in correct format so it is not reading that file and even not making any bpel instance.
    so i need to add exception handling that show me the above error(file read failure).
    we have log file in that it is showing this error but i need to show that error on BPEL console.
    Please help how to proceed with this.
    Thanks
    Vivek Garg

    I am able to call another bpel when error occured in file reading Bpel.
    the second Bpel will handle the error and shows the error. but addition to that i need BPEL process name which fails(File Read BPEL) and call second BPEL.
    Thanks
    Vivek Garg

Maybe you are looking for

  • Quantity unit ROLE

    Hello, in previous weeks I posted a message () where I mentioned that I have a problem with the quantity unit ROLE. It doesn´t seem to be a programming error nor a parametrization in customizing. In order to find out whether it´s local (in this compa

  • Finder will not let me select multiple photos.

    I am trying to move a group of photos into a folder.  I know the usual protocal is to click on the picture then scroll to the last photo, hold shift, and click on the that photo.  Unfortunatly, I am only getting the two photos clicked of in the group

  • Changing from non-ssl to ssl communication in OAM

    I have installed the Identity server and webpass on linux, I initially set them up for non ssl communication between them and the configuration/policy store & the user store. Now I must change that to use SSL. I have not configured them yet. how woul

  • I need to generate barcodes using Illustrator software. How can I do this?

    I need to generate barcodes using Illustrator software. How can I do this?

  • Create a bank

    Hi to all,     Did anyone have to create a bank? We already have the route and transit number?  so then we can set up this bank in infotype 0009 to make the payroll direct deposit to the employees    Any suggestion is greately appreciated! Thanks and