Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException con Neodatis

Tengo el código siguiente que se dispara con un evento al pulsar enter en en jtextfield

El problema lo tengo es que cuando se ejecuta al pulsar “Enter” me da el siguiente error, indicándome que es una excepción de tipo

Algún alma caritativa me puede decir por que se me produce? Gracias de antemano a todos. Saludos

private void JtfEmpresaKeyReleased(java.awt.event.KeyEvent evt) {                                            char t = evt.getKeyChar();     if(t== KeyEvent.VK_ENTER){         this.dni = this.JtfDni.getText().toUpperCase().trim();         this.empresa = this.JtfEmpresa.getText().toUpperCase().trim();         System.out.println(this.empresa);         ODB od1 = ODBFactory.open("/Users/jesusgomez/datos/Productores.db");         IQuery elquery = new CriteriaQuery(Productores.class, Where.equal("PrdNif", this.dni.toString().toUpperCase().trim()));         //Productores productor = (Productores) od1.getObjects(elquery).getFirst();         //System.out.println(productor.getPrdEmpCif());          //productor.setPrdEmpCif(this.empresa.toString());         //od1.store(productor);         //od1.commit();         //od1.close();          Productores objeto = (Productores) od1.getObjects(elquery).getFirst();         objeto.setPrdEmpCif(this.empresa);         od1.store(objeto);         this.JtfCentro.requestFocus();     } }                       ` 

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException en socket

Quisiera solicitar su ayuda para resolver un error en java. He estado mirando en el foro algunos problemas similares pero no he encontrado soluciones satisfactorias a mi problema.

El programa es un ejemplo básico de sockets con cliente y servidor.

Sin embargo cada vez que se ejecuta el cliente, al intentar enviar datos genera el siguiente error:

run: Conectado OK  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException     at proxy.SocketConnect.writeLine(SocketConnect.java:51)     at main.EnviodeDatos.actionPerformed(EnviodeDatos.java:50)     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)     at javax.swing.AbstractButton$  Handler.actionPerformed(AbstractButton.java:2348)     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)     at java.awt.Component.processMouseEvent(Component.java:6539)     at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)     at java.awt.Component.processEvent(Component.java:6304)     at java.awt.Container.processEvent(Container.java:2239)     at java.awt.Component.dispatchEventImpl(Component.java:4889)     at java.awt.Container.dispatchEventImpl(Container.java:2297)     at java.awt.Component.dispatchEvent(Component.java:4711)     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)     at java.awt.Container.dispatchEventImpl(Container.java:2283)     at java.awt.Window.dispatchEventImpl(Window.java:2746)     at java.awt.Component.dispatchEvent(Component.java:4711)     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)     at java.awt.EventQueue.access$  500(EventQueue.java:97)     at java.awt.EventQueue$  3.run(EventQueue.java:709)     at java.awt.EventQueue$  3.run(EventQueue.java:703)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)     at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)     at java.awt.EventQueue$  4.run(EventQueue.java:733)     at java.awt.EventQueue$  4.run(EventQueue.java:731)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)     at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 

El programa es el siguiente:

EnviodeDatos (main):

