Erro estranho com swing

0 respostas
jonasjgs2

bom dia a todos…
tenho uma aplicação swing
e nela eu tenho um jlist,um jlabel, esta aplicação gera um grande numero de eventos
e estes eventos eu vou adicionando em um jlist e também em um jlabel…
ate ai blz…
de uma hora para outra com o acumulado de eventos um campo jlabel não e atualizado
e me traz na tela o seguinte erro:

Exception in thread AWT-EventQueue-0 java.lang.NullPointerException

at javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion(Unknown

Source)

at javax.swing.BufferStrategyPaintManager.endPaint(Unknown Source)

at javax.swing.RepaintManager.endPaint(Unknown Source)

at javax.swing.JComponent._paintImmediately(Unknown Source)

at javax.swing.JComponent.paintImmediately(Unknown Source)

at javax.swing.RepaintManager$3.run(Unknown Source)

at javax.swing.RepaintManager$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour

ce)

at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)

at javax.swing.RepaintManager.access$1100(Unknown Source)

at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$200(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour

ce)

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)

não sei mais o que fazer pois não da nenhum erro de linha e so mostra isso

alguém pode me ajudar? desde já agradeço

Criado 10 de outubro de 2014
Respostas 0
Participantes 1