Run Time error!!!Help plz

hi ..
every time i run my application i get this error which i can't understand where exactly the error is
can any one help plz
)at javax.swing.JLayeredPane.paint(JLayeredPane.java:546
)at javax.swing.JComponent.paintChildren(JComponent.java:498
)at javax.swing.JComponent.paint(JComponent.java:669
)at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:23
:at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java
)54
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:91
)at java.awt.Container.paint(Container.java:960
)at javax.swing.JFrame.update(JFrame.java:329
)at sun.awt.RepaintArea.update(RepaintArea.java:337
)at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:200
)at java.awt.Component.dispatchEventImpl(Component.java:2663
)at java.awt.Container.dispatchEventImpl(Container.java:1213
)at java.awt.Window.dispatchEventImpl(Window.java:914
)at java.awt.Component.dispatchEvent(Component.java:2497
)at java.awt.EventQueue.dispatchEvent(EventQueue.java:339
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
)read.java:131
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
)ad.java:98
)at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93
)at java.awt.EventDispatchThread.run(EventDispatchThread.java:85
this is part of the code:
  public void actionPerformed(ActionEvent e)
    FileInputStream fis = null;
    if (e.getSource() == add) //The ADD button.
      //User has not populated all the input fields.
      if(name.getText().equals("")|| address.getText().equals("")|| phone.getText().equals("")|| sex.getText().equals("")|| dob.getText().equals("")|| photo.getText().equals(""))
        JOptionPane.showMessageDialog(null, "Please fill in all the fields","Missing Fields",JOptionPane.INFORMATION_MESSAGE);
      else
        // save the new customer:
        try
          //1. take the customer's data and photo:
          int    userId          = Integer.parseInt(id.getText());
          String userName      = name.getText();
          String userAddress      = address.getText();
          String userPhone      = phone.getText();
          String userSex      = sex.getText();
          String userDateBirth      = dob.getText();
          //String userDateBirth=Date.parse(dob);
          String photoName      = photo.getText();
          String audioName=   audio.getText();
          File   file           = new File(photoName);
          int    fileLength      = (int)file.length();
          //2. Set the user's photo into the photoHolder:
          photoHolder.setVisible(false);
          photoHolder = null;
          comments.setVisible(false);
          comments = null;
          Icon[] custPhotos = {new ImageIcon(photoName)};
          JList photosList = new JList(custPhotos);
          photosList.setFixedCellHeight(100);
          photosList.setFixedCellWidth(80);
          photoHolder = new JPanel();
          photoHolder.add(photosList);
          makeComments();
          //3. Insert the data and photo into the database:
          if(fileLength > 0)
            fis = new FileInputStream(file);
            String query = " INSERT INTO CUSTOMER VALUES('"+userId+"', '"+ userName+ "', '"+ userAddress+ "', " +" '"+ userPhone+ "', '"+ userSex+ "', '"+ userDateBirth+ "', ?,?,? ) ";
            PreparedStatement pstmt = conn.prepareStatement(query);
            pstmt.setBinaryStream(1, fis, fileLength);
              pstmt.setString(2,photoName);
              pstmt.setString(3,audioName);
            pstmt.executeUpdate();
            comments.setText(userName+", added.");
          else
            String query = " INSERT INTO CUSTOMER (id, name, address, phone, sex, dob) VALUES('"+userId+"', '"+userName+"', '"+userAddress+"', '"+userPhone+"', '"+userSex+"', '"+userDateBirth+"') ";
            stat.executeUpdate(query);
            comments.setText("Customer saved without a photo.");
          backPanel.add(photoHolder);
          backPanel.add(comments);
          updateTable();
          //AddScroll();
        } //try
        catch (Exception ee)
           //The danger of putting creating the JOptionPane in here is that it will show the same message regardless of the error.
            JOptionPane.showMessageDialog(null, "Customers CPR already exits!!Please enter another CPR","Invalid",JOptionPane.INFORMATION_MESSAGE);
          System.out.println("Caught exception in add action: " + ee);
          ee.printStackTrace();
        } //catch
      } //if
    }//add button

