Skip to content

Instantly share code, notes, and snippets.

@miura
Created July 14, 2016 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miura/6e0682c73e732426c699a5842c0101ce to your computer and use it in GitHub Desktop.
Save miura/6e0682c73e732426c699a5842c0101ce to your computer and use it in GitHub Desktop.
`fiji --headless test.py` error
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
error importing site
Traceback (most recent call last):
File "/Users/miura/.m2/repository/org/scijava/jython-shaded/2.5.3/jython-shaded-2.5.3.jar/site$py.class", line 62, in <module>
File "/Users/miura/.m2/repository/org/scijava/jython-shaded/2.5.3/jython-shaded-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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.imagej.launcher.ClassLauncher.launch(ClassLauncher.java:279)
at net.imagej.launcher.ClassLauncher.run(ClassLauncher.java:186)
at net.imagej.launcher.ClassLauncher.main(ClassLauncher.java:77)
java.lang.ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment