Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Loading all Python Burp Extensions

Derek Murphy Dec 31, 2018 09:04PM UTC

I am running Burp v2.0.13beta on a fully updated Kali with Java 8 and have added several python extension and running into the same issues.

java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
at org.python.core.io.BufferedReader.clear(BufferedReader.java:147)
at org.python.core.io.BufferedReader.<init>(BufferedReader.java:27)
at org.python.core.PyFile.createBuffer(PyFile.java:227)
at org.python.core.PyFile.file___init__(PyFile.java:185)
at org.python.core.PyFile.file___init__(PyFile.java:178)
at org.python.core.PyFile.<init>(PyFile.java:101)
at org.python.core.PySystemState.<init>(PySystemState.java:237)
at org.python.core.PySystemState.doInitialize(PySystemState.java:1112)
at org.python.core.PySystemState.initialize(PySystemState.java:1023)
at org.python.core.PySystemState.initialize(PySystemState.java:979)
at org.python.core.PySystemState.initialize(PySystemState.java:974)
at org.python.core.PySystemState.initialize(PySystemState.java:969)
at org.python.core.PySystemState.initialize(PySystemState.java:965)
at org.python.core.ThreadStateMapping.getThreadState(ThreadStateMapping.java:56)
at org.python.core.Py.getThreadState(Py.java:1668)
at org.python.core.Py.getThreadState(Py.java:1664)
at org.python.core.Py.getSystemState(Py.java:1684)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:105)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at burp.boy.<init>(Unknown Source)
at burp.e45.a(Unknown Source)
at burp.b8u.lambda$panelLoaded$0(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


Paul Johnston Jan 02, 2019 09:15AM UTC Support Center agent

Thanks for letting us know about this. Can you confirm what versions of Java and Jython you are using?

I believe this may be related to this issue:

- https://jira.mongodb.org/browse/JAVA-2559

What I recommend you do is install Burp using the Burp Platform Installer. This includes a version of Java we know works well with Burp. Also, we recommend Jython 2.7.0 – that has been stable and reliable for us.

Please let us know if you need any further assistance.


Post Your public answer

Your name
Your email address
Answer