jython스크립트를 이클립스에서 작성하신 분 계신가요?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

jython스크립트를 이클립스에서 작성하신 분 계신가요?

young jun kim

ngrinder의 jar파일을 참조하여 이클립스에서 프로젝트를 구성해서 테스트해보면 아래와 같이 에러가 발생합니다.
혹시 동일한 문제를 격으신 분 계신가요?

환경 : mac os, ngrinder 3.4 , jdk 1.7, jython 2.5.3

error importing site
Traceback (most recent call last):
  File "/Users/youngjunkim/Documents/workspace/hellojython/extlib/jython-standalone-2.5.3.jar/site$py.class", line 62, in <module>
  File "/Users/youngjunkim/Documents/workspace/hellojython/extlib/jython-standalone-2.5.3.jar/os$py.class", line 50, in <module>
java.lang.ArrayIndexOutOfBoundsException: 8
        at org.python.objectweb.asm.ClassReader.a(Unknown Source)
        at org.python.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.python.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.python.core.AnnotationReader.<init>(AnnotationReader.java:44)
        at org.python.core.imp.readCode(imp.java:219)
        at org.python.core.util.importer.getModuleCode(importer.java:202)
        at org.python.core.util.importer.importer_load_module(importer.java:95)
        at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
        at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
        at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
        at org.python.core.imp.loadFromLoader(imp.java:518)
        at org.python.core.imp.find_module(imp.java:472)
        at org.python.core.imp.import_next(imp.java:718)
        at org.python.core.imp.import_module_level(imp.java:827)
        at org.python.core.imp.importName(imp.java:917)
        at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
        at org.python.core.PyObject.__call__(PyObject.java:357)
        at org.python.core.__builtin__.__import__(__builtin__.java:1173)
        at org.python.core.imp.importOneAs(imp.java:954)
        at os$py.f$0(/home/frank/hg/jython/jython/dist/Lib/os.py:705)
        at os$py.call_function(/home/frank/hg/jython/jython/dist/Lib/os.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:165)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.imp.createFromCode(imp.java:391)
        at org.python.core.util.importer.importer_load_module(importer.java:109)
        at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
        at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
        at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
        at org.python.core.imp.loadFromLoader(imp.java:518)
        at org.python.core.imp.find_module(imp.java:472)
        at org.python.core.imp.import_next(imp.java:718)
        at org.python.core.imp.import_module_level(imp.java:827)
        at org.python.core.imp.importName(imp.java:917)
        at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
        at org.python.core.PyObject.__call__(PyObject.java:357)
        at org.python.core.__builtin__.__import__(__builtin__.java:1173)
        at org.python.core.imp.importOne(imp.java:936)
        at site$py.f$0(/home/frank/hg/jython/jython/dist/Lib/site.py:430)
        at site$py.call_function(/home/frank/hg/jython/jython/dist/Lib/site.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:165)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.imp.createFromCode(imp.java:391)
        at org.python.core.util.importer.importer_load_module(importer.java:109)
        at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
        at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
        at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
        at org.python.core.imp.loadFromLoader(imp.java:518)
        at org.python.core.imp.find_module(imp.java:472)
        at org.python.core.imp.import_next(imp.java:718)
        at org.python.core.imp.import_first(imp.java:739)
        at org.python.core.imp.load(imp.java:631)
        at org.python.util.jython.run(jython.java:178)
        at org.python.util.jython.main(jython.java:129)

java.lang.ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: 8