Issue2227

classification
Title: java.lang.RuntimeException: Method code too large!
Type: crash Severity: normal
Components: Any Versions: Jython 2.7
Milestone:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: Vic152, zyasoft
Priority: Keywords:

Created on 2014-11-08.17:01:49 by Vic152, last changed 2014-11-09.10:27:03 by zyasoft.

Messages
msg9193 (view) Author: (Vic152) Date: 2014-11-08.17:01:47
Hi Guys,

I'm getting this error when running this .py from Jython. It works fine with python.

Regards
Vic

Volatility Foundation Volatility Framework 2.3.1
Traceback (most recent call last):
  File "C:\vf\volatility-2.3.1\vol.py", line 184, in <module>
    main()
  File "C:\vf\volatility-2.3.1\vol.py", line 184, in <module>
    main()
  File "C:\vf\volatility-2.3.1\vol.py", line 137, in main
    registry.PluginImporter()
  File "C:\vf\volatility-2.3.1\volatility\registry.py", line 78, in __init__
    self.run_imports()
  File "C:\vf\volatility-2.3.1\volatility\registry.py", line 118, in run_imports
    __import__(i)
  File "C:\vf\volatility-2.3.1\volatility\registry.py", line 118, in run_imports
    __import__(i)
java.lang.RuntimeException: Method code too large!
        at org.python.objectweb.asm.MethodWriter.a(Unknown Source)
        at org.python.objectweb.asm.ClassWriter.toByteArray(Unknown Source)
        at org.python.compiler.ClassFile.write(ClassFile.java:212)
        at org.python.compiler.Module.write(Module.java:605)
        at org.python.compiler.Module.compile(Module.java:661)
        at org.python.core.imp.compileSource(imp.java:330)
        at org.python.core.imp.createFromSource(imp.java:348)
        at org.python.core.imp.loadFromSource(imp.java:583)
        at org.python.core.imp.find_module(imp.java:480)
        at org.python.core.PyModule.impAttr(PyModule.java:101)
        at org.python.core.imp.import_next(imp.java:739)
        at org.python.core.imp.import_logic(imp.java:801)
        at org.python.core.imp.import_module_level(imp.java:871)
        at org.python.core.imp.importName(imp.java:946)
        at org.python.core.ImportFunction.__call__(__builtin__.java:1301)
        at org.python.core.PyObject.__call__(PyObject.java:403)
        at org.python.core.PyObject.__call__(PyObject.java:407)
        at volatility.registry$py.run_imports$4(C:\vf\volatility-2.3.1\volatility\registry.py:115)
        at volatility.registry$py.call_function(C:\vf\volatility-2.3.1\volatility\registry.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:166)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:137)
        at org.python.core.PyFunction.__call__(PyFunction.java:347)
        at org.python.core.PyMethod.__call__(PyMethod.java:121)
        at volatility.registry$py.__init__$2(C:\vf\volatility-2.3.1\volatility\registry.py:78)
        at volatility.registry$py.call_function(C:\vf\volatility-2.3.1\volatility\registry.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:166)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:304)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
        at org.python.core.PyFunction.__call__(PyFunction.java:417)
        at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:232)
        at org.python.core.PyMethod.__call__(PyMethod.java:223)
        at org.python.core.PyMethod.__call__(PyMethod.java:218)
        at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
        at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1071)
        at org.python.core.PyType.type___call__(PyType.java:1657)
        at org.python.core.PyType.__call__(PyType.java:1640)
        at org.python.core.PyObject.__call__(PyObject.java:387)
        at org.python.core.PyObject.__call__(PyObject.java:391)
        at org.python.pycode._pyx0.main$4(C:\vf\volatility-2.3.1\vol.py:177)
        at org.python.pycode._pyx0.call_function(C:\vf\volatility-2.3.1\vol.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:166)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:123)
        at org.python.core.PyFunction.__call__(PyFunction.java:337)
        at org.python.pycode._pyx0.f$0(C:\vf\volatility-2.3.1\vol.py:191)
        at org.python.pycode._pyx0.call_function(C:\vf\volatility-2.3.1\vol.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:166)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.Py.runCode(Py.java:1312)
        at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:251)
        at org.python.util.jython.run(jython.java:334)
        at org.python.util.jython.main(jython.java:145)

java.lang.RuntimeException: java.lang.RuntimeException: Method code too large!
msg9195 (view) Author: Jim Baker (zyasoft) Date: 2014-11-09.10:27:03
Duplicate of http://bugs.jython.org/issue527524
History
Date User Action Args
2014-11-09 10:27:03zyasoftsetstatus: open -> closed
resolution: duplicate
messages: + msg9195
nosy: + zyasoft
2014-11-08 17:01:49Vic152create