Sorry off late i have been asking in a lot of queries. When running Active Scan through the API sometimes the scan gets stuck. Most of the time i was thinking it was a kind of a memory issue and used to close ZAP and restart. I just tried to check the logs when it happened recently, this is the exception i get. I am not sure if its because of any of the add-ons, If this is anything that someone is aware and if im doing anything wrong with the settings please let me know. Im using ZAP 2.5.0 and triggering active scan through JAVA APIs.
org.jfree.data.general.SeriesException: You are attempting to add an observation for the time period Sun Nov 13 19:10:44 PST 2016 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:519)
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:562)
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:548)
at org.zaproxy.zap.extension.ascan.ScanProgressDialog.showProgress(Unknown Source)
at org.zaproxy.zap.extension.ascan.ScanProgressDialog.access$500(Unknown Source)
at org.zaproxy.zap.extension.ascan.ScanProgressDialog$4$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)