StringIndexOutofBounds Exception while doing FTP operation

Hello, I got this exception at run time when I am doing my FTP operations
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:455)
at FTPConnection.getFullServerReply(FTPConnection.java:312)
at FTPConnection.getServerReply(FTPConnection.java:296)
at FTPConnection.executeCommand(FTPConnection.java:329)
at FTPConnection.login(FTPConnection.java:107)
at JEditor$FTPUpload.checkTF(JEditor.java:2755)
at JEditor$FTPUpload.actionPerformed(JEditor.java:2783)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
67)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5021)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1380)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
at java.awt.Container.dispatchEventImpl(Container.java:1423)
at java.awt.Window.dispatchEventImpl(Window.java:1566)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
The file that I used for my FTP is
* File: FTPConnection.java
* Author: Bret Taylor <[email protected]>
* $Id$
* Parts of this code were adopted from a variety of other FTP classes the
* author has encountered that he was not completely satisfied with. If you
* think more thanks are due to any particular author than is given, please
* let him know. With that caveat, this class can be freely distributed and
* modified as long as Bret Taylor is given credit in the source code comments.
import java.io.*;
import java.net.*;
import java.util.*;
* <p>A wrapper for the network and command protocols needed for the most common
* FTP commands. Standard usage looks something like this:</p>
* <pre> FTPConnection connection = new FTPConnection();
* try {
* if (connection.connect(host)) {
* if (connection.login(username, password)) {
* connection.downloadFile(serverFileName);
* connection.uploadFile(localFileName);
* connection.disconnect();
* } catch (UnknownHostException e) {
* // handle unknown host
* } catch (IOException e) {
* // handle I/O exception
* }</pre>
* <p>Most FTP commands are wrapped by easy-to-use methods, but in case clients
* need more flexibility, you can execute commands directly using the methods
* executeCommand and
* executeDataCommand,
* the latter of which is used for commands that require an open data port.</p>
* @author Bret Taylor
* @version 1.0
public class FTPConnection extends Object {
     * If this flag is on, we print out debugging information to stdout during
     * execution. Useful for debugging the FTP class and seeing the server's
     * responses directly.
     private static boolean PRINT_DEBUG_INFO = false;
     * Connects to the given FTP host on port 21, the default FTP port.
     public boolean connect(String host)
          throws UnknownHostException, IOException
          return connect(host, 21);
     * Connects to the given FTP host on the given port.
     public boolean connect(String host, int port)
          throws UnknownHostException, IOException
          connectionSocket = new Socket(host, port);
          outputStream = new PrintStream(connectionSocket.getOutputStream());
          inputStream = new BufferedReader(new InputStreamReader(connectionSocket.getInputStream()));
          if (!isPositiveCompleteResponse(getServerReply())){
               disconnect();
               return false;
          return true;
     * Disconnects from the host to which we are currently connected.
     public void disconnect()
          if (outputStream != null) {
               try {
                    outputStream.close();
                    inputStream.close();
                    connectionSocket.close();
               } catch (IOException e) {}
               outputStream = null;
               inputStream = null;
               connectionSocket = null;
     * Wrapper for the commands <code>user [username]</code> and <code>pass
     * [password]</code>.
     public boolean login(String username, String password)
          throws IOException
          int response = executeCommand("user " + username);
          if (!isPositiveIntermediateResponse(response)) return false;
          response = executeCommand("pass " + password);
          return isPositiveCompleteResponse(response);
     * Wrapper for the command <code>cwd [directory]</code>.
     public boolean changeDirectory(String directory)
          throws IOException
          int response = executeCommand("cwd " + directory);
          return isPositiveCompleteResponse(response);
     * Wrapper for the commands <code>rnfr [oldName]</code> and <code>rnto
     * [newName]</code>.
     public boolean renameFile(String oldName, String newName)
          throws IOException
          int response = executeCommand("rnfr " + oldName);
          if (!isPositiveIntermediateResponse(response)) return false;
          response = executeCommand("rnto " + newName);
          return isPositiveCompleteResponse(response);
     * Wrapper for the command <code>mkd [directory]</code>.
     public boolean makeDirectory(String directory)
          throws IOException
          int response = executeCommand("mkd " + directory);
          return isPositiveCompleteResponse(response);
     * Wrapper for the command <code>rmd [directory]</code>.
     public boolean removeDirectory(String directory)
          throws IOException
          int response = executeCommand("rmd " + directory);
          return isPositiveCompleteResponse(response);
     * Wrapper for the command <code>cdup</code>.
     public boolean parentDirectory()
          throws IOException
          int response = executeCommand("cdup");
          return isPositiveCompleteResponse(response);
     * Wrapper for the command <code>dele [fileName]</code>.
     public boolean deleteFile(String fileName)
          throws IOException
          int response = executeCommand("dele " + fileName);
          return isPositiveCompleteResponse(response);
     * Wrapper for the command <code>pwd</code>.
     public String getCurrentDirectory()
          throws IOException
          String response = getExecutionResponse("pwd");
          StringTokenizer strtok = new StringTokenizer(response);
          // Get rid of the first token, which is the return code
          if (strtok.countTokens() < 2) return null;
          strtok.nextToken();
          String directoryName = strtok.nextToken();
          // Most servers surround the directory name with quotation marks
          int strlen = directoryName.length();
          if (strlen == 0) return null;
          if (directoryName.charAt(0) == '\"') {
               directoryName = directoryName.substring(1);
               strlen--;
          if (directoryName.charAt(strlen - 1) == '\"')
               return directoryName.substring(0, strlen - 1);
          return directoryName;
     * Wrapper for the command <code>syst</code>.
     public String getSystemType()
          throws IOException
          return excludeCode(getExecutionResponse("syst"));
     * Wrapper for the command <code>mdtm [fileName]</code>. If the file does
     * not exist, we return -1;
     public long getModificationTime(String fileName)
          throws IOException
          String response = excludeCode(getExecutionResponse("mdtm " + fileName));
          try {
               return Long.parseLong(response);
          } catch (Exception e) {
               return -1L;
     * Wrapper for the command <code>size [fileName]</code>. If the file does
     * not exist, we return -1;
     public long getFileSize(String fileName)
          throws IOException
          String response = excludeCode(getExecutionResponse("size " + fileName));
          try {
               return Long.parseLong(response);
          } catch (Exception e) {
               return -1L;
     * Wrapper for the command <code>retr [fileName]</code>.
     public boolean downloadFile(String fileName)
          throws IOException
          return readDataToFile("retr " + fileName, fileName);
     * Wrapper for the command <code>retr [serverPath]</code>. The local file
     * path to which we will write is given by <code>localPath</code>.
     public boolean downloadFile(String serverPath, String localPath)
          throws IOException
          return readDataToFile("retr " + serverPath, localPath);
     * Wrapper for the command <code>stor [fileName]</code>.
     public boolean uploadFile(String fileName)
          throws IOException
          return writeDataFromFile("stor " + fileName, fileName);
     * Wrapper for the command <code>stor [localPath]</code>. The server file
     * path to which we will write is given by <code>serverPath</code>.
     public boolean uploadFile(String serverPath, String localPath)
          throws IOException
          return writeDataFromFile("stor " + serverPath, localPath);
     * Set the restart point for the next download or upload operation. This
     * lets clients resume interrupted uploads or downloads.
     public void setRestartPoint(int point)
          restartPoint = point;
          debugPrint("Restart noted");
     * Gets server reply code from the control port after an ftp command has
     * been executed. It knows the last line of the response because it begins
     * with a 3 digit number and a space, (a dash instead of a space would be a
     * continuation).
     private int getServerReply()
          throws IOException
          return Integer.parseInt(getFullServerReply().substring(0, 3));
     * Gets server reply string from the control port after an ftp command has
     * been executed. This consists only of the last line of the response,
     * and only the part after the response code.
     private String getFullServerReply()
          throws IOException
          String reply;
          do {
               reply = inputStream.readLine();
               debugPrint(reply);
          } while(!(Character.isDigit(reply.charAt(0)) &&
                    Character.isDigit(reply.charAt(1)) &&
          Character.isDigit(reply.charAt(2)) &&
                    reply.charAt(3) == ' '));
          return reply;
     * Executes the given FTP command on our current connection, returning the
     * three digit response code from the server. This method only works for
     * commands that do not require an additional data port.
     public int executeCommand(String command)
          throws IOException
          outputStream.println(command);
          return getServerReply();
     * Executes the given FTP command on our current connection, returning the
     * last line of the server's response. Useful for commands that return
     * one line of information.
     public String getExecutionResponse(String command)
          throws IOException
          outputStream.println(command);
          return getFullServerReply();
     * Executes the given ftpd command on the server and writes the results
     * returned on the data port to the file with the given name, returning true
     * if the server indicates that the operation was successful.
     public boolean readDataToFile(String command, String fileName)
          throws IOException
          // Open the local file
          RandomAccessFile outfile = new RandomAccessFile(fileName, "rw");
          // Do restart if desired
          if (restartPoint != 0) {
               debugPrint("Seeking to " + restartPoint);
               outfile.seek(restartPoint);
          // Convert the RandomAccessFile to an OutputStream
          FileOutputStream fileStream = new FileOutputStream(outfile.getFD());
          boolean success = executeDataCommand(command, fileStream);
          outfile.close();
          return success;
     * Executes the given ftpd command on the server and writes the contents
     * of the given file to the server on an opened data port, returning true
     * if the server indicates that the operation was successful.
     public boolean writeDataFromFile(String command, String fileName)
          throws IOException
          // Open the local file
          RandomAccessFile infile = new RandomAccessFile(fileName, "r");
          // Do restart if desired
          if (restartPoint != 0) {
               debugPrint("Seeking to " + restartPoint);
               infile.seek(restartPoint);
          // Convert the RandomAccessFile to an InputStream
          FileInputStream fileStream = new FileInputStream(infile.getFD());
          boolean success = executeDataCommand(command, fileStream);
          infile.close();
          return success;
     * Executes the given ftpd command on the server and writes the results
     * returned on the data port to the given OutputStream, returning true
     * if the server indicates that the operation was successful.
     public boolean executeDataCommand(String command, OutputStream out)
          throws IOException
          // Open a data socket on this computer
          ServerSocket serverSocket = new ServerSocket(0);
          if (!setupDataPort(command, serverSocket)) return false;
          Socket clientSocket = serverSocket.accept();
          // Transfer the data
          InputStream in = clientSocket.getInputStream();
          transferData(in, out);
          // Clean up the data structures
          in.close();
          clientSocket.close();
          serverSocket.close();
          return isPositiveCompleteResponse(getServerReply());     
     * Executes the given ftpd command on the server and writes the contents
     * of the given InputStream to the server on an opened data port, returning
     * true if the server indicates that the operation was successful.
     public boolean executeDataCommand(String command, InputStream in)
          throws IOException
          // Open a data socket on this computer
          ServerSocket serverSocket = new ServerSocket(0);
          if (!setupDataPort(command, serverSocket)) return false;
          Socket clientSocket = serverSocket.accept();
          // Transfer the data
          OutputStream out = clientSocket.getOutputStream();
          transferData(in, out);
          // Clean up the data structures
          out.close();
          clientSocket.close();
          serverSocket.close();
          return isPositiveCompleteResponse(getServerReply());     
     * Transfers the data from the given input stream to the given output
     * stream until we reach the end of the stream.
     private void transferData(InputStream in, OutputStream out)
          throws IOException
          byte b[] = new byte[1024]; // 1K blocks I guess
          int amount;
          // Read the data into the file
          while ((amount = in.read(b)) > 0) {
               out.write(b, 0, amount);
     * Executes the given ftpd command on the server and writes the results
     * returned on the data port to the given FilterOutputStream, returning true
     * if the server indicates that the operation was successful.
     private boolean setupDataPort(String command, ServerSocket serverSocket)
          throws IOException
          // Send our local data port to the server
          if (!openPort(serverSocket)) return false;
          // Set binary type transfer
          outputStream.println("type i");
          if (!isPositiveCompleteResponse(getServerReply())) {
               debugPrint("Could not set transfer type");
               return false;
          // If we have a restart point, send that information
          if (restartPoint != 0) {
               outputStream.println("rest " + restartPoint);
               restartPoint = 0;
               // TODO: Interpret server response here
               getServerReply();
          // Send the command
          outputStream.println(command);
          return isPositivePreliminaryResponse(getServerReply());
     * Get IP address and port number from serverSocket and send them via the
     * <code>port</code> command to the ftp server, returning true if we get a
     * valid response from the server, returning true if the server indicates
     * that the operation was successful.
     private boolean openPort(ServerSocket serverSocket)
          throws IOException
          int localport = serverSocket.getLocalPort();
          // get local ip address
          InetAddress inetaddress = serverSocket.getInetAddress();
          InetAddress localip;
          try {
               localip = inetaddress.getLocalHost();
          } catch(UnknownHostException e) {
               debugPrint("Can't get local host");
               return false;
          // get ip address in high byte order
          byte[] addrbytes = localip.getAddress();
          // tell server what port we are listening on
          short addrshorts[] = new short[4];
          // problem: bytes greater than 127 are printed as negative numbers
          for(int i = 0; i <= 3; i++) {
               addrshorts[i] = addrbytes;
               if (addrshorts[i] < 0)
                    addrshorts[i] += 256;
          outputStream.println("port " + addrshorts[0] + "," + addrshorts[1] +
          "," + addrshorts[2] + "," + addrshorts[3] + "," +
          ((localport & 0xff00) >> 8) + "," +
          (localport & 0x00ff));
          return isPositiveCompleteResponse(getServerReply());
     * True if the given response code is in the 100-199 range.
     private boolean isPositivePreliminaryResponse(int response)
          return (response >= 100 && response < 200);
     * True if the given response code is in the 300-399 range.
     private boolean isPositiveIntermediateResponse(int response)
          return (response >= 300 && response < 400);
     * True if the given response code is in the 200-299 range.
     private boolean isPositiveCompleteResponse(int response)
          return (response >= 200 && response < 300);
     * True if the given response code is in the 400-499 range.
     private boolean isTransientNegativeResponse(int response)
          return (response >= 400 && response < 500);
     * True if the given response code is in the 500-599 range.
     private boolean isPermanentNegativeResponse(int response)
          return (response >= 500 && response < 600);
     * Eliminates the response code at the beginning of the response string.
     private String excludeCode(String response)
          if (response.length() < 5) return response;
          return response.substring(4);
     * Prints debugging information to stdout if the private flag
     * <code>PRINT_DEBUG_INFO</code> is turned on.
     private void debugPrint(String message) {
          if (PRINT_DEBUG_INFO) System.err.println(message);
     * The socket through which we are connected to the FTP server.
     private Socket connectionSocket = null;
     * The socket output stream.
     private PrintStream outputStream = null;
     * The socket input stream.
     private BufferedReader inputStream = null;
     * The offset at which we resume a file transfer.
     private long restartPoint = 0L;
Please help me where am I wrong?
Thanks

I would guess the error happens at this line:
} while(!(Character.isDigit(reply.charAt(0)) && ...
because apparently reply.length() is 0 at the point of failure, so charAt(0) is beyond the end of the string. You need to check the length first.

Similar Messages

  • OM vision India Hyderabad---exception while doing the ship confirm

    order management vision India Hyderabad ----we are getting the exception while doing the ship confirm the exceptions are shown below:
    Order: 20041 customer: C2il_customer Item: XXBikeEngine Error: NO DATA FOUND
    Order: 20041 customer: C2il_customer Item: XXBikeEngine Error: NO DATA FOUND Transactions window: Pick and ship
    Errors
    Warning: Item on delivery detail 3962489 does not have pre-specified weight and volume.
    Warning: Delivery 3773383 has null Weight
    Error: Bill of Lading Number could not be generated because the ship method code was not selected for the trip 3129358.
    Warning: Bill of Lading information could not be automatically created for delivery 3773383.
    Submitted 4 out of 4 documents for this document set. (REQ_IDS=5807692, 5807693, 5807694, 5807695)
    Warning: Failed to submit document set for delivery 3773383
    Warning: 1 deliveries will be marked as Confirmed.
    Warning: Some deliveries selected for Ship Confirm have errors or warnings.
    i am grateful if any one can provide suggestion on the issue.....

    Can you please share the documents and suggestions for R12Have you reviewed all the docs referenced above?
    actually all are working fine in normal vision operations,and we are facing the exceptions while we are doing in OM vision India Hyderabad.
    is there any setups do we configured for the OM vision India Hyderabad.if you can share any information on that it will be helpful...If the docs referenced above and Oracle Documentation http://download.oracle.com/docs/cd/B53825_08/current/html/docset.html do not help, then I would suggest you log a SR.
    Thanks,
    Hussein

  • While doing union operation, i am getting the following eror.

    While doing union operation, i am getting the following eror.
    Solution for the following error
    "Numbers of columns and their data types must be consistent across all criteria and Result Columns"

    Hi...phani..thanks for the response..
    Report 1: TopN values... working fine
    Report2: >TopN values working fine.
    when i union the 2 the result is: all records, and i got it.
    ReQ: i have to add the remaining Records of >N at the end of the report, represents Others: xxxx
    My ReQ:
    Col1 Col2 Col3 # of Srs %Of Srs
    ABC Complaint Operation 200 40%
    CDF ACD Part Availability 100 20%
    Others 300 40%
    suppose for first column in result tab,
    Formula tab: case when saw_4>10 then 'Others' else saw_0 end.
    when i put the above condition in Result columns i am getting the error.
    Error: Numbers of columns and their data types must be consistent across all criteria and Result Columns

  • Exception while doing bulk insertion

    Hi,
    I am trying to do a bulk insert of records into a table using my application. I am using prepared statement to achieve this. I am getting the following exception while doing bulk insert.
    java.lang.NegativeArraySizeException
    I am using SQL Server driver version 2000.80.380.00 for this. The database type chosen is JDBC-ODBC.
    Your early response is appreciated.
    Regards
    Ramesh

    Hi,
    I am trying to do a bulk insert of records into a
    table using my application. I am using prepared
    statement to achieve this. I am getting the following
    exception while doing bulk insert.
    java.lang.NegativeArraySizeException
    I am using SQL Server driver version 2000.80.380.00
    for this. The database type chosen is JDBC-ODBC.
    Your early response is appreciated.
    RegardsLooks like one of your arrays has a problem with its size, possibly a negative size!
    It could be a problem...
    somewhere...
    in your application...
    in the code...
    somewhere.
    Possibly at the line number indicated by the exception... just a wild guess!
    Thought about looking for it? Thats what I'd do first.
    Or do you expect someone to say "Ahhhhh 2000.80.380.00 marvelous plumage, bugger with the bulk inserts"

  • SendScenarioEvent throwing exception while doing AddToCart

    Hi
    I am getting the following exception while doing an addToCart.
    21:03:53,678 ERROR [CartFormHandler]
    CAUGHT AT:
    CONTAINER:atg.commerce.CommerceException: error adding to order; SOURCE:CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown fr
    om the context of the link named [sendMessage].; SOURCE:java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.syncsnota
    llowed] [com.arjuna.ats.internal.jta.transaction.arjunacore.syncsnotallowed] Synchronizations are not allowed! Transaction status isActionStatus.ABORT
    _ONLY
    at com.xxx.commerce.order.purchase.XPurchaseProcessHelper.addItemsToOrder(XPurchaseProcessHelper.java:127)
    While debugging the code i see that the commerce items are getting created fine, but when the "runProcessSendScenatioEvent" is being called its throwing this exception.
    If i comment this piece of code then i dont get any exception but then i dont see a commerce item in the cart.
    Any help is appreciated.

    Thanks Gautam!
    i switched on the logs for PurchaseProcessHelper and found the following
    02:06:45,525 INFO [PurchaseProcessHelper] DEBUG runProcess called with chain ID = repriceOrder
    02:06:45,526 INFO [PurchaseProcessHelper] DEBUG PipelineError: key=PriceOrderTotalError; error=No price could be found in priceList listPrices for pr
    oduct p25059 and sku 25059
    02:06:45,526 INFO [PurchaseProcessHelper] DEBUG runProcess called with chain ID = sendScenarioEvent
    But i can see the price for the sku 25059 in the listPrices pricelist.
    I am not sure why it is throwing this error.
    So all i m doing is creating a configurableCommerceItem and adding a SubSkuCommerceItem to it, and then the OOB chains are getting called.
    I have debugged the code and dont find any errors in creating of commerce item or the sub sku commerce item.
    If i comment the "runProcessRepriceOrder" chain then the commerce item and subsku commerce item are getting generated fine and i can see it in the order in ACC.

  • Sending MIME information while doing FTP in OSB

    Hi All,
    I'm trying to FTP a file to webmethods through an OSB process.
    If FTP is done from a command prompt or FileZilla to the location using MIME type like below, it works
    "ABC;application:x-wmflatfile" where "ABC" is the file name and "application:x-wmflatfile" is the MIME type.
    Now, inside the OSB, I have specified a file name in a transport header, and added the MIME type along with it as ABC;application:x-wmflatfile.
    Also, I have specified two additional transport headers
    1. HTTP Content-Type to 'application:x-wmflatfile'
    2. HTTP-Accept to 'application:x-wmflatfile'
    But the file is not going to the webmethods end and giving an error
    Error occured for the service endpoint: com.bea.wli.sb.transports.TransportException: File could not be renamed from: ABC;application:x-wmflatfile.a to ABC;application:x-wmflatfile.
    Is there anything else I need to do to get this one working.
    Regards,
    Satrajit

    I would guess the error happens at this line:
    } while(!(Character.isDigit(reply.charAt(0)) && ...
    because apparently reply.length() is 0 at the point of failure, so charAt(0) is beyond the end of the string. You need to check the length first.

  • NSInvalidArgumentException in SMP 3 OData while doing read Operation

    Hi Every one I am getting a " NSInvalidArgumentException"  Error  in IOS while i am performing OData Read Operation by 'POST' or 'GET' method. I am using the offline capability and also Delta Query is written on OData Services.  Please held me this error killing me since past one week

    The URL is= http://182.87.61.205:8008/com.innova.mtra/BankDetailsCollection('barbarab')
    The code i am using to fetch read collection is below
    [RequestBuilder setRequestType:HTTPRequestType];
        [RequestBuilder enableXCSRF:YES];
        NSString *string = [NSString stringWithFormat:@"%@%@",self.serviceBaseURl,urlString];
        DLog(@"URL String: %@",string);
        id<Requesting> request = [RequestBuilder requestWithURL:[[NSURL alloc] initWithString:string]];
        [request setRequestMethod:@"GET"];
        [request addRequestHeader:@"Accept" value:@"application/xml,application/atom+xml"];
        [request addRequestHeader:kX_SUP_APPCID value:self.app_Connection_ID];
    [request startAsynchronous];

  • Error while doing MINUS operation

    Hi ,
    i am using MINUS operation.I am getting the error
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59019] All of the input streams to the Union operator should have an identical number of columns and union compatible data types. (HY000)*
    I used same data type and i checked with rpd also its working fine.Where is the problem .Can any one help me out??
    Thanks,
    Saichand.V

    hi,
    Thanks for u quick response
    Those are from two Different tables.in Fx i didn't used any operations.Just pulled certain columns.one column is prompted in both the reports.

  • Facing a problem while doing DML Operations in Discoverer (Urgent!!)

    Hi,
    I am facing a problem in one of the discoverer report i am working on. I would appreciate if you could help me to to find a solution for this -
    I am triggering a custom package from the Discoverer. This package is inserting the data in a custom table. As we can not directly put the DML statements in the discoverer 's package so i have defined that package as the Pragma Autonomous. The custom table that is being populated is a regular table (i.e not a Global temporary table). In the custom folder in Administrator i am just selecting the data from that custom table.
    Problem- When i run the report from discoverer, the data is getting inserted into the custom table, that means the package is working properly but still the report does not show any data. May be the query being executed even before the data is inserted into the table. Can you please suggest what is that i am missing in this solution?
    Few facts of the report-
    1. I am using only one worksheet.
    2. The package is inserting the data in the custom table so i don't see any problem with the package and triggering it.
    Thanks for your help.
    -Anshul

    Hi Michael,
    This is not really an update. The functionality of the report is simple - Based on the parameters selected in the report, the package will get the data from queries and insert into the table. now the data in the table can be different for different users based on the parameters. what my concern was,
    Consider a case of 2 users using this report almost at the same time.
    We are not using the temporary table so we will have to truncate the table every time the report is ran, before inserting the new data in it.
    Now suppose user -A runs the report and during it processing the 2nd user runs it with some different parameters. Then the 1st user's data will be deleted from the table.
    does it sound right?
    I was trying to achieve this functionality by using following functionality but here also i am facing a problem -
    Now i am not inserting the data in the table but i have created a view that does the same thing as it was done by package in the previous case. and in order to pass the parameters in the view i am using set_context. I have created a package that is triggered by discoverer report and in that package i am setting the context. now i am facing the following problems -
    a. Does the Set_context set the context globally?
    b. Do i need to clear the context at the completion of report?
    c. If the answer of the question - b is yes then where can i place that clear_context in the discoverer?
    Thank you so much for your help.
    thanks
    -Anshul

  • Different IP address while doing FTP from XI

    Anybody knows why an FTP from XI originates from 2-3 different IP address?

    Kris,
    Not sure what do you need exactly? Can you throw some more light on this?
    ---Satish

  • Oracle.jbo.RowNotFoundException exception encountered while doing a ommit

    Hi,
    I get the following exception while doing :
    binding.getDataControl().getApplicationModule().getTransaction().commit();
    The application is running in 3-tier with the deployment as BM entity beans.
    Any idea why this happens????
    Regards,
    Anupam
    oracle.jbo.RowNotFoundException: JBO-25034: Row of handle 51 is not found in RowSet VReservationMain.
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.getRowFromHandle(RuntimeViewRowSetIteratorInfo.java:535)
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.getRowForSvcMsg(RuntimeViewRowSetIteratorInfo.java:496)
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.processChanges(RuntimeViewRowSetIteratorInfo.java:367)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.postRows(AbstractRemoteApplicationModuleImpl.java:4220)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4267)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7537)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.NestedApplicationModuleImpl.doMessage(NestedApplicationModuleImpl.java:34)
         at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7537)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:477)
         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at AMReservationBMBean_RemoteProxy_329700m.doMessage(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    Fault Message Types are used in some of the cases .
    This will give good idea-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    If you want to handle exceptions, you can do for the mapping or even you can do for the unavailability of the receiver i.e database with the help of Alerts for the adapters.
    Regards,
    Moorthy

  • Exception while deploying Application Remotely

    Hello Everybody,
    I am facing an exception while doing remote deployment from Windows box to WL server on Solaris box.
    Please look into the attached error and let me know your suggestions.
    *[wldeploy] javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'*
    Your help is appreciated….
    Thanks in advance,
    Prasad Charyulu.
    deploy:
    [wldeploy] weblogic.Deployer -debug -remote -verbose -upload -noexit -name rsp_act_bundle8 -source E:\Workspaces\build\Deploy\dist\rsp_act.ear -targets rspadmin -adminurl t3://Myserver.org:8006 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -debug -remote -verbose -upload -noexit -name rsp_act_bundle8 -source E:\Workspaces\build\Deploy\dist\rsp_act.ear -targets rspadmin -adminurl t3://Myserver.org:8006 -user weblogic -deploy
    [wldeploy] [WebLogicDeploymentManagerImpl.&lt;init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at Myserver.org:8006, as user weblogic
    [wldeploy] [ServerConnectionImpl.getEnvironment():288] : setting environment
    [wldeploy] [ServerConnectionImpl.getEnvironment():291] : getting context using t3://Myserver.org:8006
    [wldeploy] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://Myserver.org:8006/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://Myserver.org:8006/jndi/weblogic.management.mbeanservers.runtime
    [wldeploy] [DomainManager.resetDomain():36] : Getting new domain
    [wldeploy] [DomainManager.resetDomain():39] : Using pending domain: true
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1bb9a58
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1bb9a58
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1f0aecc
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1f0aecc
    [wldeploy] [ServerConnectionImpl.initialize():171] : Connected to WLS domain: rspdomain06
    [wldeploy] [ServerConnectionImpl.setRemote():482] : Running in remote mode
    [wldeploy] [ServerConnectionImpl.init():161] : Initializing ServerConnection : [email protected]f12
    [wldeploy] [BasicOperation.dumpTmids():689] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():691] : {Target=rspadmin, WebLogicTargetType=server, Name=rsp_act_bundle8}, targeted=true
    [wldeploy] [BasicOperation.deriveAppName():140] : appname established as: rsp_act_bundle8
    [wldeploy] &lt;Aug 27, 2009 2:25:32 PM PDT> &lt;Info> &lt;J2EE Deployment SPI> &lt;BEA-260121> &lt;Initiating deploy operation for application, rsp_act_bundle8 [archive: E:\Workspaces\build\Deploy\dist\rsp_act.ear], to rspadmin .>
    [wldeploy] [ServerConnectionImpl.upload():658] : Uploaded app to /opt/bea/wls10_3/user_projects/domains/rspdomain06/servers/rspadmin/upload/rsp_act_bundle8
    [wldeploy] [BasicOperation.dumpTmids():689] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():691] : {Target=rspadmin, WebLogicTargetType=server, Name=rsp_act_bundle8}, targeted=true
    [wldeploy] [BasicOperation.loadGeneralOptions():606] : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] rspadmin
    [wldeploy] ModuleTargets={}
    [wldeploy] SubModuleTargets={}
    [wldeploy] }
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy] Deployment Plan: null
    [wldeploy] App root: \opt\bea\wls10_3\user_projects\domains\rspdomain06\servers\rspadmin\upload\rsp_act_bundle8
    [wldeploy] App config: \opt\bea\wls10_3\user_projects\domains\rspdomain06\servers\rspadmin\upload\rsp_act_bundle8\plan
    [wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=null,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=rsp_act_bundle8,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0deploymentPrincipalName=null}
    [wldeploy]
    [wldeploy] [BasicOperation.execute():423] : Initiating deploy operation for app, rsp_act_bundle8, on targets:
    [wldeploy] [BasicOperation.execute():425] : rspadmin
    [wldeploy] Task 42 initiated: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    [wldeploy] dumping Exception stack
    [wldeploy] Task 42 failed: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    [wldeploy] Target state: deploy failed on Server rspadmin
    [wldeploy] javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    [wldeploy]      at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    [wldeploy]      at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    [wldeploy]      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    [wldeploy]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [wldeploy]      at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132)
    [wldeploy] Target Assignments:
    [wldeploy] + rsp_act_bundle8 rspadmin
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 42 failed: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    [wldeploy] Target state: deploy failed on Server rspadmin
    [wldeploy] javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    [wldeploy]      at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    [wldeploy]      at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    [wldeploy]      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    [wldeploy]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [wldeploy]      at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132)
    [wldeploy]      at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
    [wldeploy]      at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
    [wldeploy]      at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:155)
    [wldeploy]      at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
    BUILD FAILED
    E:\Workspaces\build\Deploy\build.xml:16: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 42 failed: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    Target state: deploy failed on Server rspadmin
    javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132)
         at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
    Edited by: user4068647 on Aug 27, 2009 5:04 PM
    Edited by: user4068647 on Aug 27, 2009 5:05 PM

    Hi David,
    I greatly appreciate your details.
    I have verified that and they looks fine. Let me give you some background.
    The Weblogic server is properly configured on my Sun Solaris box. I am successfully able to deploy applications (.ear files), when I do it from the same machine.
    But, I am getting the above mentioned issue only when I try to deploy same .ear file remotely; I mean deployment triggered from Windows 2003 server (target machine is Sun Solaris).
    Please give your pointers and help me.
    Regards,
    Gopal.

  • Exception While Developing FPM application.

    Hi All,
    We are on EP7.0/ECC6.0.
    I'm trying to develop a new ESS webdynpro application using FPM. I'm using the steps as given <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/43/3b709efa6c1bcbe10000000a1553f7/frameset.htm">here</a>
    The application throws following exception while doing 'deploy new archive and run' from developer studio.
    java.lang.NoSuchMethodError: com.sap.pcuigp.xssfpm.java.ApplicationContext.isSplitupApplication()Z
        at com.sap.pcuigp.xssutils.ccxss.CcXss.loadConfiguration(CcXss.java:214)
        at com.sap.pcuigp.xssutils.ccxss.wdp.InternalCcXss.loadConfiguration(InternalCcXss.java:153)
        at com.sap.pcuigp.xssutils.ccxss.CcXssInterface.loadConfiguration(CcXssInterface.java:112)
        at com.sap.pcuigp.xssutils.ccxss.wdp.InternalCcXssInterface.loadConfiguration(InternalCcXssInterface.java:124)
        at com.sap.pcuigp.xssutils.ccxss.wdp.InternalCcXssInterface$External.loadConfiguration(InternalCcXssInterface.java:184)
    Full Exception trace is:
    java.lang.NoSuchMethodError: com.sap.pcuigp.xssfpm.java.ApplicationContext.isSplitupApplication()Z
         at com.sap.pcuigp.xssutils.ccxss.CcXss.loadConfiguration(CcXss.java:214)
         at com.sap.pcuigp.xssutils.ccxss.wdp.InternalCcXss.loadConfiguration(InternalCcXss.java:153)
         at com.sap.pcuigp.xssutils.ccxss.CcXssInterface.loadConfiguration(CcXssInterface.java:112)
         at com.sap.pcuigp.xssutils.ccxss.wdp.InternalCcXssInterface.loadConfiguration(InternalCcXssInterface.java:124)
         at com.sap.pcuigp.xssutils.ccxss.wdp.InternalCcXssInterface$External.loadConfiguration(InternalCcXssInterface.java:184)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:190)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:707)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    It also gives Correction Hints as:
    Correction Hints
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
    I have verified that  NWDS and NWDI are on same level.
    Any ideas how to resolve this??????
    cheers~
    avadh

    Hi ,
    I guess you have some lline..
    with
    getApplicationContext().isSplitUpApplication();
    Are the versions of SCA s in NWDI  ( i.e xssutils)  which you have referenced in ur component.. and the ones deployed in your webAs java server .. the same ?
    It seems to be a mismatch.. or the reference declaration might be jus build time .. something like that .. ?
    Regards
    Bharathwaj

  • Webservice NullPointerException while doing Build

    I am getting following exception while doing Build for webservice, object is EJB that is being converted to web service. it s simple EJB stateless sesion bean
    BUILD FAILED
    java.lang.NullPointerException
    at weblogic.webservice.tools.build.internal.WSPackagerImpl.run(WSPackag
    rImpl.java:171)
    at weblogic.ant.taskdefs.webservices.wspackage.WSPackage.doWSPackage(WS
    ackage.java:255)
    at weblogic.ant.taskdefs.webservices.wspackage.WSPackage.execute(WSPack
    ge.java:195)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)

    I was getting this due to a poorly formed ejb-weblogic-jar.xml
    Could be same for you.
    Running a simple wlappc without the svc you're running WSPackage on
    might show you how your is mis-formatted if this is the case.

  • Error while doing MIRO-Overflow for arithmetical operation (type P) in prog

    Hi ,
    I am getting the error while doing the MIRO  as below-
    Runtime Errors         COMPUTE_BCD_OVERFLOW
    Exception              CX_SY_ARITHMETIC_OVERFLOW
    Date and Time          20.05.2009 10:07:03
    Short text
         Overflow during the arithmetical operation (type P) in program "SAPLMRMC".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLMRMC" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
          caught in
         procedure "MRM_AMOUNT_QUANTITY_PROPOSE" "(FUNCTION)", nor was it propagated by
          a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
    Please let me know how can this be removed.

    Hi,
    There can be some problem with tolerances set in the customizing.
    In my case, I was getting this error because of delivery date variance. The difference between delivery date maintained in PO and invoice date was huge and hence the multiplication of price of PO and difference  of delivery date was huge and that was the reason for error.
    Similarly in your case also, there will be some tolerance limit problem.
    Please check your tolerance limits set in customizing.
    Regards,
    Mihir Popat

Maybe you are looking for

  • Can't move objects?

    I cannot figure out what's going on with my InDesign. I can't select any object, text or path, and move it by dragging. I can move it by nudging with the arrow keys, but dragging does not work. I've restarted, trashed preferences, etc, and it just wo

  • I need a midi to mp3 converter...

    where can i find a free one for mac OSX leopard (10.5.1) ?

  • No emails in my gmail inbox

    i have created my gmail account on my Nokia C5, all my other folders have mail in them apart from my inbox. Could someone please assist me on what to do as all my other email accounts are working fine.

  • Web forms seperate window size

    I am on a team supporting a forms application that is in the process of moving to the web. we use the seperateFrame="true" parameter to bring up the forms in a window outside the browser. However, the window is too small and must be resized manually.

  • Query on System Impact -STO

    Hi All, In my project,For various business reasons, we are looking to sett up the stores as plants u2013 meaning that we would follow the STO flow. There are some 500 stores. This would mean that we would either configure 500 plants OR 1 plant with s