Oi pessoal,
Estou com certa dificuldade em descobrir o que esta de errado no meu projeto:
http://www.wfrsilva.xpg.com.br/projetoFinalWdl1001.rar (502kb)
Ao tentar importar um txt (src\controle10\jogadores.txt) acionado pelo botao inferior (TXT).
Ocorre os seguinte erro:
java.lang.NullPointerException
at controle10.ImportaTXT.insereJgdrDoTxtParaArrayList(ImportaTXT.java:126)
at controle10.ImportaTXT.lerArquivo(ImportaTXT.java:65)
at grafico10.TtlRsvTelaPrincipal.actionPerformed(TtlRsvTelaPrincipal.java:246)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Nao sei onde estou errando.
Salvei o projeto nesse endereco pois sei q o grupo nao aceita anexos.
Obrigado pela ajuda
