Run-time errors--need help

Hi everyone,
I'd greatly appreciate some help with this java program...here's the problem:
Create a class Person that does the following:
1. Set the Last Name only
2. Set the First Name only
3. Set the Middle Name only
4. Gets the First Name
5. Gets the Middle Name
6. Gets the Last Name
7. Check whether a given last name is the same as the last name of this person.
8. Check whether a given last name is the same as the first name of this person.
9. Check whether a given first name is the same as the middle name of this person.
10. A method called equals that returns true if two objects contains the same first, middle, and last name
11. A method called makeCopy that copies the instance variables of a Person object into another Person object.
12. A method called getCopy that creates and returns the address of the object, which is a copy of another person object.
13. A method for a copy constructor.
14. A toString method to print out the name in the form (First Middle Last)
15. Write the definitions of the methods of the class Person to implement the operations for this class.
16. Write a test program to test the above.
This is what I have but I think I'm missing some of the above...also, my if...else statements aren't running the way I want.. '
public class Person {
private String firstName;
private String lastName;
private String middleName;
public Person (String first, String middle, String last) {
firstName = first;
lastName = last;
middleName = middle;
public Person() {
firstName = "";
lastName = "";
middleName = "";
public String toString() {
return (firstName + " " + middleName + " " + lastName);
public void setFirstName(String first) {
firstName = first;
public void setMiddleName(String middle) {
middleName = middle;
public void setLastName(String last) {
lastName = last;
public String getFirstName() {
return firstName;
public String getMiddleName() {
return middleName;
public String getLastName() {
return lastName;
public boolean equals(Person otherPerson) {
return (lastName.equals(otherPerson.lastName) && firstName.equals(otherPerson.firstName));
public void makeCopy(Person otherPerson) {      
lastName = otherPerson.lastName;
middleName = otherPerson.middleName;
firstName = otherPerson.firstName;
public Person getCopy() {
Person temp = new Person();
temp.firstName = firstName;
temp.lastName = lastName;
temp.middleName = middleName;
return temp;
public Person(Person otherPerson) {
firstName = otherPerson.firstName;
middleName = otherPerson.middleName;
lastName = otherPerson.lastName;
public void printName() {
System.out.println(firstName + "," + middleName + "," + lastName);
} and the test program follows
import java.util.Scanner;
public class TestProgPerson {
   static Scanner console = new Scanner(System.in);
   public static void main(String[] args) {
      Person myName = new Person("Bill", "Andrew", "Johnson");
      Person yourName = new Person();
      String firstName;
      String middleName;
      String lastName;
      System.out.print("My Name: ");
      myName.printName();
      System.out.println();
      System.out.print("Your Name: ");
      yourName.printName();
      System.out.println();
      System.out.print("Enter your first, middle, and last name: ");
      firstName = console.next();
      middleName = console.next();
      lastName = console.next();
      System.out.println();
      yourName.setName(firstName, middleName, lastName);
      if (myName.equals(yourName))
      System.out.println("Both people are the same.");
      else
      System.out.println("The two people are not the same.");
      myName.setFirstName(firstName);
      myName.setMiddleName(middleName);
      myName.setLastName(lastName);
      System.out.print("My new name: ");
      myName.printName();
      System.out.println();
      yourName.makeCopy(myName);
      System.out.print("After copying myName into yourName, yourName: ");
      yourName.printName();
      System.out.println();
}

public class Person {
     private String firstName;
     private String lastName;
     private String middleName;
     public Person (String first, String middle, String last) {
          firstName = first;
          middleName = middle;
          lastName = last;
     public Person() {
          firstName = "";
          lastName = "";
          middleName = "";
     public String toString() {
          return (firstName + " " + middleName + " " + lastName);
     public void setName(String first, String middle, String last) {
          firstName = first;
          middleName = middle;
          lastName = last;
     public void setFirstName(String first) {
          firstName = first;
     public void setMiddleName(String middle) {
          middleName = middle;
     public void setLastName(String last) {
          lastName = last;
     public String getFirstName() {
          return firstName;
     public String getMiddleName() {
          return middleName;
     public String getLastName() {
          return lastName;
     public boolean equals(Person otherPerson) {
          return (firstName == otherPerson.firstName && middleName == otherPerson.middleName &&
                         lastName == otherPerson.lastName);
     public void makeCopy(Person otherPerson) {
          firstName = otherPerson.firstName;
          middleName = otherPerson.middleName;
          lastName = otherPerson.lastName;
     public Person getCopy() {
          Person temp = new Person();
          temp.firstName = firstName;
          temp.lastName = lastName;
          temp.middleName = middleName;
          return temp;
     public Person(Person otherPerson) {
          firstName = otherPerson.firstName;
          middleName = otherPerson.middleName;
          lastName = otherPerson.lastName;
     public void printName() {
          System.out.println(firstName + " " + middleName + " " + lastName);
//Test Program for the above.
import java.util.Scanner;
public class TestProgPerson {
     static Scanner console = new Scanner(System.in);
     public static void main(String[] args) {
          Person myName = new Person("William", "Andrew", "Johnson");
          Person yourName = new Person();
          String firstName;
          String middleName;
          String lastName;
          System.out.print("My Name: ");
          myName.printName();
          System.out.println();
          System.out.print("Your Name: ");
          yourName.printName();
          System.out.println();
          System.out.print("Enter your first, middle, and last name: ");
          firstName = console.next();
          middleName = console.next();
          lastName = console.next();
          System.out.println();
          yourName.setName(firstName, middleName, lastName);
          if (myName.equals(yourName))
          System.out.println("Both people are the same.");
          else
          System.out.println("The two people are not the same.");
          myName.setFirstName(firstName);
          myName.setMiddleName(middleName);
          myName.setLastName(lastName);
          System.out.print("My new name: ");
          myName.printName();
          System.out.println();
          yourName.makeCopy(myName);
          System.out.print("After copying myName into yourName, yourName: ");
          yourName.printName();
          System.out.println();
}

Similar Messages

  • 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

  • ORA-01002 run-time error for help

    Hi, All:
    I modified little in Sample10.pc of PRO*C sample code to fit both NT and
    Linux using 8i version precompiler, with VC++ and GCC Compiler respectively.
    All process were fine when they connected to a DB Server(8i version), but
    when they connected to the other Server(8 version), the error : ORA-01002
    (Fetch out of sequence) was always issued at run-time. I checked the error
    message and found that the program was stuck on the "PREPARE" description. I
    have spent much more time debugging, but it still didn't work. Could you
    help me? I'm so preciated.
    Best regards,
    Yen-Gou Pan
    null

    Hello,
    This error comes when  there is an OpenSQL statement that tries to insert a record into a database table that is already existing.
    You need to implement  SAP Note 196113 and 1041894 along with technical consultant to help and overcome the issue.
    Br,
    Tushar

  • Forms9i run time error - Please help

    Hi friends,
    I have a problem , when I use the url like
    http://ram.sembcorpenc.com/....... Its go to search page, but if you the
    http://ip-address:8889/................ Its give error FRM-91201,
    OC4J – Error , Unable to communicate with runtime process .
    Please help if possible, very soon …
    Thank you,
    Selvam

    Hi,
    why is it using port 80 in the first request and port 8889 in teh second? Looks like the first being from OracleAs and the second from Oracle Developer Suite. Did you start the HTTP listener for the developer suite contained OC4J?
    Frank

  • Run Time Errors, Please Help.

    I am getting errors of:
    Exception in thread "main" java.lang.NumberFormatException: feet
    at java.lang.FloatingDecimal.readJavaFormatString(Unknown Source)
    at java.lang.Double.parseDouble(Unknown Source)
    at SquareDriver.main(SquareDriver.java:29)
    her is my code:
    import cs1.Keyboard;
    import java.util.*;
    import square;
    import java.lang.*;
    public class SquareDriver
         public static void main (String [] args)
              double dblLength = 0;
              String strUnits;
              StringTokenizer Tokenizer;
              final String SENTINEL = "0";
              String strPart1= null;
         String strPart2 = null;
              System.out.println("Enter a Side Length Of a Sguare");
              strUnits = Keyboard.readString( );
              Tokenizer = new StringTokenizer (strUnits);
         while (!strUnits.equals(SENTINEL))
              if (Tokenizer.hasMoreTokens())
              { strPart1 = Tokenizer.nextToken();
              dblLength=Double.parseDouble(strPart1);
              if (Tokenizer.hasMoreTokens())
              {strPart2=Tokenizer.nextToken();
    square mysquare = new square(dblLength,strPart2);
    System.out.println(mysquare);
    }//end of main method;
    }// end of class;
    public class square
         public double dblPart1;
    public String strPart2;
    public double dblArea;
    public double Perimeter;
         public square (double Length, String Units)
              dblPart1 = Length;
              strPart2 = new String(Units);
         public double dblArea()
         {dblArea = (dblPart1 * dblPart1);
           return dblArea;
         public double Perimeter()
         {Perimeter = (dblPart1 * 4);
          return Perimeter;
         public String toString()
         String output= new String("");
              String tab = "\t";
              String newline ="\n";
              output+= "Area" tabdblArea()+strPart2+ "Squared";
              output+=newline;
              output+= "Perimeter"+tab+Perimeter()+strPart2 ;
              output+=newline;
              return output;
    } // end of class square

    You are trying to parse a string "feet" to a number (double).

  • 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

  • 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.

  • 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

  • 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.

  • 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

  • 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

  • Xml Publisher  run time error '5148'

    Dear
    I am using XML publisher to convert data in excel from the oracle,so first i have generated data in xml by report builder and open xml file in Word document through >template builder >data > load xml data,it's find but i use insert menu and select all field then it give message which i have mentioned below,
    run time error '5148'
    The number must be between 1 to 63
    I think, is it column limitation because i have done this activity later but right now i have added more column so may be that's why it is showing the error but my client need to show data in excel,so how i can fulfill this requirement,is there any other solution ?
    Please help on this regard. thanks in advance.

    Just for future poor souls who may be pulling their hair out over the same issue, I eventually got to the bottom of this cryptic error message.
    Do not try to import all your fields at once if your group has over 63 of them, as it will fail.
    If you use the Insert Table option, and try to put all the fields in at once, it will give you a more meaningful message, and the one it SHOULD have given you in the first place, which is "A table cannot contain more than 63 columns".
    So - Import them, a few at a time. Then move them all into one group and you're good to go.

Maybe you are looking for

  • NEED HELP --- hooking up tv, cable box, home theater

    60" Samsung smart TV --- contains several HDMI inputs Time Warner HD cable box --- contains 1 HMDI input; components as well LG Home Theater in a box, Model #BH6820SW --- contains 1 HDMI output, red/white aux input, & yellow video output. Very simple

  • Zip files in Mail.

    Is there any way to open Zip or other compressed files in Mail on the iphone?

  • Info about documents stored through GOS .

    Hi Experts, In FB03 transaction we use GOS to store business documents. We have content repository and http service handler class for creation of the documents. Documents should be stored in directory mentioned for content repository and document inf

  • Find string in long text

    Hello, I'm looking for a way to find a specific string in all the long texts of our routing cards. Is there any FM/ TC / BAPI that can do that? Thanks, Eti

  • Regarding default select clauses executing during OWB Mapping execution -

    All- While observing the statements executing during an OWB(11gR2) Mapping execution,by monitoring the session using SQL Developer Iam finding the following statements executing multiple times and possibly consuming more of the mapping execution time