Burp Suite User Forum

Login to post

Burp Extension

Xtian | Last updated: Apr 06, 2018 07:52PM UTC

Hello there, I am getting the following exception when I'm trying to log a Jython extension I made, please let me know if anyone has face this :S java.lang.RuntimeException: org.python.core.PyException at burp.ih.a(Unknown Source) at burp.omd.<init>(Unknown Source) at burp.ipb.a(Unknown Source) at burp.wi.c(Unknown Source) at burp.wi.a(Unknown Source) at burp.hd.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:80) 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)

PortSwigger Agent | Last updated: Apr 09, 2018 08:15AM UTC

Hi Xtian, Unfortunately, there's not much information in this stack trace. The original Python exception has been converted into a Java PyException and the key information lost. Do you have a rough idea when this is happening? e.g. is it when your active scanner check is running? Try surrounding the relevant parts of your code with Python try/except blocks, then do something like: callbacks.printError(traceback.format_exc()) That stack trace should include more information which will help you diagnose the issue. Please let us know if you need any further assistance.

You need to Log in to post a reply. Or register here, for free.