package main;  import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Scanner;  import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JTextField;  import proxy.SocketConnect; import proxy.SocketInter; import proxy.SocketInter; import proxy.SocketConnect;  public class EnviodeDatos extends JFrame implements ActionListener {      JTextField textmensaje;     JButton btsend;      /**      *      */     public EnviodeDatos() {         textmensaje = new JTextField();         textmensaje.setBounds(10, 10, 200, 120);         add(textmensaje);         btsend = new JButton();         btsend.setText("SEND");         btsend.setBounds(10, 135, 120, 20);         btsend.addActionListener((ActionListener) this);         add(btsend);         setLayout(null);         setSize(400, 400);         setVisible(true);     }      public static void main(String[] args) {         // TODO Auto-generated method stub         new EnviodeDatos();     }      @Override     public void actionPerformed(ActionEvent arg0) {         // TODO Auto-generated method stub         if (arg0.getSource() == btsend) {              SocketInter socket = (SocketInter) new SocketConnect("127.0.0.1", 8080);             socket.writeLine(textmensaje.getText());              socket.dispose();          }     }  } 

interface socket

package proxy;  public interface SocketInter {     String readLine();     void  writeLine(String str);     void  dispose(); } 

socket concreto

package proxy;  import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket;  public class SocketConnect implements SocketInter {      private Socket socket;     private BufferedReader in;     private PrintWriter out;      /**      * @param socket      * @param in      * @param out      */     public SocketConnect(String host, int port) {         try {              Socket socket = new Socket(host, port);             in = new BufferedReader(new InputStreamReader(socket.getInputStream()));             out = new PrintWriter(socket.getOutputStream(), true);             System.out.println("Conectado OK ");         } catch (IOException e) {             System.out.println(e.getMessage());          }     }      @Override     public String readLine() {         String str = null;         try {             str = in.readLine();         } catch (IOException e) {             e.printStackTrace();         }         return str;     }      @Override     public void writeLine(String str) {         // TODO Auto-generated method stub         // 4. The wrapper delegates to the target         try {             DataOutputStream data = new DataOutputStream(socket.getOutputStream());              data.writeUTF(str);             System.out.println("Dato enviado");          } catch (IOException e) {             // TODO Auto-generated catch block             System.out.println("Dato no enviado: " + e.getMessage());         }      }      @Override     public void dispose() {         // TODO Auto-generated method stub         try {             socket.close();          } catch (IOException e) {             e.printStackTrace();         }     } } 

He revisado pero no encuentro problema, igual debo decir que mis conocimientos en java son muy básicos. Les agradecería cualquier ayuda que puedan brindarme.

Erro Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException

Estou fazendo um projeto da faculdade, em que dê para cadastrar, alterar, excluir e consultar um produto. Na parte de consultar, eu tento buscar pelo ID. Só que acontece este erro e eu não estou conseguindo resolver.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException     at Modelo.Dao.ProdutoDAO.getID(ProdutoDAO.java:75)     at org.me.projetopoo.AlterarProduto.btnPesquisarActionPerformed(AlterarProduto.java:349)     at org.me.projetopoo.AlterarProduto.access$  400(AlterarProduto.java:16)     at org.me.projetopoo.AlterarProduto$  5.actionPerformed(AlterarProduto.java:195)     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)     at javax.swing.AbstractButton$  Handler.actionPerformed(AbstractButton.java:2348)     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)     at java.awt.Component.processMouseEvent(Component.java:6539)     at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)     at java.awt.Component.processEvent(Component.java:6304)     at java.awt.Container.processEvent(Container.java:2239)     at java.awt.Component.dispatchEventImpl(Component.java:4889)     at java.awt.Container.dispatchEventImpl(Container.java:2297)     at java.awt.Component.dispatchEvent(Component.java:4711)     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)     at java.awt.Container.dispatchEventImpl(Container.java:2283)     at java.awt.Window.dispatchEventImpl(Window.java:2746)     at java.awt.Component.dispatchEvent(Component.java:4711)     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)     at java.awt.EventQueue.access$  500(EventQueue.java:97)     at java.awt.EventQueue$  3.run(EventQueue.java:709)     at java.awt.EventQueue$  3.run(EventQueue.java:703)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)     at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)     at java.awt.EventQueue$  4.run(EventQueue.java:733)     at java.awt.EventQueue$  4.run(EventQueue.java:731)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)     at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 

O código de ProdutoDAO está assim:

    public List<Produtos> getID(String id) {         List<Produtos> resultados = null;      Connection con = null;     try {         con = ConexaoBD.getConnection();     } catch (ClassNotFoundException ex) {         Logger.getLogger(UsuarioDAO.class.getName()).log(Level.SEVERE, null, ex);     }      ResultSet resultSet = null;     PreparedStatement stmt = null;      try {          stmt = con.prepareStatement("select * from tabproduto where id_produto = ?");         stmt.setString(1, id);          while (resultSet.next()) {             resultados.add(new Produtos(                     resultSet.getInt("ID_PRODUTO"),                     resultSet.getString("NOME"),                     resultSet.getString("QUANTIDADE"),                     resultSet.getString("DATA_FAB"),                     resultSet.getString("LOTE"),                     resultSet.getString("OBS")));         }      } catch (SQLException ex) {         ex.printStackTrace();     } finally {         ConexaoBD.closeConnection(con, stmt, resultSet);     }      return resultados; } 

O código do botão pesquisar está assim:

