intruxxer / zaproxy

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

InterruptedException occurs in ZAP when using the API #580

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I'm running automated tests using Selenium through ZAP. After the tests are 
run, I wait 10 seconds for passive scanning to finish, before retrieving the 
alerts.

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

I see the following trace several times in the console (full console attached)

java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:503)
    at sun.awt.AWTAutoShutdown.activateBlockerThread(AWTAutoShutdown.java:337)
    at sun.awt.AWTAutoShutdown.notifyThreadBusy(AWTAutoShutdown.java:171)
    at java.awt.EventQueue.initDispatchThread(EventQueue.java:1047)
    at java.awt.EventQueue.postEventPrivate(EventQueue.java:264)
    at java.awt.EventQueue.postEvent(EventQueue.java:239)
    at java.awt.EventQueue.invokeLater(EventQueue.java:1214)
    at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1290)
    at javax.swing.JComponent.revalidate(JComponent.java:4872)
    at javax.swing.plaf.basic.BasicComboBoxUI$Handler.contentsChanged(BasicComboBoxUI.java:1830)
    at javax.swing.plaf.basic.BasicComboBoxUI$Handler.intervalAdded(BasicComboBoxUI.java:1845)
    at javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:148)
    at javax.swing.DefaultComboBoxModel.insertElementAt(DefaultComboBoxModel.java:139)
    at org.zaproxy.zap.utils.SortedComboBoxModel.addElement(SortedComboBoxModel.java:63)
    at org.zaproxy.zap.extension.params.ParamsPanel.addSite(ParamsPanel.java:298)
    at org.zaproxy.zap.extension.params.ExtensionParams.onHttpRequestSend(ExtensionParams.java:239)
    at org.zaproxy.zap.extension.params.ParamScanner.scanHttpRequestSend(ParamScanner.java:42)
    at org.zaproxy.zap.extension.pscan.PassiveScanThread.run(PassiveScanThread.java:107)

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

ZAPWeekly release 2013-03-25

Please provide any additional information below.

Console log and zap.log attached

Original issue reported on code.google.com by dave.h...@gmail.com on 28 Mar 2013 at 2:06

Attachments:

GoogleCodeExporter commented 9 years ago
Try increasing your 10sec wait. I'm guessing that you're trying to shut things 
down while it's still busy.

You should also try with an up-to-date version of ZAP.

If no feedback is received from the requester or owner by 20140719 this issue 
will be closed.

Original comment by kingtho...@gmail.com on 13 Jul 2014 at 9:32

GoogleCodeExporter commented 9 years ago
Closing InsufficientEvidence.

Original comment by kingtho...@gmail.com on 10 Aug 2014 at 7:01

GoogleCodeExporter commented 9 years ago
As per comment #3 of Issue 581 [1] this issue is still happening with the 
latest version (2.3.1).

[1] https://code.google.com/p/zaproxy/issues/detail?id=581#c3

Original comment by THC...@gmail.com on 11 Aug 2014 at 7:48