Problem creating inner class for JTable panel in a class for an application

i want to create an inner class for a database application development.
but there is occuring exceptions & errors.i want to retrieve data & enter data also from many tables in a database.i want an urgent help for this plz.

http://forum.java.sun.com/thread.jsp?forum=57&thread=271752
See this thread, please.

Similar Messages

  • Problems creating jar in netbeans - Failed to load main-class

    Hi,
    I was wondering if someone could help with a problem I'm having creating a jar. I have a project in netbeans 6.5 and used Netbeans' GUI Builder (matisse) to create some of the UI elements in the project. I've tried many times to do "Clean and Build" to build my project. It builds successfully, but the jar that gets created gives the following error:
    "Failed to load Main-Class manifest attribute from C:\... filepath here...."
    I checked the manifest file, and that contains:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: 11.0-b16 (Sun Microsystems Inc.)
    I tried adding Main-Class: gui.MainGUI (which would be the class that contains my main function) to this file and tried running it again, but it then said "Invalid or corrupt Jarfile" when I try running it. MainGUI does exist in the Jar. I also tried with just Main-Class: MainGUI, same error.
    Does anyone know what I'm doing wrong? In NetBeans, if you go to the project properties, Main Class is specified as "gui.MainGUI" also, so that isn't the issue. Additionally, I have Swing Layout Extensions and Swing Application Framework included in the added libraries (required for the GUI builder, I think).
    Thanks for any help.

    Try creating a new Java project and be sure to choose project type Java Application.
    Copy source code to the newly created project and try again.

  • Problem creating a new Glassfish 4 server with Oracle Tools for Kepler

    Hello,
    I installed Oracle Tools for Kepler with no problem. But when I want to create a new server and fill in the directory to the server (which is valid, C:/glassfish4/glassfish), nothing happens. I can only click 'back' or 'cancel'.
    There is no error message.
    Is this a bug in Eclipse or Oracle Tools, or do I do something wrong ?
    Thanks in advance for help.

    Hi,
    Could you let us know where you installed the GlassFish tools plugins from ?
    Glassfish 4 support in OEPE has been available since Glassfish was released in June. But it looks like a bug may have been introduced in the latest build  available on  http://download.java.net/glassfish/ which does not exist in the version available at http://download.oracle.com/otn_software/oepe/12.1.2.1/kepler/repository
    The workaround on the version you are running is to enter a dummy password value and this should allow you to create the Glassfish 4 server.
    I will be filing a bug to track this issue
    thanks
    Raj

  • Problem in cell selection in JTable Java Swing

    hii
    I am using JTable that shows data from database. I have developed one functionality. I change one cell value and then select multiple cell. If I press F12 function key then it copies first selected value and past it to another selected cells. it is working properly but when I press F12 it sets the last selected cell in editable mode. I want that all cell which has been pasted should be selected (with default blue colour not in editing mode). I am using ListSelectionListener for JTable Cell Selection and KeyListener for F12 functionality.
    Please give some solution
    I can not override editCellAt Method because i have already extended JFrame. and i tried to do this with Jtable.getSelectedColumn and getSelectedRow it is displaying the same value, by this how can I get the particular area of selection means Row nd Column Selected.
    How would I know the current selection when user selects more than one cell???
    Thanks
    Edited by: 850979 on 11-Apr-2011 02:13
    Edited by: 850979 on 11-Apr-2011 03:59

    camickr wrote:
    Presumably, JTable installs an action for the F12 key that results in starting editing the last selected cell.
    There are no bindings for F12. See the [url http://www.camick.com/java/blog.html?name=key-bindings]Key Bindings listing. (...)
    Right.
    Of course it doesn't make sense that a F? key should invoke the editorI thought he meant F2 ("edit" on Windows), so that sounded natural.
    All KeyEvents are passed to the editor for the cell and the editor is psuedo invoked. That is, the caret is not placed on the text field used as the editor, but the character typed is added to the editor. You can then either use tab/enter to save the text or use the escape key to cancel the editing.Thanks for the explanation. I had never noticed (I kept on double-clicking my JTable cells when I wanted to edit them! :o)
    Of course it doesn't make sense that a F? key should invoke the editor, but this is a by product of all KeyEvents being forwarded so you don't have to have special Key Bindings for every character.You're right - as always.
    They (Sun) could have filtered out some of the keys such as those, though, because as noted by the OP the current behavior is unintuitive.
    To better control when the cell is editable based on the KeyEvent you can override the table with code like <snipped>
    As you suggested using a Key Binding will prevent this behaviour as well (but only for that key).Right again, but in this specific case that is acceptable (the developer wants to attach a specific behavior to a specific key only).
    OP here is an SSCCE of that second approach:
    public class TestKeyBindingsOnJTable {
        public static void main(String... args) {
            final DefaultTableModel dtm = new DefaultTableModel(new String[] {"A", "B"}, 0);
            dtm.addRow(new String[]{"A1", "B1"});
            dtm.addRow(new String[]{"A2", "B2"});
            dtm.addRow(new String[]{"A3", "B3"});
            JTable table = new JTable(dtm);
            table.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_F12, 0), "clear");
            table.getActionMap().put("clear", new AbstractAction() {
                public void actionPerformed(ActionEvent e) {
                    dtm.removeRow(0);
            JOptionPane.showMessageDialog(null, table);
    }Edited by: jduprez on Apr 8, 2011 9:36 PM

  • URGENT HELP NEEDED FOR JTABLE PROBLEM!!!!!!!!!!!!!!!!!

    firstly i made a jtable to adds and deletes rows and passes the the data to the table model from some textfields. then i wanted to add a tablemoselistener method in order to change the value in the columns 1,2,3,4 and set the result of them in the column 5. when i added that portion of code the buttons that added and deleted rows had problems to function correctly..they dont work at all..can somebody have a look in my code and see wot is wrong..thanx in advance..
    below follows the code..sorry for the mesh of the code..you can use and run the code and notice the problem when you press the add button..also if you want delete the TableChanged method to see that the add button works perfect.
    * Created on 03-Aug-2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    * @author Administrator
    * TODO To change the template for this generated type comment go to
    * Window - Preferences - Java - Code Style - Code Templates
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import java.io.*;
    public class NodesTable extends JFrame implements TableModelListener, ActionListener {
    JTable jt;
    DefaultTableColumnModel dtcm;
    TableColumn column[] = new TableColumn[100];
    DefaultTableModel dtm;
    JLabel Name,m1,w1,m2,w2;
    JTextField NameTF,m1TF,w1TF,m2TF,w2TF;
    String c [] ={ "Name", "Assessment1", "Weight1" , "Assessment2","Weight2 ","TotalMark"};
    float x=0,y=0,tMark=0,z = 0;
    float j=0;
    int i;
         JButton DelButton;
         JButton AddButton;
         JScrollPane scrollPane;
         JPanel mainPanel,buttonPanel;
         JFrame frame;
         Object[][] data =
              {"tami", new Float(1), new Float(1.11), new Float(1.11),new Float(1),new Float(1)},
              {"tami", new Float(1), new Float(2.22), new Float(2.22),new Float(1),new Float(1)},
              {"petros", new Float(1), new Float(3.33), new Float(3.33),new Float(1),new Float(1)},
              {"petros", new Float(1), new Float(4.44), new Float(4.44),new Float(1),new Float(1)}
    public NodesTable() {
    super("Student Marking Spreadsheet");
    this.AddNodesintoTable();
    setSize(400,250);
    setVisible(true);
    public void AddNodesintoTable(){
    // Create a vector object and load them with the data
    // to be placed on each row of the table
    dtm = new DefaultTableModel(data,c);
    dtm.addTableModelListener( this );
    jt = new JTable(dtm){
         // Returning the Class of each column will allow different
              // renderers to be used based on Class
              public Class getColumnClass(int column)
                   return getValueAt(0, column).getClass();
              // The Cost is not editable
              public boolean isCellEditable(int row, int column)
                   int modelColumn = convertColumnIndexToModel( column );
                   return (modelColumn == 5) ? false : true;
    //****************************User Input**************************
    //Add another node
    //Creating and setting the properties
    //of the panel's component (panels and textfields)
    Name = new JLabel("Name");
    Name.setForeground(Color.black);
    m1 = new JLabel("Mark1");
    m1.setForeground(Color.black);
    w1 = new JLabel("Weigth1");
    w1.setForeground(Color.black);
    m2= new JLabel("Mark2");
    m2.setForeground(Color.black);
    w2 = new JLabel("Weight2");
    w2.setForeground(Color.black);
    NameTF = new JTextField(5);
    NameTF.setText("Node");
    m1TF = new JTextField(5);
    w1TF = new JTextField(5);
    m2TF=new JTextField(5);
    w2TF=new JTextField(5);
    //creating the buttons
    JPanel buttonPanel = new JPanel();
    AddButton=new JButton("Add Row");
    DelButton=new JButton("Delete") ;
    buttonPanel.add(AddButton);
    buttonPanel.add(DelButton);
    //adding the components to the panel
    JPanel inputpanel = new JPanel();
    inputpanel.add(Name);
    inputpanel.add(NameTF);
    inputpanel.add(m1);
    inputpanel.add(m1TF);
    inputpanel.add(w1);
    inputpanel.add(w1TF);
    inputpanel.add(m2);
    inputpanel.add(m2TF);
    inputpanel.add(w2TF);
    inputpanel.add(w2);
    inputpanel.add(AddButton);
    inputpanel.add(DelButton);
    //creating the panel and setting its properties
    JPanel tablepanel = new JPanel();
    tablepanel.add(new JScrollPane(jt, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED
    , JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS));
    getContentPane().add(tablepanel, BorderLayout.CENTER);
    getContentPane().add(inputpanel, BorderLayout.SOUTH);
    //Method to add row for each new entry
    public void addRow()
    Vector r=new Vector();
    r=createBlankElement();
    dtm.addRow(r);
    jt.addNotify();
    public Vector createBlankElement()
    Vector t = new Vector();
    t.addElement((String) " ");
    t.addElement((String) " ");
    t.addElement((String) " ");
    t.addElement((String) " ");
    t.addElement((String) " ");
    return t;
    // Method to delete a row from the spreadsheet
    void deleteRow(int index)
    if(index!=-1) //At least one Row in Table
    dtm.removeRow(index);
    jt.addNotify();
    // Method that adds and deletes rows
    // from the table by pressing the
    //corresponding buttons
    public void actionPerformed(ActionEvent ae){
         Float z=new Float (m2TF.getText());
    String Name= NameTF.getText();
    Float x= new Float(m1TF.getText());
    Float y= new Float(w1TF.getText());
    Float j=new Float (w2TF.getText());
    JFileChooser jfc2 = new JFileChooser();
    String newdata[]= {Name,String.valueOf(x),String.valueOf(y),
    String.valueOf(z),String.valueOf(j)};
    Object source = ae.getSource();
    if(ae.getSource() == (JButton)AddButton)
    addRow();
    if (ae.getSource() ==(JButton) DelButton)
    deleteRow(jt.getSelectedRow());
    //method to calculate the total mark in the TotalMark column
    //that updates the values in every other column
    //It takes the values from the column 1,2,3,4
    //and changes the value in the column 5
    public void tableChanged(TableModelEvent e) {
         System.out.println(e.getSource());
         if (e.getType() == TableModelEvent.UPDATE)
              int row = e.getFirstRow();
              int column = e.getColumn();
              if (column == 1 || column == 2 ||column == 3 ||column == 4)
                   TableModel model = jt.getModel();
              float     q= ((Float)model.getValueAt(row,1)).floatValue();
              float     w= ((Float)model.getValueAt(row,2)).floatValue();
              float     t= ((Float)model.getValueAt(row,3)).floatValue();
              float     r= ((Float)model.getValueAt(row,4)).floatValue();
                   Float tMark = new Float((q*w+t*r)/(w+r) );
                   model.setValueAt(tMark, row, 5);
    // Which cells are editable.
    // It is only necessary to implement this method
    // if the table is editable
    public boolean isCellEditable(int row, int col)
    { return true; //All cells are editable
    public static void main(String[] args) {
         NodesTable t=new NodesTable();
    }

    There are too many mistakes in your program. It looks like you are new to java.
    Your add and delete row buttons are not working because you haven't registered your action listener with these buttons.
    I have modifide your code and now it works fine. Just put some validation code for the textboxes becuase it throws exception when user presses add button without entering anything.
    Here is the updated code: Do the diff and u will know my changes
    * Created on 03-Aug-2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    * @author Administrator
    * TODO To change the template for this generated type comment go to Window -
    * Preferences - Java - Code Style - Code Templates
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import javax.swing.table.DefaultTableColumnModel;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableColumn;
    import javax.swing.table.TableModel;
    public class NodesTable extends JFrame implements TableModelListener,
              ActionListener {
         JTable jt;
         DefaultTableColumnModel dtcm;
         TableColumn column[] = new TableColumn[100];
         DefaultTableModel dtm;
         JLabel Name, m1, w1, m2, w2;
         JTextField NameTF, m1TF, w1TF, m2TF, w2TF;
         String c[] = { "Name", "Assessment1", "Weight1", "Assessment2", "Weight2 ",
                   "TotalMark" };
         float x = 0, y = 0, tMark = 0, z = 0;
         float j = 0;
         int i;
         JButton DelButton;
         JButton AddButton;
         JScrollPane scrollPane;
         JPanel mainPanel, buttonPanel;
         JFrame frame;
         public NodesTable() {
              super("Student Marking Spreadsheet");
              this.AddNodesintoTable();
              setSize(400, 250);
              setVisible(true);
         public void AddNodesintoTable() {
              // Create a vector object and load them with the data
              // to be placed on each row of the table
              dtm = new DefaultTableModel(c,0);
              dtm.addTableModelListener(this);
              jt = new JTable(dtm) {
                   // The Cost is not editable
                   public boolean isCellEditable(int row, int column) {
                        int modelColumn = convertColumnIndexToModel(column);
                        return (modelColumn == 5) ? false : true;
              //****************************User Input**************************
              //Add another node
              //Creating and setting the properties
              //of the panel's component (panels and textfields)
              Name = new JLabel("Name");
              Name.setForeground(Color.black);
              m1 = new JLabel("Mark1");
              m1.setForeground(Color.black);
              w1 = new JLabel("Weigth1");
              w1.setForeground(Color.black);
              m2 = new JLabel("Mark2");
              m2.setForeground(Color.black);
              w2 = new JLabel("Weight2");
              w2.setForeground(Color.black);
              NameTF = new JTextField(5);
              NameTF.setText("Node");
              m1TF = new JTextField(5);
              w1TF = new JTextField(5);
              m2TF = new JTextField(5);
              w2TF = new JTextField(5);
              //creating the buttons
              JPanel buttonPanel = new JPanel();
              AddButton = new JButton("Add Row");
              AddButton.addActionListener(this);
              DelButton = new JButton("Delete");
              DelButton.addActionListener(this);
              buttonPanel.add(AddButton);
              buttonPanel.add(DelButton);
              //adding the components to the panel
              JPanel inputpanel = new JPanel();
              inputpanel.add(Name);
              inputpanel.add(NameTF);
              inputpanel.add(m1);
              inputpanel.add(m1TF);
              inputpanel.add(w1);
              inputpanel.add(w1TF);
              inputpanel.add(m2);
              inputpanel.add(m2TF);
              inputpanel.add(w2TF);
              inputpanel.add(w2);
              inputpanel.add(AddButton);
              inputpanel.add(DelButton);
              //creating the panel and setting its properties
              JPanel tablepanel = new JPanel();
              tablepanel.add(new JScrollPane(jt,
                        JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                        JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS));
              getContentPane().add(tablepanel, BorderLayout.CENTER);
              getContentPane().add(inputpanel, BorderLayout.SOUTH);
         //Method to add row for each new entry
         public void addRow() {
              Float z = new Float(m2TF.getText());
              String Name = NameTF.getText();
              Float x = new Float(m1TF.getText());
              Float y = new Float(w1TF.getText());
              Float j = new Float(w2TF.getText());
              String newdata[] = { Name, String.valueOf(x), String.valueOf(y),
                        String.valueOf(z), String.valueOf(j) };
              dtm.addRow(newdata);
         // Method to delete a row from the spreadsheet
         void deleteRow(int index) {
              if (index != -1) //At least one Row in Table
                   dtm.removeRow(index);
                   jt.addNotify();
         // Method that adds and deletes rows
         // from the table by pressing the
         //corresponding buttons
         public void actionPerformed(ActionEvent ae) {
              Object source = ae.getSource();
              if (ae.getSource() == (JButton) AddButton) {
                   addRow();
              if (ae.getSource() == (JButton) DelButton) {
                   deleteRow(jt.getSelectedRow());
         //method to calculate the total mark in the TotalMark column
         //that updates the values in every other column
         //It takes the values from the column 1,2,3,4
         //and changes the value in the column 5
         public void tableChanged(TableModelEvent e) {
              System.out.println(e.getSource());
              //if (e.getType() == TableModelEvent.UPDATE) {
                   int row = e.getFirstRow();
                   int column = e.getColumn();
                   if (column == 1 || column == 2 || column == 3 || column == 4) {
                        TableModel model = jt.getModel();
                        float q = (new Float(model.getValueAt(row, 1).toString())).floatValue();
                        float w = (new Float(model.getValueAt(row, 2).toString())).floatValue();
                        float t = (new Float(model.getValueAt(row, 3).toString())).floatValue();
                        float r = (new Float(model.getValueAt(row, 4).toString())).floatValue();
                        Float tMark = new Float((q * w + t * r) / (w + r));
                        model.setValueAt(tMark, row, 5);
         // Which cells are editable.
         // It is only necessary to implement this method
         // if the table is editable
         public boolean isCellEditable(int row, int col) {
              return true; //All cells are editable
         public static void main(String[] args) {
              NodesTable t = new NodesTable();
    }

  • Problems Creating a Java Class using a webservice with certificate

    hi,
    i'm developing a java class that call's a webservice that needs a certificate, i'm not used to work with java, last time was 10 years ago, so i'm having some troubles because of the certificate.
    I already add the certificate using java control panel > Security > Certificates. When testing i get the following error: IOException (java.io.IOException: subject key, Unknown key spec)
    I think I need to define the certificate in my class, but i'm having a lots of trouble with the samples that i found over the internet, nothing works and i'm running out of time.
    This is my Class
    create or replace and compile java source named "FishInfoAt" as
    import java.net.*;
    import java.io.*;
    import java.security.*;
    public class FishInfoAt
         public FishInfoAt()
         public static String send(String urlfishinfoat, String mensagem, String mensagem1, String mensagem2, String mensagem3)
              // Init
              String response = "";
              String msgtotal = mensagem+mensagem1+mensagem2+mensagem3;
              String a = "";
              HttpURLConnection conn = null;
              try{
                   URL url = new URL(urlfishinfoat);
                   conn = (HttpURLConnection) url.openConnection();
                   conn.setRequestMethod("POST");
                   conn.setRequestProperty("Content-type", "text/xml; charset=utf-8");
                   conn.setRequestProperty("SOAPAction", "https://servicos.portaldasfinancas.gov.pt:401/sgdtws/documentosTransporte/");
                   conn.setRequestProperty("Content-Length","" + msgtotal.length());
                   conn.setDoOutput(true);
                   conn.setDoInput(true);
                   conn.connect();
                   OutputStream out = conn.getOutputStream();
                   out.write(msgtotal.getBytes());
                   out.flush();
                   InputStream in = conn.getInputStream();
                   int value;
                   while( (value = in.read()) != -1)
                        response+=(char)value;
              catch(Exception e)
    response = ("*** ERROR - IOException (" + e.getMessage() + a + ")");
    return response;
    /

    Hi Deepak,
    Could you please let us know upto which line your code is going safe. Try printing the value in the structure before you send that to the method GetUGEntity().
    I am not too sure that would be a problem. But I have faced a problem like this, wherein I tried to access a structure for which I have not allocated memory and hence got exception because of that.
    Since your JNI code seems to be error free, I got doubt on your C part. Sorry.
    Dhamo.

  • Problems javadoc inner classes...

    Hi all,
    I have a problems documenting an inner class. I've implemented it this way:
    * In file TestClass.java I have an inner class "class MainClass" (this is the "upper" class of the file)
    * MainClass instantiates a TestClass (which in the file is declared as an inner class within MainClass: "public class TestClass").
    When I try to document it I get the following error message:
    "No public or protected classes found to document."
    What do I have to do? I'm using "Standard Doclet version 1.4.1" and why I have to use the inner class is a matter of saving a copy of the entire object, and I think this is the only solution to it, so what do I do?? Do I declare the "outer" class in a different way?
    Very pleased for all help!!
    Best regards,
    Anjelica

    * In file TestClass.java I have an inner class "class
    MainClass" (this is the "upper" class of the file)
    * MainClass instantiates a TestClass (which in the
    file is declared as an inner class within MainClass:
    "public class TestClass").So TestClass is an inner class of MainClass?? Then your file should be called MainClass.java.
    Try if that helps.

  • Problems with inner classes in JasminXT

    I hava problems with inner classes in JasminXT.
    I wrote:
    ;This is outer class
    .source Outer.j
    .class Outer
    .super SomeSuperClass
    .method public createrInnerClass()V
         .limit stack 10
         .limit locals 10
         ;create a Inner object
         new Outer$Inner
         dup
         invokenonvirtual Outer$Inner/<init>(LOuter;)V
         ;test function must print a Outer class name
         invokevirtual Outer$Inner/testFunction ()V
    .end method
    ;This is inner class
    .source Outer$Inner.j
    .class Outer$Inner
    .super java/lang/Object
    .field final this$0 LOuter;
    ;contructor
    .method pubilc <init>(LOuter;)V
         .limit stack 10
         .limit locals 10
         aload_0
         invokenonvirtual Object/<init>()V
         aload_0
         aload_1
         putfield Inner$Outer/this$0 LOuter;
         return
    .end method
    ;test
    .method public testFunction ()V
         .limit stack 10
         .limit locals 10
         ;get out object
         getstatic java/io/PrintStream/out  java/io/PrintStream;
         aload_0
         invokevirtual java/lang/Object/getClass()java/lang/Class;
         ;now in stack Outer$Inner class
         invokevirtual java/Class/getDeclaringClass()java/lang/Class;
         ;but now in stack null
         invokevirtual java/io/PrintStream/print (Ljava/lang/Object;)V
    .end methodI used dejasmin. Code was equal.
    What I have to do? Why getDeclatingClass () returns null, but in dejasmin code
    it returns Outer class?

    Outer$Inner naming convention is not used by JVM to get declaring class.
    You need to have proper InnerClasses attribute (refer to http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#79996)
    in the generated classes. Did you check using jclasslib or another class file viewer and verified that your .class files have proper InnerClasses attribute?

  • Help required for creating Row Renderer for JTable

    Hi all,
    I am trying to create customize row renderer for JTable.
    My requirements are as below.
    |-----------------|-------------------|------------------|------------------|-------|----------------|
    |Category | Product ID |Description | Unit Price |Qty | Sub-Total |
    |-----------------|-------------------|------------------|------------------|-------|----------------|
    I have designed a combobox for category and product ID columns inside JTable. I want to put a listener on Category ID such that product IDs in selected categories will be visible in product ID drop down of selected row keeping other rows unchanged.
    Column renderer is defining a class for entire column but by setting that im getting same values in all the rows for product IDs. And if I update values for one product ID dropdown, entire column data is changing.
    Even im not able to put array of combobox for product ID column as number of rows are not fixed and increasing runtime.
    Can anyone suggest me how can i customize Cells under particular column with JComboBox?
    Regards,
    Mahesh Kedari
    Fidus Technologies Ltd.
    Edited by: m1JustM1 on Feb 8, 2010 4:48 AM

    Start by reading [this |http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#editrender] tutorial. If you still have questions afterward, feel free to post an SSCCE .

  • Problem creating Network ACL for a ROLE in Oracle 11gR2

    According to Oracle Documentation when you create a new Network ACL you can add privileges to a user or role.  I need to create a new ACL for the UTL_SMTP package for a specific role, but when I granted it the users who have that role are still getting the "ORA-24247: network access denied by access control list (ACL)" error when they try to send an email.  If I grant the ACL privilege to the same users directly it works fine.  Is there any step I'm missing?  This is the test I have made on my Solaris 10 - Oracle 11gR2 (11.2.0.3) Standard Edition server:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 09:31:52 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> SET LINES 1000
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> COLUMN host FORMAT A20
    SQL> COLUMN lower_port FORMAT 99999
    SQL> COLUMN upper_port FORMAT 99999
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN principal FORMAT A15
    SQL> COLUMN privilege FORMAT A10
    SQL> COLUMN is_grant FORMAT A8
    SQL> COLUMN status FORMAT A10
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    no rows selected
    SQL> CREATE USER testacl IDENTIFIED BY testacl;
    User created.
    SQL> GRANT CONNECT TO testacl;
    Grant succeeded.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL         connect    true
    After creating this ACL I test it like this:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    HOST                 LOWER_PORT UPPER_PORT PRIVILEGE  STATUS
    localhost                    25         25 connect    GRANTED
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>
    This works fine and I receive the email correctly.  Now if I try to do the same thing for a role:
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> BEGIN
      2     dbms_network_acl_admin.drop_acl('test_smtp.xml');
      3     commit;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> CREATE ROLE testacl_role;
    Role created.
    SQL> GRANT testacl_role TO testacl;
    Grant succeeded.
    SQL> ALTER USER testacl DEFAULT ROLE ALL;
    User altered.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL_ROLE',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL_ROLE    connect    true
    SQL>
    And now I test it again with the same user:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL>
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    no rows selected
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    DECLARE
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 197
    ORA-06512: at line 4
    SQL>
    I'm aware that role privileges doesn't apply inside procedures, functions or packages by default, but this is an anonymous block so it should use the active roles for the user.  I also tried adding a "dbms_session.set_role('TESTACL_ROLE');" at the beggining of the anonymous PL/SQL block but I got the same access error.
    Thanks in advance for any help you can give to me on this question, it would be very hard to grant the ACL to all the individual users as they are more than 1000, and we create more regularly.

    Thanks for your quick reply... I don't have a problem creating the basic ACL with the privileges granted for a user.  The problem appears when I try to create an ACL with privileges for a ROLE.  You can see here http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_networkacl_adm.htm#BABIGEGG than the official Oracle documentation states that you can assign the ACL principal to be a user or role:
    Parameter
    Description
    acl
    Name of the ACL. Relative path will be relative to "/sys/acls".
    description
    Description attribute in the ACL
    principal
    Principal (database user or role) to whom the privilege is granted or denied. Case sensitive.
    My issue is that when I try to create the ACL for a role it doesn't work.
    Have you ever created an ACL for a role? if so please send me an example or let me know which step I might be missing.  Cheers.

  • In oneasset class i have created 2 assets by using of aso1 after that i acquired one asset for that i run the depreciation for first 5 periods, it has been showing depreciation for those period but if i am trying to run the depreciation for second asset i

    in on asset class i have created 2 assets by using of aso1 after that i acquired one asset for that i run the depreciation for first 5 periods, it has been showing depreciation for those period but if i am trying to run the depreciation for second asset it is not showing first 5 periods why it is not showing? Is there any reason?

    Hi
    Repeat run you can do only for the last depreciation period. For the asset which you are tryin to post depreciation from July to Jan, please check the asset value date which you have given while posting the transactions or in the asset master.
    If the asset value date is in July, then deprecaition from July - Jan will get posted in the current month depreciation in total. You will not be able to post depreciation individually month wise using AFAB.
    REgards
    Malathi

  • Problem creating transactional iview for BW system

    Hi gurus
    We are facing one problem creating a transactional iview for a BW 3.5 system . We wanto to call transaction SU01 in our BW system using an iview. When we use SAP for html, we have all the menu on the iview , I mean the same result as if we use smen, not SU01.
    And if we use SAP GUI , we are always having the same GUI Error
    Sapgui 640 [Build 8986] Wed Apr 01 12:25:05 2009
    : 'service '' unknown
    Time          Wed Apr 01 12:25:03 2009
    Component     NI (network interface)
    Release          640
    Version          37
    Module          ninti.c
    Line          505
    Method          NiPGetServByName2: service '' not found
    Return Code     -3
    System Call     getservbyname_r
    Counter          1
    Please, can you help us?
    Thanks in advance and best regards.

    Thanks Bala for your quick reply. I´ve tried with function module RSBB_URL_PREFIX_GET  and all the settings were OK. Still the same result.
    Adding more information. We have another WAS 6.40 server with different Module(we have RM and XRPM , not BW) and we are having the same problems. I am wondering if its related with some special config or activation 
    Maybe  I´ve forgot some service activation in SICF? I´m able to reach the SMEN, but not the SU01
    or I´m missing some config elsewhere?
    Thanks in advance.
    Best regards.
    Edited by: Jose Ignacio Arlandis on Apr 2, 2009 8:41 AM

  • Problem creating an IC Billing document in VF01 for a CC STO

    Dear,
    We are experiencing problems once we try to create an (Intercompany) Billing document. We have a Cross-Company Stock Transport Order scenario in which Company code/Plant 1000/100 delivers Material X to Company code/Plant 2000/200.
    We are now at the point where the Stock Transport Order (NB) has been delivered (by means of a Replenishment/Outbound Delivery) and posted Goods Issue, so we want to create an IC-Billing document (Billing Type IV) in VF01 for our Replenishment/Outbound Delivery. For that, we have first created a Condition (Condition type PI01 - Inter-company Price) for Material X with VK11.
    Now the problems: once we run VF01, SAP comes up with a pricing error stating that condition PR00 is missing. For our scenario, PR00 makes no sense since Material X is a ROH being used in Plant 200 for production purposes, not sales.
    We analyzed the error and it appears that Pricing procedure for IC-Billing ICAA01 is used. We checked on our Client 000 that ICAA01 is a standard Pricing procedure, set exactly in the same manner as in our own development-Client.
    In customizing for Pricing procedure ICAA01 we ticked Condition PR00 as NOT mandatory (V_T683S-KOBLI) and retried VF01. But now, SAP states the following error message:
    Conditions of category b are not permitted in company code 1000
    Message no. KM745
    Diagnosis
    No multiple valuation approaches / transfer prices are active in company code 1000. The condition type you are using has condition category b.
    System Response
    Conditions with category b are only permitted if transfer prices are active.
    Procedure
    Use only condition types with condition categories other than 'b', 'c' or 'h'.
    Further in the Pricing procedure ICAA01 we could not find Condition type PI01…
    Our question is: what should we customize in order to solve this problem?
    Thanks a whole lot in advance for any clues!!
    Kind regards,
    Bart Jongen

    Hi
    SAP 11
    Please maintain CHAPTER ID of the said material with zero basic excise duty ( If u r not selling this material as a duty paid ) and select non movatable mateial. Parellaly u please maintain customer excise indicator as 0 no excise ( If this cutomer code is not lifting duty paid material for you).
    This way u can create billing without excise.
    Please try.
    Thx

  • Problem creating package structure and where is my .class file??????

    Working on Tomcat I have my folder structure like this...
    webapps
    ->app_root
    ->WEB-INF
    ->classes
    ->src
    -> .java files
    ->META_INF
    In the command prompt i compile using this
    c:\Program Files\Apache Tomcat 4.0\webapps\Murthy\WEB-INF\classes>javac -d src\*.java
    and in my java files I have the package structure mentioned as
    package com.acme;
    after compiling i expected this to happen for me.
    webapps
    ->app_root
    ->WEB-INF
    ->classes (in WEB-INF)
    ->com (in classes)
    ->acme (in com)
    -> .class files (in acme)
    ->src (in WEB-INF)
    -> .java files(In src)
    ->META_INF
    The funiest part for me started he when i compiled the file
    c:\Program Files\Apache Tomcat 4.0\webapps\Murthy\WEB-INF\classes>javac -d src\one.java
    It compiled successfully without giving me any error but no package structure was created and THERE IS NO one.class file anywhere in my system.....Then how did it compile my file and where is the .class file.
    I think am worng somewhere but unable to locate it.
    Can somebody pull me out of thiss stuf??? Need to do it fast.
    Thanx.

    c:\Program Files\Apache Tomcat 4.0\webapps\Murthy\WEB-INF\classes>javac -d src\*.java
    The command you posted does not have a source file specification. You are telling the compiler to put the .class files in src\*.java but you are not specifying any .java files. It looks like your command should be javac -d . src\*.java

  • Problem creating container for filter entity

    Hi,
    I have a working API gateway instance (11.1.2.1.0). But from today when I tried to access to it using my policy studio, it gives me this embarrassing error. It worked well, and the gateway instance itself is serving well.
    I can stop and start the gateway instance including the node manager.
    Only from today suddenly my policy studio cannot access to the gateway any more. Any idea? The policy studio can access to other gateway instances in the same version.
    I tried to access from another policy studio in a different machine. Same error.
    It seems the error shows up at the last step to loading filters.
    There must be a dirty stuff in my existing deployment, but it is working well and I have no idea how to clean it up.
    INVALID 2014/01/21 16:36:10.068 [ModalContext] [main] java exception:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.filter.CircuitDelegateGUIFilter.filterAttached(CircuitDelegateGUIFilter.java:115)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:41)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:140)
      at com.vordel.client.circuit.model.HTTPTracker.initListeners(HTTPTracker.java:60)
      at com.vordel.client.circuit.model.FirewallTracker.initListeners(FirewallTracker.java:59)
      at com.vordel.client.circuit.model.Tracker.init(Tracker.java:92)
      at com.vordel.client.circuit.model.CircuitStore.initTrackers(CircuitStore.java:123)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:195)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 19 more
    INVALID 2014/01/21 16:36:10.441 [ModalContext] [main] Problem loading the data from the entity store [federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml]:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    INVALID 2014/01/21 16:36:10.449 [main    ] [main] java exception:
    java.lang.reflect.InvocationTargetException
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:176)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      ... 2 more
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    ERROR   2014/01/21 16:36:10.450 [main    ] [main] Unable to connect to the URL provided:
    federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml
    INVALID 2014/01/21 16:51:48.771 [ModalContext] [main] java exception:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.filter.CircuitDelegateGUIFilter.filterAttached(CircuitDelegateGUIFilter.java:115)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:41)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:140)
      at com.vordel.client.circuit.model.HTTPTracker.initListeners(HTTPTracker.java:60)
      at com.vordel.client.circuit.model.FirewallTracker.initListeners(FirewallTracker.java:59)
      at com.vordel.client.circuit.model.Tracker.init(Tracker.java:92)
      at com.vordel.client.circuit.model.CircuitStore.initTrackers(CircuitStore.java:123)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:195)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 19 more
    INVALID 2014/01/21 16:51:49.286 [ModalContext] [main] Problem loading the data from the entity store [federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml]:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    INVALID 2014/01/21 16:51:49.295 [main    ] [main] java exception:
    java.lang.reflect.InvocationTargetException
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:176)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      ... 2 more
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    ERROR   2014/01/21 16:51:49.295 [main    ] [main] Unable to connect to the URL provided:
    federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml

    Hi,
    This does happen sometimes and usually its enough to just exit Policy Studio and connect again. If that does not work you can delete everything in your C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace folder (backup before doing anything) as this is just a temporary storage.
    This could also could mean you somehow have managed to get an corrupt deployment (It might load ok in the actual API Server) that fails to load in Policy Studio. In the bin folder there is a esexplorer.bat file, this tool allow you edit configurations in raw format and if you find the error you could try fix it there.
    Cheers,
    Stefan

Maybe you are looking for

  • Can I have same Apple ID on two devices

    I have an IPad and a MacAir which both need Apple ID's.  I had the same ID on both but now am changing servers and want to change my ID names.  I was able on one device, but it wont change on the IPad.  Suggestions???

  • Purchase Value Key Influence

    When i set the material master as 10 %tolerance , the system is not considering the 10% influence .or it's not getting in to the PO itself ? Why ?Where we can find the partial delivery indicator ?.Thanks for the input ..

  • Eliminating album art on display

    Hi All, Is there a way to eliminate the album art on my display? I would just like to see the 'written parts': artist, song title, etc. Thanks for any advice. Greg

  • Oracle Graphical monitoring CPU

    Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit O.S. : 64-bit Windows Hi, I'm monitoring the Oracle database by checking the performance from 17 APR to 19 APR. I used AWR and ADDM (txt format). Now I need to make the

  • I bought and audio book and the file is corrupt. What should I do?

    I've tried the purchessed sections of the itunes store and it's not there.