ffazio / grimwepa

Automatically exported from code.google.com/p/grimwepa
0 stars 0 forks source link

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start grimwepa1.10a5 from terminal "java -jar grimwepa1.10a5.jar
2. Click okay to put wlan0 into monitor mode
3. Click "refresh targets"

What is the expected output? What do you see instead?

In terminal window, I receive the following message at regular intervals:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at
javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:501)
    at javax.swing.JTable.convertRowIndexToModel(JTable.java:2611)
    at javax.swing.JTable.getValueAt(JTable.java:2686)
    at javax.swing.JTable.prepareRenderer(JTable.java:5703)
    at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
    at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
    at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
    at javax.swing.JComponent.paintComponent(JComponent.java:752)
    at javax.swing.JComponent.paint(JComponent.java:1029)
    at javax.swing.JComponent._paintImmediately(JComponent.java:5084)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:785)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
    at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueU
tilities.java:125)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269
)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174
)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

This message stops repeating when I stop scanning for targets.

What version of the product are you using? On what operating system?

1.10a5, ubuntu 10.04

Original issue reported on code.google.com by Christop...@gmail.com on 28 May 2010 at 8:21

GoogleCodeExporter commented 9 years ago
Have you made sure you have all the java components installed?

Since you seem to have SOME java. You might need to get the extra little bits 
possibly.

I ran
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

with my 10.04 install and everything is working perfectly.

Original comment by ext...@gmail.com on 29 May 2010 at 6:15

GoogleCodeExporter commented 9 years ago
You are correct. I had removed the open source jre and installed the official 
sun
java packages, but apparently something was still loaded causing the conflict.  
After
a reboot, I cannot reproduce this error.

Original comment by Christop...@gmail.com on 2 Jun 2010 at 3:05

GoogleCodeExporter commented 9 years ago
Glad you got it working.  I will note this in the next 
installation/troubleshooting
guide.

Original comment by der...@gmail.com on 2 Jun 2010 at 4:38