hi...
i got where the error is..
now i have another problem..
Connecting to database..
Valid Login
Caught updateTable exception: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at UtilityMethods.updateTable(UtilityMethods.java:305)
(which is this line:
tableData[currentRow] = fieldString;)-----> i did this because one of the fields will be a Date and the others are strings
at UtilityMethods.updateTable(UtilityMethods.java:429)
at Login.validLogin(Login.java:114)
at Login.actionPerformed(Login.java:80)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
50)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1504)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:216)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
this is the code :
void updateTable()
      ResultSet results = null;
      ResultSet results1 = null;
      try
        //Get the number of rows in the table so we know how big to make the data array..
        int rowNumbers  = 0;
        int columnCount = 6;
        results = stat.executeQuery("SELECT COUNT(*) FROM CUSTOMER ");
        if(results.next())
          rowNumbers = results.getInt(1);
        } //if
        if(rowNumbers == 0)
        rowNumbers = 1;
        tableData = new String[rowNumbers][columnCount];
        //Initialize the data array with "" so we avoid possibly having nulls in it later..
        for(int i =0;i<tableData.length;i++)
          for(int j=0;j<tableData[0].length;j++)
          tableData[i][j] = "";
        //Populate the data array with results of the query on the database..
        int currentRow = 0;
         SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");
        results1 = stat.executeQuery("SELECT * FROM CUSTOMER ORDER BY ID");
        while (results1.next())
          for(int i = 0; i < columnCount; i++){
          Object field = results1.getObject(i + 1);
          // actually this next line should be put outside your loop so you don't keep creating this object
          // or whatever format you want
          String fieldString;
          if (field instanceof Date)
                 fieldString = sdf.format((Date) field);
                 else
                      fieldString = field.toString();
                      tableData[currentRow] = fieldString;
//tableData[currentRow][i] = results1.getString(i + 1);
currentRow++;
} //while
}//for
final String[] colName = { "CPR", "Name", "Address", "Phone", "Sex", "Date OF Birth" };
TableModel pageModel = new AbstractTableModel()
public int getColumnCount()
return tableData[0].length;
} //getColumnCount
public int getRowCount()
return tableData.length;
} //getRowCount
public Object getValueAt(int row, int col)
return tableData[row][col];
} //getValueAt
public String getColumnName(int column)
return colName[column];
} //getcolName
public Class getColumnClass(int col)
return getValueAt(0, col).getClass();
} //getColumnClass
public boolean isCellEditable(int row, int col)
return false;
} //isCellEditable
public void setValueAt(String aValue, int row, int column)
tableData[row][column] = aValue;
} //setValueAt
//dataTable.setValue( new JScrollBar(JScrollBar.HORIZONTAL), 2,1 );
}; //pageModel
//Create the JTable from the table model:
JTable dataTable = new JTable(pageModel);
// dataTable.setModel();