private void btnPesquisarActionPerformed(java.awt.event.ActionEvent evt) {
resultado = dao.getID(txtID.getText());

    numero = resultado.size();      if (numero != 0) {         indice = 0;         indiceEntrada = resultado.get(indice);          txtID.setText(String.valueOf(indiceEntrada.getId()));         txtNome.setText(indiceEntrada.getNome());         txtQtd.setText(indiceEntrada.getQtd());         txtFab.setText(indiceEntrada.getFab());         txtLote.setText(indiceEntrada.getLote());         txtObs.setText(indiceEntrada.getObs());     } } 

No debug aparece assim

Debug

A parte de inserir está funcionando corretamente. Não estou conseguindo consultar. 🙁

Excepcion “AWT-EventQueue-0” java.lang.NullPointerException

estoy intentando validad un txtfield:

private void txtMatriculaActionPerformed(java.awt.event.ActionEvent evt) {                                                   // Busca el codigo que hayamos tecleado en txtCodigo, si devuelve nulo es que no existe     if (buscarMatricula(txtMatricula.getText()) != null) {         JOptionPane.showMessageDialog(null, "Ya existe esa matricula: " + txtMatricula.getText());         // Se devuelve el foco al mismo         txtMatricula.requestFocus();     } else {         // Si no se ha tecleado nada         if (txtMatricula.getText().equals("")) {             JOptionPane.showMessageDialog(null, "Matrícula vacia");             txtMatricula.requestFocus();         } else {              if (correcto(txtMarca.getText(), patronMatriculaUno)) {                 // Si lo tecleado coincide con el patrón, llevamos el foco al siguiente campo                 txtMarca.requestFocus();             } else {                 // Si no coindice: mensaje y se devuelve el foco al mismo                 JOptionPane.showMessageDialog(null, "Matrícula incorrecta");                 txtMatricula.requestFocus();             }         }     } } 

Pero cuando ejecuto, me tira este error y no doy con la solución, gracias

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException at formularios.AppVehiculos.buscarMatricula(AppVehiculos.java:58) at formularios.AppVehiculos.txtMatriculaActionPerformed(AppVehiculos.java:290) at formularios.AppVehiculos.access$ 000(AppVehiculos.java:15) at formularios.AppVehiculos$ 1.actionPerformed(AppVehiculos.java:111) at javax.swing.JTextField.fireActionPerformed(JTextField.java:508) at javax.swing.JTextField.postActionEvent(JTextField.java:721) at javax.swing.JTextField$ NotifyAction.actionPerformed(JTextField.java:836) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668) at javax.swing.JComponent.processKeyBinding(JComponent.java:2882) at javax.swing.JComponent.processKeyBindings(JComponent.java:2929) at javax.swing.JComponent.processKeyEvent(JComponent.java:2845) at java.awt.Component.processEvent(Component.java:6316) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:835) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1103) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:974) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:800) at java.awt.Component.dispatchEventImpl(Component.java:4760) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$ 500(EventQueue.java:97) at java.awt.EventQueue$ 3.run(EventQueue.java:709) at java.awt.EventQueue$ 3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$ 4.run(EventQueue.java:733) at java.awt.EventQueue$ 4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) BUILD SUCCESSFUL (total time: 49 seconds)

Erro Exception in thread “AWT-EventQueue-0” java.lang.ArrayIndexOutOfBoundsException: -1

Pessoal eu estou fazendo um jogo da velha em java. Criei uma matriz de labels e adicionei evento de clique nessa matriz para que quando eu clicar, adicione um X ou O e mude a cor. Porém fica dando esse erro. se alguem souber o que pode ser. Segue o codigo e o erro.

Eu estou utilizando swing tambem para adicionar botoes e outras funcoes

