You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the script inside Ghidra but it gives me multiple errors caused by "Unknown protocol: jar"
I have OpenJdk 17.0.2
I don't have Python but it shouldn't be a problem since Ghidra has it
I'm on Windows
Traceback (most recent call last):
File "D:\Documents\Ghidra\Plugin\ghidra2dwarf\ghidra2dwarf.py", line 34, in
from libdwarf import LibdwarfLibrary
java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.python.core.Py.loadAndInitClass(Py.java:1160)
at org.python.core.Py.findClassInternal(Py.java:1095)
at org.python.core.Py.findClassEx(Py.java:1147)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:233)
at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:36)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:221)
at org.python.core.PyJavaPackage.findattr_ex(PyJavaPackage.java:137)
at org.python.core.PyObject.findattr(PyObject.java:902)
at org.python.core.PyObject.findattr(PyObject.java:889)
at org.python.core.imp.ensureFromList(imp.java:1484)
at org.python.core.imp.ensureFromList(imp.java:1449)
at org.python.core.imp.import_module_level(imp.java:1377)
at org.python.core.imp.importName(imp.java:1528)
at org.python.core.ImportFunction.call(builtin.java:1285)
at org.python.core.PyObject.call(PyObject.java:433)
at org.python.core.builtin.import(builtin.java:1232)
at org.python.core.imp.importFromAs(imp.java:1620)
at org.python.core.imp.importFrom(imp.java:1595)
at org.python.pycode._pyx42.f$0(D:/Documents/Ghidra/Plugin/ghidra2dwarf/ghidra2dwarf.py:518)
at org.python.pycode._pyx42.call_function(D:/Documents/Ghidra/Plugin/ghidra2dwarf/ghidra2dwarf.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1687)
at org.python.core.builtin.execfile_flags(builtin.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:287)
at ghidra.python.GhidraPythonInterpreter.execFile(GhidraPythonInterpreter.java:239)
at ghidra.python.PythonScriptExecutionThread.run(PythonScriptExecutionThread.java:51)
Caused by: java.lang.RuntimeException: java.net.MalformedURLException: Unknown protocol: jar
at org.python.core.SyspathJavaLoader.findResource(SyspathJavaLoader.java:152)
at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1403)
at com.sun.jna.Native.extractFromResourcePath(Native.java:1085)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455)
at com.sun.jna.Library$Handler.(Library.java:192)
at com.sun.jna.Native.loadLibrary(Native.java:646)
at com.sun.jna.Native.loadLibrary(Native.java:630)
at libdwarf.LibdwarfLibrary.(LibdwarfLibrary.java:13)
... 29 more
Caused by: java.net.MalformedURLException: Unknown protocol: jar
at java.base/java.net.URL.(URL.java:708)
at java.base/java.net.URL.(URL.java:569)
at java.base/java.net.URL.(URL.java:516)
at org.python.core.SyspathJavaLoader.findResource(SyspathJavaLoader.java:150)
... 37 more
Caused by: java.lang.IllegalStateException: Unknown protocol: jar
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)
at java.base/java.net.URL.(URL.java:703)
... 40 more
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
The text was updated successfully, but these errors were encountered:
I'm trying to run the script inside Ghidra but it gives me multiple errors caused by "Unknown protocol: jar"
I have OpenJdk 17.0.2
I don't have Python but it shouldn't be a problem since Ghidra has it
I'm on Windows
Traceback (most recent call last):
File "D:\Documents\Ghidra\Plugin\ghidra2dwarf\ghidra2dwarf.py", line 34, in
from libdwarf import LibdwarfLibrary
java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.python.core.Py.loadAndInitClass(Py.java:1160)
at org.python.core.Py.findClassInternal(Py.java:1095)
at org.python.core.Py.findClassEx(Py.java:1147)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:233)
at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:36)
at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:221)
at org.python.core.PyJavaPackage.findattr_ex(PyJavaPackage.java:137)
at org.python.core.PyObject.findattr(PyObject.java:902)
at org.python.core.PyObject.findattr(PyObject.java:889)
at org.python.core.imp.ensureFromList(imp.java:1484)
at org.python.core.imp.ensureFromList(imp.java:1449)
at org.python.core.imp.import_module_level(imp.java:1377)
at org.python.core.imp.importName(imp.java:1528)
at org.python.core.ImportFunction.call(builtin.java:1285)
at org.python.core.PyObject.call(PyObject.java:433)
at org.python.core.builtin.import(builtin.java:1232)
at org.python.core.imp.importFromAs(imp.java:1620)
at org.python.core.imp.importFrom(imp.java:1595)
at org.python.pycode._pyx42.f$0(D:/Documents/Ghidra/Plugin/ghidra2dwarf/ghidra2dwarf.py:518)
at org.python.pycode._pyx42.call_function(D:/Documents/Ghidra/Plugin/ghidra2dwarf/ghidra2dwarf.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1687)
at org.python.core.builtin.execfile_flags(builtin.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:287)
at ghidra.python.GhidraPythonInterpreter.execFile(GhidraPythonInterpreter.java:239)
at ghidra.python.PythonScriptExecutionThread.run(PythonScriptExecutionThread.java:51)
Caused by: java.lang.RuntimeException: java.net.MalformedURLException: Unknown protocol: jar
at org.python.core.SyspathJavaLoader.findResource(SyspathJavaLoader.java:152)
at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1403)
at com.sun.jna.Native.extractFromResourcePath(Native.java:1085)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455)
at com.sun.jna.Library$Handler.(Library.java:192)
at com.sun.jna.Native.loadLibrary(Native.java:646)
at com.sun.jna.Native.loadLibrary(Native.java:630)
at libdwarf.LibdwarfLibrary.(LibdwarfLibrary.java:13)
... 29 more
Caused by: java.net.MalformedURLException: Unknown protocol: jar
at java.base/java.net.URL.(URL.java:708)
at java.base/java.net.URL.(URL.java:569)
at java.base/java.net.URL.(URL.java:516)
at org.python.core.SyspathJavaLoader.findResource(SyspathJavaLoader.java:150)
... 37 more
Caused by: java.lang.IllegalStateException: Unknown protocol: jar
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)
at java.base/java.net.URL.(URL.java:703)
... 40 more
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
The text was updated successfully, but these errors were encountered: