Ajuda com Exception

4 respostas
MarceloMVT

Estou tendo muita dificuldade em localizar o erro, espero que alguém consiga em ajudar.
e a exception é essa:

run:
[EL Info]: 2013-04-20 09:22:19.907--ServerSession(14806807)--EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
[EL Info]: 2013-04-20 09:22:20.58--ServerSession(14806807)--file:/C:/Users/MARCELO/Desktop/Software DiskEntulho/DiskEntulho 2.0/DiskEntulho/build/classes/_entulhoPU login successful
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Context already contains a binding with name ""
	at org.jdesktop.beansbinding.BindingGroup.addBinding(BindingGroup.java:53)
	at br.com.view.LocacaoView.initComponents(LocacaoView.java:214)
	at br.com.view.LocacaoView.<init>(LocacaoView.java:27)
	at br.com.view.LocacaoView$1.run(LocacaoView.java:1070)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:682)
	at java.awt.EventQueue$3.run(EventQueue.java:680)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
CONSTRUÍDO COM SUCESSO (tempo total: 4 segundos)

Espero que possam me ajudar… desde ja obrigado!

4 Respostas

MarceloMVT

e essa são as variáveis que o NetBeans criou pra mim

// Variables declaration - do not modify
    private javax.swing.JTextField areiafp;
    private javax.swing.JTextField areiamp;
    private javax.swing.JTextField areiap;
    private javax.swing.JButton btprecli;
    private javax.swing.JButton btprecli1;
    private java.util.List<br.com.beans.Cacambas> cacambasList;
    private java.util.List<br.com.beans.Cacambas> cacambasList1;
    private javax.persistence.Query cacambasQuery;
    private javax.persistence.Query cacambasQuery1;
    private javax.swing.JTable cacambatable;
    private java.util.List<br.com.beans.Clientes> clientesList;
    private java.util.List<br.com.beans.Clientes> clientesList1;
    private javax.persistence.Query clientesQuery;
    private javax.persistence.Query clientesQuery1;
    private javax.swing.JTable clientetable;
    private javax.swing.JTextField datap;
    private javax.swing.JTextField datasaidap;
    private javax.swing.JButton deleteButton;
    private javax.swing.JButton deleteDetailButton;
    private javax.swing.JScrollPane detailScrollPane;
    private javax.swing.JTable detailTable;
    private javax.swing.JTable endetable;
    private javax.swing.JTextField endp;
    private javax.persistence.EntityManager entityManager;
    private javax.swing.JTextField fretep;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JTextField jTextField7;
    private javax.swing.JTextField jTextField8;
    private java.util.List<br.com.beans.LocacaoCabecalho> list;
    private javax.swing.JScrollPane masterScrollPane;
    private javax.swing.JTable masterTable;
    private javax.swing.JButton newButton;
    private javax.swing.JButton newButton1;
    private javax.swing.JButton newButton4;
    private javax.swing.JButton newDetailButton;
    private javax.swing.JTextField nomep;
    private javax.swing.JTextField numcacambap;
    private javax.persistence.Query query;
    private javax.swing.JButton refreshButton;
    private br.com.utilitarios.RowSorterToStringConverter rowSorterToStringConverter1;
    private br.com.utilitarios.RowSorterToStringConverter rowSorterToStringConverter2;
    private javax.swing.JButton saveButton;
    private javax.swing.JTextField situacaotf;
    private javax.swing.JTextField situacaotf1;
    private javax.swing.JTextField sortercliente;
    private javax.swing.JTextField sorterendereco;
    private javax.swing.JTextField tamanhop;
    private javax.swing.JTextField vdiariap;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
ViniGodoy

O que tem nessa linha?
at br.com.view.LocacaoView.initComponents(LocacaoView.java:214)

MarceloMVT

Muito obrigado ViniGodoy , mais como tenho 4 dias pra entregar o software rodando, eu deletei o frame e comecei do zero, e não tenho mais o código para
explicar o que tinha na linha 214…

Peço desculpa pelo post que creio que não acrescentou nada e por mim tudo bem se ele for deletado… mas mesmo assim obrigado

ViniGodoy

Tranquilo. Mas quando postar uma dúvida, vale a pena postar o método onde a exceção indica, indicando a linha que a exceção ocorreu.

Sem isso, fica dificílimo alguém te ajudar.

Criado 20 de abril de 2013
Ultima resposta 20 de abr. de 2013
Respostas 4
Participantes 2