Similar Messages

  • Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi,
    Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi Shilpa ,
    Please refer to the following link and see if that helps you out.
    https://helpx.adobe.com/acrobat/kb/runtime-error-roaming-profile-workflows.html
    Are you trying to access the PDF with Acrobat or Adobe Reader?
    Regards
    Sukrit Dhingra

  • Run time error when we click  "Leave overview " in ESS - pl help

    Hi Gurus ,
    We are getting run time error when we
    click the 'Leave Overview' in
    ESS.
    when emloyee applies for leave he may
    need to wait for aproval during
    that time he cannot access the 'leave
    overview' screen he will be
    facing run time error .
    because of this run time error system
    performance become very slow .
    please help me .i will give points for valid answers .
    :-Suneetha reddy

    Hi ,
    I am soory for late reply ,
    I changed the runtime parameter to 1200 and monitaring the system .
    Now there is no Run time error but still Leave overview is taking time .
    Please help
    Thanks,
    Sunitha

  • Run time error  iview  'Leave Overview' in ESS -  Pl Help

    Hi Gurus ,
    We are getting run time error when we
    click the 'Leave Overview' in
    ESS.
    when emloyee applies for leave he may
    need to wait for aproval during
    that time he cannot access the 'leave
    overview' screen he will be
    facing run time error .
    because of this run time error system
    performance become very slow .
    please help me .i will give points for valid answers .
    :-Suneetha reddy
    Edited by: Sunitha Reddy on Mar 26, 2008 9:47 AM

    Hi ,
    I am soory for late reply ,
    I changed the runtime parameter to 1200 and monitaring the system .
    Now there is no Run time error but still Leave overview is taking time .
    Please help
    Thanks,
    Sunitha

  • Trying to upgrade my i-phone 3 operating system to ios-5.  The program seems to download fine, but at the end it says network run time error and then I have to cancel it out and try again.  Tried 5 times and I can't upgrade the system.  help?

    I am trying to upgrade the operating system on my i-phone 3 to ios-5.  I download the program and it runs and downloads.  When almost finished, an error occurs that says Network run time error.  This cancels out the download.  I have tried 5 times with the sdame result.  Can anyone help?  Thanks

    This is asked and answered frequently... a simple search of the forums would have revealed that disabling any Anti-Virus and Firewall software on the computer prior to downloading will rectify the issue.

  • Run-time ERROR! Help Please...

    Hello everyone,
    I got a run time error for my very short program please anyone help me!!!
    My source code is
    //LKOracleDB.java
    public class LKOracleDB
         public static void main()
    I set path to jdk14b2\bin ,
    and I set classpath to jdk14b2\lib
    I compiled it with no error by using
    =>javac LKOracleDB.java
    then when I tried to run it with
    =>java LKOracleDB
    It show this error
    =>Exception in thread "main" java.lang.NoClassDefFoundError: LKOracleDB
    .... What could be the problem? Please help..
    Thanks in advance,
    lenk....

    Is your source file in a package?No, my source file is not in any package what u see is all code in my .java file. Do I need to put it in package? If so please tell me a little bit more.
    Are you running the java command from the same >directory that you compiled the code from?Yes, I recheck it.
    Your main() should be (String[] args) or else it is not >considered a valid main for the JVM to start. I change it but It still not work...?
    Thanks for your opinion
    lenk

  • I get aq run time error when trying to load the latest version of iTunes. Help.

    I get a run time error when attempting to install the latest version of iTunes & now cannot access iTunes. Can anyone help me?

    Hi jalbany,
    Thanks for using Apple Support Communities.  This article has steps you can take for the error you're seeing:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Ari

  • I am getting run time error 6034 after updating iTunes to new version.Any help?

    I am getting run time error 6034 after updating iTunes to new version.Any help?
    I tried different ways to resolve it like uninstall/install itunes
    I am also getting error message on iTunes helper.exe

    Hi isush!
    I have an article for you that will help you troubleshoot this issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • Please help with fixing run time error - what is wrong ?

    Hi
    I am new with JDBC.
    I have compiled a program and am not getting any compile erors, however when trying to run it, am getting errors:
    Advanced Java : Test 1
    Programmer: C.C. Steyn
    Date: 15 July, 2008
    Filename: MakeDB.java
    Purpose: To build an initial database for the ClientNameTaxNrs application
    import java.sql.*;
    import java.io.*;
    public class MakeDB
    public static void main(String[] args) throws Exception
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:ClientNameTaxNrs";
    Connection con = DriverManager.getConnection(url);
    Statement stmt = con.createStatement();
    // The following code deletes each index and table, if they exist.
    // If they do not exist, a message is displayed and execution continues.
    System.out.println("Dropping indexes & tables ...");
    try
    stmt.executeUpdate("DROP INDEX PK_ClientNameTaxNrs ON ClientNameTaxNrs");
    catch (Exception e)
    System.out.println("Could not drop primary key on ClientNameTaxNrs table: "
    + e.getMessage());
    try
    stmt.executeUpdate("DROP TABLE ClientNameTaxNrs");
    catch (Exception e)
    System.out.println("Could not drop ClientNameTaxNrs table: "
    + e.getMessage());
    ///////// Create the database tables /////////////
    System.out.println("\nCreating tables ............");
    // Create ClientNameTaxNrs table with primary key index
    try
    System.out.println("Creating ClientNameTaxNrs table with primary key index...");
    stmt.executeUpdate("CREATE TABLE ClientNameTaxNrs("
    +"ClientName TEXT(50) NOT NULL "
    + "TaxNr TEXT(10) NOT NULL, "
    +")");
    catch (Exception e)
    System.out.println("Exception creating ClientNameTaxNrs table: "
    + e.getMessage());
    // Read and display all ClientNameTaxNrs data in the database.
    ResultSet rs = stmt.executeQuery("SELECT * FROM ClientNameTaxNrs");
    System.out.println("Database created.\n");
    System.out.println("Displaying data from database...\n");
    System.out.println("ClientNameTaxNrs table contains:");
    byte[] buf = null;
    while(rs.next())
    System.out.println("Client Name: = "
    + rs.getString("ClientName"));
    System.out.println("Tax Nr: = "
    + rs.getString("Tax Nr"));
    rs = stmt.executeQuery("SELECT * FROM ClientNameTaxNrs");
    if(!rs.next())
    System.out.println("ClientNameTaxNrs table contains no records.");
    else
    System.out.println("ClientNameTaxNrs table still contains records!");
    rs = stmt.executeQuery("SELECT * FROM ClientNameTaxNrs");
    if(!rs.next())
    System.out.println("ClientNameTaxNrs table contains no records.");
    else
    System.out.println("ClientNameTaxNrs table still contains records!");
    stmt.close(); // closing Statement also closes ResultSet
    } // end of main()
    } // end of class
    ================================================
    here is the run time errors. How do i fix this ?
    Dropping indexes & tables ...
    Could not drop primary key on ClientNameTaxNrs table: [Microsoft][ODBC Microsoft
    Access Driver] Cannot find table or constraint.
    Could not drop ClientNameTaxNrs table: [Microsoft][ODBC Microsoft Access Driver]
    Table 'ClientNameTaxNrs' does not exist.
    Creating tables ............
    Creating ClientNameTaxNrs table with primary key index...
    Exception creating ClientNameTaxNrs table: [Microsoft][ODBC Microsoft Access Dri
    ver] Syntax error in CREATE TABLE statement.
    Exception in thread "main" java.sql.SQLException: [Microsoft][ODBC Microsoft Acc
    ess Driver] The Microsoft Jet database engine cannot find the input table or que
    ry 'ClientNameTaxNrs'. Make sure it exists and that its name is spelled correct
    ly.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3065)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:2
    53)
    at MakeDB.main(MakeDB.java:69)
    Press any key to continue . . .

    Are you running Norton Internet Security or anything similar? There have been reports that Norton and similar firewall products treat an upgrade as a new application and so you have to go in and reallow connections for iTunes. Check the settings and if necessary remove and re-enable the exception for iTunes (consult your privacy filter's documentation for the appropriate procedure). You may also need to check the built-in Windows firewall as well.
    Hope this helps.

  • Help with Run Time Error Please....

    I got this Run Time error when I tried to execute a Swing program I was trying to run and I was wondering if anyone could explain what it meant and how I could go about fixing the situation. The program ran with no problem when I executed it yesterday but this morning, It failed for some reason .
    My Classes name is GUIcheck.java
    Exception in thread "main" java.lang.UnsupportedClassVersionError: GUIcheck (Unsupported major.minor version 49.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    I have posted the program below for your viewing ..
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class GUIcheck
        public static void main(String args[])
        JFrame.setDefaultLookAndFeelDecorated(true);
        JFrame frame = new JFrame ("Student Data Sheet");
        //Frame.setDefaultLookAndFeelDecorated(true);
       //Create the top panel.  This panel will use the grid layout and
       //will contain two labels (name and Social Security Number) and
       //two text boxes (nameTextField and ssTextField)
       JPanel topPanel = new JPanel(new GridLayout (2, 2, 5, 5));
       JLabel nameLabel = new JLabel ("Name:");
       topPanel.add(nameLabel);
       JTextField nameTextField = new JTextField(10);
       topPanel.add(nameTextField);
       JLabel ssLabel = new JLabel ("Social Security Number:");
       topPanel.add(ssLabel);
      JPasswordField ssTextField = new JPasswordField(10);
      topPanel.add(ssTextField);
      //Place the topPanel on the North side of the frame
      Container contentPane = frame.getContentPane();
      contentPane.add (topPanel, BorderLayout.NORTH);
      //Create the center panel.  It will be placed in the center of the
      //frame.  It will contain two sub panels.  One sub panel will contain
      //labels (Select sources of news and information and Classification).
      //The second sub panel will contain check boxes and radio buttons)
      JPanel centerPanel = new JPanel (new BorderLayout ());
      JPanel centerTopPanel = new JPanel (new GridLayout (1, 2, 5, 5));
      JLabel sourceLabel = new JLabel
                 ("Select sources of news and information");
      centerTopPanel.add (sourceLabel);
      JLabel classLabel = new JLabel ("Classification");
      centerTopPanel.add (classLabel);
      centerPanel.add (centerTopPanel, BorderLayout.NORTH);
      JPanel centerBottomPanel = new JPanel (new GridLayout (1, 2, 5, 5));
      JPanel checkBoxPanel = new JPanel (new GridLayout (3, 1, 5, 1));
      JCheckBox newspaperCheckBox = new JCheckBox ("Newspaper");
      checkBoxPanel.add (newspaperCheckBox);
    JCheckBox tvCheckBox = new JCheckBox ("TV");
    checkBoxPanel.add (tvCheckBox);
    JCheckBox friendsCheckBox = new JCheckBox ("Friends");
    checkBoxPanel.add (friendsCheckBox);
    centerBottomPanel.add (checkBoxPanel);
    JPanel radioButtonPanel = new JPanel (new GridLayout (4, 1, 5, 1));
    JRadioButton freshmanRadioButton = new JRadioButton ("Freshman");
    radioButtonPanel.add (freshmanRadioButton);
    JRadioButton sophomoreRadioButton = new JRadioButton ("Sophomore");
    radioButtonPanel.add (sophomoreRadioButton);
    JRadioButton juniorRadioButton = new JRadioButton ("Junior");
    radioButtonPanel.add (juniorRadioButton);
    JRadioButton seniorRadioButton = new JRadioButton ("Senior");
    radioButtonPanel.add (seniorRadioButton);
    centerBottomPanel.add (radioButtonPanel);
    centerPanel.add (centerBottomPanel, BorderLayout.SOUTH);
    contentPane.add (centerPanel, BorderLayout.CENTER);
    //creation of button group deleted
    //buttonPanel will contain buttons and will be placed at south side
    //of the frame
    JPanel buttonPanel = new JPanel(new GridLayout (1, 2, 5, 5));
    JButton submitButton = new JButton ("Submit");
    buttonPanel.add (submitButton);
    JButton exitButton = new JButton ("Exit");
    buttonPanel.add (exitButton);
    contentPane.add (buttonPanel, BorderLayout.SOUTH);
      }//end main
    }

    I do have the 1.5 at the moment and I still get the same error. I have removed other instances of JRE from my computer and retried but it still persists... What else can I do?
    Java Newbie

  • Urgent help on this run time error   LOAD_TYPEPOOL_VERSION_MISMATCH

    hi i got this run time error for a stamdard transaction..can anyboby throw some light?
    LOAD_TYPEPOOL_VERSION_MISMATCH
    02.08.2007 21:23:11
    ShrtText
    Type group was changed at runtime.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLCOBADI" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    is especially useful if you want to keep a particular message.
    The system attempted to correct the error
    automatically, so you should try to restart
    the program.
    The type group "COBAI" was changed while the program was running, so that an
    inconsistence occurred at runtime.
    The type group "COBAI" has the version 20070627153024.
    The program "%_CCOBAI" uses the version 20070802190113.
    The internal session was started at 20070802212309.

    Dear Ramachandran Rakhunathan  ,
    this special error happens, when you change a table, e.g. table AUFM. Please do not change central data structures when the system is running. Please take a look at SAP Note <a href="https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=162991">162991</a> for further information.
    Thanks,
    Hannes Kuehnemund
    SAP LinuxLab

  • Run Time Error while Entering Quantity in Sales Order

    Dear All,
    Iam getting Run time Error while iam entering material quantity in sales order.Please  find the screenshot of the same.
    kindly Help Me.Me. Plz note that we had done a system copy two days back to our new server.
    Rgds
    Thomson
    ST22 Screenshot

    Dear All
    Its Resolved Thanks For your Valuable time Support
    INCLUDE LV03VFB4 inside below code trigger error.
    PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
                                        WA_AVBBD-APOMOBILE
                                        DA_SUBRC
                                        DA_UPDKZ
                                        DA_VVBBD_TABIX
                                        0.
    This Was the Error some how 0 was there we are removed the 0 now it is working fine
    Rgds
    Thomson

  • Run time error while creating sales order

    hi all,
    im working on ECC 4.7. normally when i create a sales order (VA01) and use incompletion log, it shows no errors. but when i start to save the same order . it shows a RUN TIME ERROR of ABAP . so plz help me to solve out this error
    thanks\

    Hi Tarun,
    When you get a run time error, you can see the error analysis on the left hand side. Check what the analysis is saying and you may need an ABAPer to find out the exact reason for the dump. I am just guessing it could be due to number range.. just a guess.
    Regards,
    Raghav

  • Run-time error '13' when trying to see query properties

    *Hi BI friends,*
    I want to set Auto refresh property when opening to my work book  ,
    *If i try to see "Query Properties" in Excel 2007 in BEx Analyzer, i am getting the below error :*
    *Run-time error '13'*
    *Type Mismatch.*
    *Plz, Help!*

    Hello Reddy,
    Try to use the latest version of front end tools
    The issue should be solved:
      http://service.sap.com/swdc
        -> Download
         -> Support Packages and Patches
          -> Entry by Application Group
    -> SAP Frontend Components
    -> SAP GUI FOR WINDOWS
    -> SAP GUI FOR WINDOWS 7.10 CORE
    -> SAP GUI FOR WINDOWS 7.10 CORE
    -> win32
    -> gui710_18-10002995.exe
    _ -> BI ADDON FOR SAP GUI
    -> BI 7.0 ADDON FOR SAP GUI 7.10
    -> BI 7.0 ADDON FOR SAP GUI 7.10
    -> Win32
    -> bi710sp12p_1201-10004472.exe
          |_ -> BI ADDON FOR SAP GUI
              -> BW 3.5 ADDON FOR SAP GUI 7.10
               -> Win32
                -> bw350gui710_10-10004473.exe
    If persist, let me know.
    Kind regards,
    Edward

  • Run Time Error '13' Type Mismatch in SAP BEx

    Hello, SAP World!
    If i try to see "Query Properties" in Excel 2007 in BEx Analyzer, getting the error:
    Run-time error '13'
    Type Mismatch.
    Plz, Help!
    For Excel 2003 this error is not occured.
    GUI 6.40
    File Ver. 6405.5.27.3058
    Patch Level: 27
    SAP BW 3500.4.020

    are you using BW 3.5 or 7.0 (BI nw2004as) ?
    have you installed both BW add-on (3.5 and 7.0) ?

  • How to avoid the run time error  "java.lang.OutOfMemoryError"

    hi
    i have written a code to read a txt file ,i used FileReader to read a file . the code is working well for small txt files. but when i tried to read a large file(greater than 2MB), a run time error called "java.lang.OutofMemoryError" appeared .
    plz suggest the methods to read txt files of large capacity(greater than 25MB) .if possible give an example.

    thanks for ur replies
    i am new to java programming .i am a student persuing B.Tech final semester .i got struck in my project while reading a large txt file(greater than 3MB) . i am now giving a part of code that i had used in my project .it working fine with the txt files less than 3MB ,but when i am treing to read a file greater than 3MB , it is displaying a run time error "java.lang.outofmemoryerror"
    i have tried using "java -Xmx" ,it is working , but is there any better option ??
    here is the part of code:
       FileReader fin;
        al=new ArrayList();
         try
              fin=new FileReader(filename);
         catch(FileNotFoundException e)
           System.out.println("File not foumn");
         return;
    while((i=fin.read())!=-1)
           al.add(new Character((char)i));
         fin.close(); 
         Object obj[]=al.toArray();plz help me
    --santosh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • What's the point of warranty?

    I am a student coming from Hong Kong  to London for postgraduate study. Before I left Hong Kong, I decided to buy a netbook for my lecturers in the UK. Lenovo s10-2 was chosen because the version available in HK comes with 6 cell battery with interna

  • SD card not mounting

    Hi there, I know there are some discussions already open regarding this problem. Mine is a tad different, instead of not mounting, I get the "device removal message"instantly. I checked my card reader w another card, it works. The card itself works i

  • I would like SAP to make sure the sample scripts still work

    I'm very grateful to Sybase and now SAP for including sample scripts within the documentation, and as separate *.vbs files (see c:\program files\Sybase\PowerDesigner nn\VB Scripts). They really help me to understand the potential of PowerDesigner, ad

  • How to merge the Rows in ALV table?

    Hi All, I want to merge the Rows in my ALV table(SALV_WD_TABLE). Is it possible? Regards, Yugesh A.

  • Can't get working as wireless bridge - help!

    Folks I am trying to setuy my base station as a wireless bridge to ultimately connect to a network printer. I try to first connect it to my wireless network form my netopia dsl wireless router, but am having no success. Here's what doesn't make sense