The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Repeated TypeError in Burp Scanner Plugin using InQL Extension

shanooj | Last updated: Oct 29, 2024 07:51AM UTC

Dear Support Team, I am encountering a recurring error within our Burp Scanner plugin, specifically in the inql.traffic_scan.scan_handler.py module. Below is the full error log for reference: Error Log: Traceback (most recent call last): File "__pyclasspath__/inql/traffic_scan/scan_handler.py", line 236, in doActiveScan File "__pyclasspath__/inql/traffic_scan/scan_handler.py", line 134, in _get_matches TypeError: object of type 'NoneType' has no len() at org.python.core.Py.TypeError(Py.java:234) at org.python.core.PyObject.__len__(PyObject.java:637) at org.python.core.__builtin__.len(__builtin__.java:729) ... at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1570) This error appears to originate in the _get_matches function within scan_handler.py, where a NoneType object is unexpectedly being passed to len(). This is likely due to an uninitialized or failed variable, which is expected to hold a list or string. The error repeatedly occurs during the execution of the doActiveScan function, which is part of the BurpScannerCheck class, and it impacts multiple threads, as shown in the multi-threaded context (ThreadPoolExecutor). This affects the consistency of the scan results and leads to multiple interruptions in the scan process. Could you please advise on any potential solutions? Specifically, any insights into the _get_matches function’s handling of NoneType values or guidance on ensuring proper initialization of variables would be very helpful. Regards, Shanooj

Hannah, PortSwigger Agent | Last updated: Oct 29, 2024 11:52AM UTC