Burp Suite User Forum

Create new post

Cant Load python extensions

Selahattin | Last updated: Apr 04, 2021 09:31PM UTC

i get errors when i try to load python based extensions (i downloaded jython standalone and adressed in extension options) error is like this: java.lang.ExceptionInInitializerError at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:99) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:93) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:70) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at burp.ame.<init>(Unknown Source) at burp.gyj.a(Unknown Source) at burp.e64.lambda$panelLoaded$0(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832) Caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value at org.python.core.PyString.<init>(PyString.java:57) at org.python.core.PyString.<init>(PyString.java:70) at org.python.core.PyString.<init>(PyString.java:74) at org.python.core.Py.newString(Py.java:643) at org.python.core.PyJavaType.init(PyJavaType.java:543) at org.python.core.PyType$Registry.createType(PyType.java:477) at org.python.core.PyType$Registry.addFromClass(PyType.java:426) at org.python.core.PyType$Registry.resolveType(PyType.java:352) at org.python.core.PyType$Registry$1.computeValue(PyType.java:208) at org.python.core.PyType$Registry$1.computeValue(PyType.java:202) at java.base/java.lang.ClassValue.getFromHashMap(ClassValue.java:228) at java.base/java.lang.ClassValue.getFromBackup(ClassValue.java:210) at java.base/java.lang.ClassValue.get(ClassValue.java:116) at org.python.core.PyType.fromClass(PyType.java:2137) at org.python.core.PyObject.<init>(PyObject.java:85) at org.python.core.PySingleton.<init>(PySingleton.java:9) at org.python.core.PyNotImplemented.<init>(PyNotImplemented.java:10) at org.python.core.Py.<clinit>(Py.java:66) ... 16 more

Michelle, PortSwigger Agent | Last updated: Apr 05, 2021 01:02PM UTC

Thanks for your message.

Are you seeing this with all python extensions or just certain ones? Which version of jython standalone have you downloaded? Which version of Burp are you using, do you use the installer version or the JAR file?

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.