Is Not Null Validation does not work

I have a simple form with contact information (name, phone number, title, email address). The phone number is made up of 3 fields (area, phone_1, phone_2). All fields are required. When all 3 fields of phone are entered, i still get the 'Area Code' must be specified. It is there. What am I not seeing?
Can someone help? This seems so straightforward. What am I missing??
Robert

Robert,
I disabled the on-load processes so you can run page 39, enter form values, submit the page, and see validation errors (or no errors).
I think the validation is okay. Check the source and source type values for P39_CONTACT_AREA. The source refers to a non-existent page item, as seen in the page export:
p_source=>'SUBSTR(:P39_CONTACT_PHONE,1,3)',
Also, the Source Type Function should probably be PL/SQL Expression.
Similar problems with the other phone components.
Scott

Similar Messages

  • Apex 4.1. cannot see the details of not null validations generated by apex

    Hi there,
    I have worked with APEX 3 quite a while. Now I move to new place, and they use APEX 4.
    I am currently doing the Advanced Tutorials - Issues Tracker (written for 3.2 ) on an APEX 4.1.
    I am quite impressed with a lot of enhanced features of APEX 4.
    However, I think I got quite confused about the NOT NULL vaildations.
    In the tutorials, they said when creating a form based on a tablle of which the columns have NOT NULL constraint, it will automatically generate NOT NULL validation.
    But when I extend the validation section (in both Component View and Tree View), I cannot see any vaildation there.
    So I go a head and create some NOT NULL validations for all NOT NULL fields.
    Guess what, when I test the form, I got duplicate error messages.
    I get these
         6 errors have occurred
    Project Name must have some value. (Go to error)
    Start Date must have some value. (Go to error)
    Target End Date must have some value. (Go to error)
    Please provide project name. (Go to error)
    Please provide project start date. (Go to error)
    Please provide target end date. (Go to error)
    My validation has error message "Please provide project name" while the automatic one has "Project Name must have some value".
    The issue is I cannot find where the automatic validation is.
    What if I want to customise the error message rather than just "#Label# must have some value".
    Do any of you have any ideas why ?
    I guess I must have chosen something wrong during page generation.
    It could be quite simple but I don't know where to find the place that turn on/off the automatic not null validation, or at least customize these automatic error messages.
    I currenly develop the application using workspace admin account.
    Thanks a lot in advance.
    Ann

    I found it. Turn out to be the Settings, choose No for Required Value.

  • Why validation does not occur if record status is NEW?

    Hello! I have a control block MAIN with PORT item in it, which has Required property set. But when I enter that block and pass through this PORT item, it allows me to leave that item blank (and validation does not occur too), which is not what I need.
    However, if I change some other item's value (and record status becomes INSERT), validation works as expected. So, I have one workaround for my problem, but this solution is not good.
    How can it be fixed? Thanks in advance.

    It looks like the documentation is lacking in this situation. But the documentation has always been less than complete.
    On-line help also states:
        Note:  if the validation is as a result of a
        call to the VALIDATE trigger and the
        record's internal status is New, the process
        stops.So it does mention records with status=New, but it does not give you the complete story.
    Dave's explanation is correct, and his solution of setting the field in a when-new-record-instance trigger is as good as it gets.

  • How to create a single 'not null ' validation for all the items in a page ?

    Hi everyone ,
    how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
    Thanks & Regards
    Umer

    Nice1 wrote:
    bob , as u said I have done the following :
    1) under create button , there are 9 items and for each item I have set Required to 'Yes'
    2) under delete button , there is 1 item and have set Required to 'Yes' for the item
    3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
    4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
    now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
    The best solution is as the reply a couple replies up
    Create 2 page type validations as a PL/SQL with code
    1st validation
    :P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
    Set the When Button Pressed to the CREATE button
    2nd validation
    :P1_ITEM10 IS NOT NULL
    Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
    Edited by: Bob37 on Apr 27, 2012 12:02 PM

  • Country of origin not valid; country of origin is not allowed or does not exist

    Dear Expert,
    I am using SAP 9.0 PL 09 , its upgraded from 8.82. Now my problem is while updating the Sales quotation and sales order only particular series name it getting the following error with effect from  2009 to till date sales quotations and sales order. I have multiple series name.
    "Country of origin not valid; country of origin is not allowed or does not exist"
    i  have  some addon but if i stop and proceed also the same problem comming. Can any one help me it will be good.
    Thanks in advance.
    Thanks and regards,
    Shamugam V.

    Symptom
    It is not possible to add or update marketing documents if an item has a value in the Country of Origin field. The application displays the following error message: "Country of origin not valid; country of origin is not allowed or does not exist".
    Reproducing the issue
    Prerequisites:
    Your company database is not in the Russia localization or you have not enabled the Intrastat feature that is relevant to EU countries only.
    Scenario:
    1. Create or update an item using the DI API. Specify a value for in the Country of Origin field. (Note that this field is not visible in the application).
    2. Try to create a marketing document (that is, an invoice using this item).
    Actual behavior:
    The document cannot be added and the application displays the following error message "Country of origin not valid; country of origin is not allowed or does not exist".
    Expected behavior:
    The document can be added.
    Cause
    Application error
    Solution
    WORKAROUND:
    Update the affected items using the DI API as follows:
    1.  Run the following query to identify the affected items:
    select CountryOrg, * from oitm where CountryOrg is not null
    2.  In the Country of Origin field, set a blank value.
    SAP intends to provide a patch or patches in order to solve the problem described. The section Reference to Related Notes below will list the specific patches once they become available.
    The corresponding Info file of the patches in SAP Service Marketplace will also show the SAP Note number. Be aware that these references can only be set at patch release date.
    SAP will deliver patches only for selected releases at its own discretion, based on the business impact and the complexity of the implementation.
    Other terms
    country of origin, DI API, marketing documents

  • My ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix

    my ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix, other than take it to apple.
    thanks!

    The wish list only works on apps you have to pay for. To get it tap the icon of the app you want to save. After it opens at the upper right corner is a box with a arrow. Tap that then tap add to wish list list in the box that opens.

  • HT5463 hi i have an i phone 4 the do not disturb fonction does not work with?

    hi i have an i phone 4 the do not disturb fonction does not work with?

    Salut, I have the iOS6 with an iPhone 4 and still the "do not disturb" function doesn't work. I just wanted a bit of peace for a couple of hours this morning, tried this new function and NOPE no dice. My son still managed to get through. So tonight I'll put my iPhone into "airplane" mode as usual to get undisturbed sleep !

  • Validity does not lie in selected validity window.

    Hello All,
    We have some Z condition created in SAP CRM. We are maintaining the price list for ZLPT condition in General Condition Maintenance.
    But if we put today's date or any past date in Validity from then record is getting saved. but if i entered future date in valid from then its giving error Validity does not lie in selected validity window.
    The price for that some records is going to change after 2 months, so we want to maintain it now in GCM.
    Thanks in Advance.
    Ujwal

    Actual Documentation (Development Guide E41452-06):
    These Oracle Flashback Technology features are unavailable for a multitenant container database (CDB):
    - For Oracle Database 12c Release 1 (12.1.0.1), Flashback Data Archive (FDA) is not supported in a CDB.
    - For Oracle Database 12c Release 1 (12.1.0.2), this restriction is removed.
    - Flashback Transaction Query is not supported in a CDB.
    - Flashback Transaction Backout is not supported in a CDB
    Guess CDB always ment Multitenant Database and not the CDB$ROOT (maybe someone from Oracle can clarify).

  • ...is not abstract and does not override abstract method compare

    Why am I getting the above compile error when I am very clearly overriding abstract method compare (ditto abstract method compareTo)? Here is my code -- which was presented 1.5 code and I'm trying to retrofit to 1.4 -- followed by the complete compile time error. Thanks in advance for your help (even though I'm sure this is an easy question for you experts):
    import java.util.*;
       This program sorts a set of item by comparing
       their descriptions.
    public class TreeSetTest
       public static void main(String[] args)
          SortedSet parts = new TreeSet();
          parts.add(new Item("Toaster", 1234));
          parts.add(new Item("Widget", 4562));
          parts.add(new Item("Modem", 9912));
          System.out.println(parts);
          SortedSet sortByDescription = new TreeSet(new
             Comparator()
                public int compare(Item a, Item b)   // LINE CAUSING THE ERROR
                   String descrA = a.getDescription();
                   String descrB = b.getDescription();
                   return descrA.compareTo(descrB);
          sortByDescription.addAll(parts);
          System.out.println(sortByDescription);
       An item with a description and a part number.
    class Item implements Comparable     
          Constructs an item.
          @param aDescription the item's description
          @param aPartNumber the item's part number
       public Item(String aDescription, int aPartNumber)
          description = aDescription;
          partNumber = aPartNumber;
          Gets the description of this item.
          @return the description
       public String getDescription()
          return description;
       public String toString()
          return "[descripion=" + description
             + ", partNumber=" + partNumber + "]";
       public boolean equals(Object otherObject)
          if (this == otherObject) return true;
          if (otherObject == null) return false;
          if (getClass() != otherObject.getClass()) return false;
          Item other = (Item) otherObject;
          return description.equals(other.description)
             && partNumber == other.partNumber;
       public int hashCode()
          return 13 * description.hashCode() + 17 * partNumber;
       public int compareTo(Item other)   // OTHER LINE CAUSING THE ERROR
          return partNumber - other.partNumber;
       private String description;
       private int partNumber;
    }Compiler error:
    TreeSetTest.java:25: <anonymous TreeSetTest$1> is not abstract and does not over
    ride abstract method compare(java.lang.Object,java.lang.Object) in java.util.Com
    parator
                public int compare(Item a, Item b)
                           ^
    TreeSetTest.java:41: Item is not abstract and does not override abstract method
    compareTo(java.lang.Object) in java.lang.Comparable
    class Item implements Comparable
    ^
    2 errors

    According to the book I'm reading, if you merely take
    out the generic from the code, it should compile and
    run in v1.4 (assuming, of course, that the class
    exists in 1.4). I don't know what book you are reading but that's certainly incorrect or incomplete at least. I've manually retrofitted code to 1.4, and you'll be inserting casts as well as replacing type references with Object (or the erased type, to be more precise).
    These interfaces do exist in 1.4, and
    without the generics.Exactly. Which means compareTo takes an Object, and you should change your overriding method accordingly.
    But this raises a new question: how does my 1.4
    compiler know anything about generics? It doesn't and it can't. As the compiler is telling you, those interfaces expect Object. Think about it, you want to implement one interface which declares a method argument type of Object, in several classes, each with a different type. Obviously all of those are not valid overrides.

  • HELP iPod classic (2007) 80 GB FROZEN SCREEN (Now Playing window showing the song that is suppose to be playing, will not respond to buttons, Will not SYNC, iTunes does not recognize it AT ALL when I plug it in. Has anyone had similar experience? fixed?

    HELP
    My iPod classic (2007) 80 GB FROZEN SCREEN (Now Playing window showing the song that is suppose to be playing, will not respond to buttons, Will not SYNC, iTunes does not recognize it AT ALL when I plug it in. Will not shut off, will not charge... pretty frustrated, I updated it recently (within the last 10 days....Has anyone had similar experience? If so was it fixed? Please post any help for me... thank you... I am pretty frustrated right now.

    its fixed!!  After posting my problem with the FROZEN ipod classic (2007) 80 gb a screen popped up with similar subjects that I did not find in my original search.  'Rich Fleming' in the community posted a suggestion to someone with a similar frozen issue and it WORKED when I tried it. 
    hold the 'menu' and the 'circle' buttons down at the same time, KEEP the pressed until the apple appears. and now it is working.  Hope this helps others.

  • Publish to folder but website says: 'Not Found: Resource does not exist'

    Hi Everyone,
    I'm new here so I apologise sincerely if a similar question has been asked and answered.
    Well, I am currently trying to make a webpage for my mom on iWeb 08 and we also purchased a personal domain name. We are really new to this so I suppose its all still a bit confusing..
    I figured out we needed to enter a 'CNAME' into the domain site in order for our iWeb pages to get redirected to her site. And so we put in 'web.me.com' (I think) and were told that it 'should' work. So when I went to her personal URL, it initially asked for a username and password (even though I did not set one up through iWeb). I typed in her personal username and password as this was the only plausible one I could think of... but then the page loaded and the only thing it says is "Not Found: Resource does not exist."
    I'm not sure what is wrong - did I input the wrong CNAME or was I supposed to do something else as well as "Publish to a folder" --> then enter the URL for the site at bottom...?
    Would really appreciate some feedback - so lost right now!!

    Why are you publishing to a folder? You only need to do this if you are uploading directly to the domain webspace and you need an ftp client to do this such as Cyberduck.
    CNAME is only used if you are publishing the site to a MobileMe account and you are forwarding the domain to your MMe account?
    What is it that you are doing?
    If using CNAME, then you need to go to your MMe account and enter the domain name under the personal section, enter personal domain. Then publish your site and then go to your domain name registrar and go to the DNS settings and set the CNAME up to forward to web.me.com.
    If you are using CNAME forwarding, then from within iWeb you need to click on Publish All to MobileMe and NOT TO A FOLDER. The folder option is ONLY if you are uploading directly with ftp to your domain space.

  • UPC_F104 Entry not possible, var does not have replacement type user-spec.

    Hi,
    On of my exit variable keeps issuing me the following message when selecting a value:
    UPC_F104 Entry not possible, var does not have replacement type user-spec. vals
    This exit variable is based on other variables (non-user specific). The indicator 'Restriction of values required by user' is flagged.
    Any idea what might be the issue ?
    Thanks
    David

    David,
    User exit variables won't work if there are multiple rows of values being derived incase 'Restriction of values required by user' is flagged.
    Make sure that derivation of variable value is restricted to only one row.
    if you have a need to derive multiple rows of values, simply uncheck the flag 'Restriction of values required by user' & you will be good to go.
    hope it helps.

  • Is not abstract and does not override abstract method actionPerformed

    I dont how to corr. Please help!! and thank you very much!!
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class test extends JFrame implements ActionListener, ItemListener
              private CenterPanel centerPanel;
              private QuestionPanel questionPanel;
              private ButtonPanel buttonPanel;
              private ResponsePanel responsePanel;
              private JButton b1,b2,b3,b4,b5;               //Create five references to Jbutton instances
         private JTextField t1,t2,t3,t4,t5;          //Create five references to JTextField instances
              private JLabel label1;                    //Create one references to JLabel instances
              private JRadioButton q1,q2,q3;               //Create three references to JRadioButton instances
              private ButtonGroup radioGroup;               //Create one references to Button Group instances
              private int que1[] = new int[5];           //Create int[4] Array
              private int que2[] = new int[5];
              private int que3[] = new int[5];
              private String temp1, temp2, temp3, temp4, temp5, temp6, temp7, temp8, temp9, temp10,
                        temp11, temp12, temp13, temp14, temp15;
    public test (String header)
              super(header);
              Container container = getContentPane();
              label1 = new JLabel ("PLease click on your response to ");     
              q1 = new JRadioButton("I understand most of the content of this subject",true);
              add(q1);
              q2 = new JRadioButton("I see the relevance of the subject to my degree",false);
              add(q2);
              q3 = new JRadioButton("The workload in this subject is appropriate",false);
              add(q3);
              radioGroup = new ButtonGroup();               //JRadioButton belong to ButtonGroup
              radioGroup.add(q1);
              radioGroup.add(q2);
              radioGroup.add(q3);
              JPanel buttonPanel = new JPanel();
              JPanel responsePanel = new JPanel();
              JPanel questionPanel = new JPanel();
              JPanel centerPanel = new JPanel();
              b1 = new JButton ("Strongly DISAGREE");          //Instantiate JButton with text
              b1.addActionListener (this);               //Register JButtons to receive events
              b2 = new JButton ("DISAGREE");
              b2.addActionListener (this);
              b3 = new JButton ("Neither AGREE or DISAGREE");
              b3.addActionListener (this);
              b4 = new JButton ("AGREE");
              b4.addActionListener (this);
              b5 = new JButton ("Strongly AGREE");
              b5.addActionListener (this);
              buttonPanel.setLayout(new GridLayout(5,1));
              buttonPanel.add(b1);
              buttonPanel.add(b2);
              buttonPanel.add(b3);
              buttonPanel.add(b4);
              buttonPanel.add(b5);
              t1 = new JTextField ("0",3);               //JTextField contains empty string
              t2 = new JTextField ("0",3);
              t3 = new JTextField ("0",3);
              t4 = new JTextField ("0",3);
              t5 = new JTextField ("0",3);
              t1.setEditable( false );
              t2.setEditable( false );
              t3.setEditable( false );
              t4.setEditable( false );
              t5.setEditable( false );
              responsePanel.setLayout(new GridLayout(5,1));
              responsePanel.add(t1);
              responsePanel.add(t2);
              responsePanel.add(t3);
              responsePanel.add(t4);
              responsePanel.add(t5);
              questionPanel.setLayout(new GridLayout(4,1));
              questionPanel.add(label1);
              questionPanel.add(q1);
              questionPanel.add(q2);
              questionPanel.add(q3);
              centerPanel.add(buttonPanel,BorderLayout.CENTER);
              centerPanel.add(responsePanel,BorderLayout.EAST);
              container.add(centerPanel,BorderLayout.WEST);
              container.add(questionPanel,BorderLayout.NORTH);
              q1.addActionListener(
                   new ActionListener(){
              public void actionPerformed( ActionEvent e )          
    {                                        //actionPerformed of all registered listeners
              if (e.getSource() == b1) {
                   que1[0] = Integer.parseInt(t1.getText()) + 1;
                   String temp1 = String.valueOf(que1[0]);
              t1.setText(temp1);
              else if (e.getSource() == b2)     {
                   que1[1] = Integer.parseInt(t2.getText()) + 1;
                   String temp2 = String.valueOf(que1[1]);
              t2.setText(temp2);
              else if (e.getSource() == b3)     {
                   que1[2] = Integer.parseInt(t3.getText()) + 1;
                   String temp3 = String.valueOf(que1[2]);
              t3.setText(temp3);
              else if (e.getSource() == b4)     {
                   que1[3] = Integer.parseInt(t4.getText()) + 1;
                   String temp4 = String.valueOf(que1[3]);
              t4.setText(temp4);
              else if (e.getSource() == b5)     {
                   que1[4] = Integer.parseInt(t5.getText()) + 1;
                   String temp5 = String.valueOf(que1[4]);
              t5.setText(temp5);
    } //end action performed
              q2.addActionListener(
                   new ActionListener(){
              public void actionPerformed( ActionEvent e )          
    {                                        //actionPerformed of all registered listeners
              if (e.getSource() == b1) {
                   que2[0] = Integer.parseInt(t1.getText()) + 1;
                   String temp6 = String.valueOf(que2[0]);
              t1.setText(temp1);
              else if (e.getSource() == b2)     {
                   que2[1] = Integer.parseInt(t2.getText()) + 1;
                   String temp7 = String.valueOf(que2[1]);
              t2.setText(temp7);
              else if (e.getSource() == b3)     {
                   que2[2] = Integer.parseInt(t3.getText()) + 1;
                   String temp8 = String.valueOf(que2[2]);
              t3.setText(temp8);
              else if (e.getSource() == b4)     {
                   que2[3] = Integer.parseInt(t4.getText()) + 1;
                   String temp9 = String.valueOf(que2[3]);
              t4.setText(temp9);
              else if (e.getSource() == b5)     {
                   que2[4] = Integer.parseInt(t5.getText()) + 1;
                   String temp10 = String.valueOf(que2[4]);
              t5.setText(temp10);
    } //end action performed
              q3.addActionListener(
                   new ActionListener(){
              public void actionPerformed( ActionEvent e )          
    {                                        //actionPerformed of all registered listeners
              if (e.getSource() == b1) {
                   que3[0] = Integer.parseInt(t1.getText()) + 1;
                   String temp11 = String.valueOf(que3[0]);
              t1.setText(temp11);
              else if (e.getSource() == b2)     {
                   que3[1] = Integer.parseInt(t2.getText()) + 1;
                   String temp12 = String.valueOf(que3[1]);
              t2.setText(temp12);
              else if (e.getSource() == b3)     {
                   que3[2] = Integer.parseInt(t3.getText()) + 1;
                   String temp13 = String.valueOf(que3[2]);
              t3.setText(temp13);
              else if (e.getSource() == b4)     {
                   que3[3] = Integer.parseInt(t4.getText()) + 1;
                   String temp14 = String.valueOf(que3[3]);
              t4.setText(temp14);
              else if (e.getSource() == b5)     {
                   que3[4] = Integer.parseInt(t5.getText()) + 1;
                   String temp15 = String.valueOf(que3[4]);
              t5.setText(temp15);
    } //end action performed
    }//end constructor test
    public void itemStateChanged(ItemEvent item) {
    //int state = item.getStateChange();
    //if (q1 == item.SELECTED)
              public class ButtonPanel extends JPanel
                   public ButtonPanel()
              public class CenterPanel extends JPanel
                   public CenterPanel()
              public class QuestionPanel extends JPanel
                   public QuestionPanel()
              public class ResponsePanel extends JPanel
                   public ResponsePanel()
    public static void main(String [] args)
         test surveyFrame = new test("Student Survey") ;
         surveyFrame.setSize( 500,300 );
         surveyFrame.setVisible(true);
         surveyFrame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
         }//end main
    }//end class test

    is not abstract and does not override abstract method actionPerformed
    Oh, I see that the title of your post is an error message? Ok. Well, the test class is declared as implementing an ActionListener. That means the test class must have an actionPerformed() method. Your test class apparently does not.
    It does not appear that the test class needs to implement ActionListener. You are using annonymous classes as listeners.

  • Is not abstract and does not override abstract method tablechanged

    I will remove all the gui code to make it shorter, but my problem lies with my InteractiveTableModelListener.
    public class Meet extends JPanel{
      private static void createAndShowGUI() {
            JFrame frame = new JFrame("MEET_dataTable");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.add(new Meet(), BorderLayout.CENTER);
            frame.pack();
            frame.setVisible(true);
    public class InteractiveTableModelListener implements TableModelListener {
         public void TableChanged(TableModelEvent evt) {
      if (evt.getType() == TableModelEvent.UPDATE) {
          int column = evt.getColumn();
          int row = evt.getFirstRow();
          dataTable.setColumnSelectionInterval(column + 1, column + 1);
          dataTable.setRowSelectionInterval(row, row);
    class InteractiveRenderer extends DefaultTableCellRenderer {
      protected int interactiveColumn;
      public InteractiveRenderer(int interactiveColumn) {
          this.interactiveColumn = interactiveColumn;
    public Component getTableCellRendererComponent(JTable dataTable,
         Object value, boolean isSelected, boolean hasFocus, int row,
         int column)
      Component c = super.getTableCellRendererComponent(dataTable, value, isSelected, hasFocus, row, column);
       if (column == interactiveColumn && hasFocus) {
         if ((Meet.this.tableModel.getRowCount() - 1) == row &&
            !Meet.this.tableModel.hasEmptyRow())
             Meet.this.tableModel.addEmptyRow();
        highlightLastRow(row);
      return c;
    public void highlightLastRow(int row) {
         int lastrow = tableModel.getRowCount();
      if (row == lastrow - 1) {
          dataTable.setRowSelectionInterval(lastrow - 1, lastrow - 1);
      else {
          dataTable.setRowSelectionInterval(row + 1, row + 1);
         dataTable.setColumnSelectionInterval(0, 0);
    public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                UIManager.put("swing.boldMetal", Boolean.FALSE);
                createAndShowGUI();
    }As i say, i have removed all the gui code to make it shorter, but in this code i create the table and add all the model to it. I am being returned with the error
    Meet.InteractiveTableModelListener is not abstract and does not override abstract method tableChanged(javax.swing.event.TableModelEvent)in javax.swing.event.TableModelListener
    what would be causing this error?
    Cheers

    Sorry, just figured out my silly error, the method is tableChanged not TableChanged.
    cheers
    TOPIC CLOSED
    Edited by: nick2price on Sep 11, 2008 7:08 AM

  • Is not abstract and does not override abstract method ERROR

    Hello. I'm new at all this, and am attempting to recreate a sample code out of my book (Teach Yourself XML in 24 Hours), and I keep getting an error. I appriciate any help.
    This is the Error that I get:
    DocumentPrinter is not abstract and does not override abstract method skippedEntity(java.lang.String) in org.xml.sax.ContentHandler
    public class DocumentPrinter implements  ContentHandler, ErrorHandler
            ^This is the sourcecode:
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    public class DocumentPrinter implements  ContentHandler, ErrorHandler
    // A Constant containing the name of the SAX parser to use.
    private static final String PARSER_NAME = "org.apache.xerces.parsers.SAXParser";
    public static void main(String[] args)
       // Check to see whether the user supplied any command line arguments.  If not, print an error and exit.
       if (args.length == 0)
         System.out.println("No XML document path specified.");
         System.exit(1);
       // Create a new instance of the DocumentPrinter class.
       DocumentPrinter dp = new DocumentPrinter();
       try
         // Create a new instance of the XML Parser.
         XMLReader parser = (XMLReader)Class.forName(PARSER_NAME).newInstance();
         // Set the parser's content handler
        // parser.setContentHandler(dp);
         // Set the parsers error handler
         parser.setErrorHandler(dp);
         // Parse the file named in the argument
         parser.parse(args[0]);
       catch (Exception ex)
         System.out.println(ex.getMessage());
         ex.printStackTrace();
    public void characters(char[] ch, int start, int length)
       String chars ="";
       for (int i = start; i < start + length; i++)
         chars = chars + ch;
    System.out.println("Recieved characters: " + chars);
    public void startDocument()
    System.out.println("Start Document.");
    public void endDocument()
    System.out.println("End of Document.");
    public void startElement(String namespaceURI, String localName, String qName, Attributes atts)
    System.out.println("Start element: " + localName);
    for (int i = 0; i < atts.getLength(); i++)
    System.out.println(" Attribute: " + atts.getLocalName(i));
    System.out.println(" Value: " + atts.getValue(i));
    public void endElement(String namespaceURI, String localName, String qName)
    System.out.println("End of element: " + localName);
    public void startPrefixMapping(String prefix, String uri)
    System.out.println("Prefix mapping: " + prefix);
    System.out.println("URI: " + uri);
    public void endPrefixMapping(String prefix)
    System.out.println("End of prefix mapping: " + prefix);
    public void ignorableWhitespace(char[] ch, int start, int length)
    System.out.println("Recieved whitespace.");
    public void processingInstruction(String target, String data)
    System.out.println("Recieved processing instruction:");
    System.out.println("Target: " + target);
    System.out.println("Data: " + data);
    public void setDocumentLocation(Locator locator)
    // Nada
    public void error(SAXParseException exception)
    System.out.println("Parsing error on line " + exception.getLineNumber());
    public void fatalError(SAXParseException exception)
    System.out.println("Fatal parsing error on line " + exception.getLineNumber());
    public void warning(SAXParseException exception)
    System.out.println("Warning on line " + exception.getLineNumber());

    Check to make sure that the arguments are consistent with your ContentHandler class. Probably the wrong type.
    I think you forgot to include the skippedEntity method, it seems to be missing. Even if an implemented class has a method that you are not using, you still have to include the method in your code even if it doesn't do anything.
    Message was edited by:
    ChargersTule1

Maybe you are looking for

  • HT4718 On the Mac x utility screen my system is asking for "system lock PIN"

    I have forget my password of MacBook Air. I tried to reset by holding the Command R while booting. But on the Mac x utility screen it is asking for system pin. I don't know what to do. Please suggest. I am ready to reinstall the is but don't have any

  • IPad goes crazy when using it while charging

    Hi, these couple of days my new iPad started to act weird whenever I'm using it while the charging port is intact with my new iPad. Which means that it is not responding to my touches when the charge port is intact and reacts normally when I pull out

  • Problem Selecting specific iPhoto events and albums from BB Desktop Software

    Hello, The Desktop Software is not showing the specific events and albums from iPhotos. Fine on iTunes but not iPhoto. Anybody can help fix??

  • Loading family DVD into iMovie

    Ok, I know this has probably been answered 1,000 times here, but I can't quite find what I need. I am a HS football coach and do the video editing for the team. One of the parents just handed me several DVD's of his video recordings. Is it possible t

  • IWork 09 installing problems!

    Hello! I've bought iWork 09 on ebay, and here is my problem: package arrived, it looked like iWork was never opened but when i installed dvd on my MPB (SL 10.6.1) it requested serial which was not in package! what to do?