public class Tabuleiro {

private JFrame frmJogoDaVelha; private JLabel[][] labels = new JLabel[3][3]; private JogoDaVelha jogo; private int numeroJogador=1; private JLabel label; private JButton button; String Simbolo;    /**  * Launch the application.  */ public static void main(String[] args) {     SwingUtilities.invokeLater(new Runnable() {         public void run() {             try {                 Tabuleiro window = new Tabuleiro();                 window.frmJogoDaVelha.setVisible(true);             } catch (Exception e) {                 e.printStackTrace();             }         }     }); } /**  * Create the application.  */ public Tabuleiro() {     initialize(); }  /**  * Initialize the contents of the frame.  */ private void initialize() {     jogo = new JogoDaVelha("joao", "maria");     frmJogoDaVelha = new JFrame();     frmJogoDaVelha.setResizable(false);     frmJogoDaVelha.setTitle("Jogo da Velha");     frmJogoDaVelha.setBounds(100, 100, 444, 436);     frmJogoDaVelha.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);     frmJogoDaVelha.getContentPane().setLayout(null);      JPanel panel = new JPanel();     panel.setBorder(new TitledBorder(null, "Tabuleiro", TitledBorder.LEADING, TitledBorder.TOP, null, null));     panel.setBounds(10, 11, 214, 386);     frmJogoDaVelha.getContentPane().add(panel);     panel.setLayout(null);      JPanel panelTabuleiro = new JPanel();     panelTabuleiro.setBounds(26, 37, 155, 192);     panel.add(panelTabuleiro);     panelTabuleiro.setLayout(new GridLayout(3, 3, 10, 10));      JButton btnNovoJogo = new JButton("Novo Jogo");     btnNovoJogo.setBounds(57, 248, 97, 28);     panel.add(btnNovoJogo);      JButton btnNewButton = new JButton("Resultado");     btnNewButton.setBounds(57, 300, 97, 28);     panel.add(btnNewButton);                    for(int i=0; i < 3; i++){                 for(int j=0; j < 3; j++){                           labels[i][j]=new JLabel("");                         frmJogoDaVelha.getContentPane().add(labels[i][j]);                         labels[i][j].setBounds(i*60, j*60, 50, 50); //x,y, width, height - 40x40                         labels[i][j].setBackground(SystemColor.controlHighlight);                         //labels[i][j].setBorder(new LineBorder(new Color(0, 0, 0)));                         labels[i][j].setOpaque(true);                         panelTabuleiro.add(labels[i][j]);                         labels[i][j].addMouseListener(new MouseAdapter(){                            public void mouseClicked(MouseEvent e){                             JLabel b = (JLabel)e.getSource();                             int indicex = b.getX()/40;                             int indicey = b.getY()/40;                              if(numeroJogador==1) {                                 //Simbolo = "X";                                 labels[indicex][indicey].setText("X");                                 labels[indicex][indicey].setBackground(Color.GREEN);                                 labels[indicex][indicey].removeMouseListener(this);                                 labels[indicex][indicey].disable();                             } else {                                 //Simbolo = "O";                                 labels[indicex][indicey].setText("X");                                 labels[indicex][indicey].setBackground(Color.BLUE);                                 labels[indicex][indicey].removeMouseListener(this);                                 labels[indicex][indicey].disable();                             }                              labels[indicex][indicey].setText(Simbolo);                             boolean jogadavalida = jogo.jogarJogador(numeroJogador, indicey, indicex);                               if(numeroJogador==1)                                  numeroJogador=2;                              else numeroJogador=1;                         }                     });                       } //segundo for             }         } 

}

Exception in thread “AWT-EventQueue-0” java.lang.ArrayIndexOutOfBoundsException: -1

Exception in thread “AWT-EventQueue-0″ java.lang.NumberFormatException: For input string: ” 8″

Estava desenvolvendo uma aplicação simples java utilizando o swing, e não sei qual o erro no meu código. Aqui segue o código e o erro:

private void btnVerificaActionPerformed(java.awt.event.ActionEvent evt) {                                                 // TODO add your handling code here:     int v = Integer.parseInt(txtValor.getText());     if (v%2==0){         lblResultado.setText("PAR");     } else {         lblResultado.setText("IMPAR");     }  Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: " 8" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:569) at java.lang.Integer.parseInt(Integer.java:615) at classes.TelaParImpar.btnVerificaActionPerformed(TelaParImpar.java:88) at classes.TelaParImpar.access$  000(TelaParImpar.java:12) at classes.TelaParImpar$  1.actionPerformed(TelaParImpar.java:44) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$  Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$  500(EventQueue.java:97) at java.awt.EventQueue$  3.run(EventQueue.java:709) at java.awt.EventQueue$  3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$  4.run(EventQueue.java:731) at java.awt.EventQueue$  4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$  JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)