NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 973 - every time I launch fiji I get an exception about JavaScriptEvaluator
every time I launch fiji I get an exception about JavaScriptEvaluator
Status: RESOLVED DUPLICATE of bug 964
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
PC Linux
: P4 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2014-12-11 08:28 CST by Albert Cardona
Modified: 2014-12-11 11:51 CST
2 users (show)

See Also:

Description Albert Cardona 2014-12-11 08:28:27 CST
has been happening for perhaps a couple of months. Updated today, still same issue.

$ ./ImageJ-linux64 
log4j:WARN No appenders could be found for logger (org.bushe.swing.event.EventService).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
java.lang.IllegalArgumentException: Cannot modify method: public void run()
	at net.imagej.patcher.CodeHacker.insertAtTopOfMethod(CodeHacker.java:167)
	at net.imagej.patcher.LegacyExtensions.injectHooks(LegacyExtensions.java:229)
	at net.imagej.patcher.LegacyInjector.inject(LegacyInjector.java:308)
	at net.imagej.patcher.LegacyInjector.injectHooks(LegacyInjector.java:109)
	at net.imagej.patcher.LegacyEnvironment.initialize(LegacyEnvironment.java:101)
	at net.imagej.patcher.LegacyEnvironment.applyPatches(LegacyEnvironment.java:495)
	at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:397)
	at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:376)
	at net.imagej.legacy.DefaultLegacyService.<clinit>(DefaultLegacyService.java:124)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at java.lang.Class.newInstance(Class.java:374)
	at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:302)
	at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
	at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
	at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194)
	at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166)
	at org.scijava.Context.<init>(Context.java:244)
	at org.scijava.Context.<init>(Context.java:203)
	at org.scijava.Context.<init>(Context.java:142)
	at org.scijava.Context.<init>(Context.java:98)
	at org.scijava.Context.<init>(Context.java:86)
	at net.imagej.ImageJ.<init>(ImageJ.java:82)
	at net.imagej.Main.launch(Main.java:61)
	at net.imagej.Main.main(Main.java:73)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at net.imagej.launcher.ClassLauncher.launch(ClassLauncher.java:258)
	at net.imagej.launcher.ClassLauncher.run(ClassLauncher.java:184)
	at net.imagej.launcher.ClassLauncher.main(ClassLauncher.java:76)
Caused by: java.lang.IllegalArgumentException: No such class: JavaScriptEvaluator
	at net.imagej.patcher.CodeHacker.getClass(CodeHacker.java:880)
	at net.imagej.patcher.CodeHacker.getMethod(CodeHacker.java:906)
	at net.imagej.patcher.CodeHacker.getBehavior(CodeHacker.java:896)
	at net.imagej.patcher.CodeHacker.insertAtTopOfMethod(CodeHacker.java:158)
	... 33 more
Caused by: javassist.NotFoundException: JavaScriptEvaluator
	at javassist.ClassPool.get(ClassPool.java:450)
	at net.imagej.patcher.CodeHacker.getClass(CodeHacker.java:875)
	... 36 more

Information about your version of Java:

  os.arch => amd64
  os.name => Linux
  os.version => 3.13.0-43-generic
  java.version => 1.7.0_67
  java.vendor => Oracle Corporation
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.7.0_67-b01
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 24.65-b04
  java.vm.vendor => Oracle Corporation
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.X11GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.7
  sun.cpu.endian => little
  sun.desktop => gnome
  file.separator => /

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: /home/albert/Programming/fiji-linux64-20091014/Fiji.app/java/linux-amd64/jdk1.7.0_67//jre
  imagej.dir => /home/albert/Programming/fiji-linux64-20091014/Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20141126161327)
Fiji: http://fiji.sc/update/ (last check:20141210154822)
BigDataViewer: http://sites.imagej.net/Pietzsch/ (last check:20141126060148)
FFMPEG: http://fiji.sc/~schindelin/ffmpeg-plugins/ (last check:20130606112449)

Files not up-to-date:
  1581bc4d (MODIFIED) 20120131124042 Contents/MacOS/ImageJ-macosx
  75db148f (MODIFIED) 20120131124042 Contents/MacOS/ImageJ-tiger
  c3f8675e (OBSOLETE_UNINSTALLED) 20120614162204 jars/Jama.jar
  32a5cb57 (LOCAL_ONLY) 20090910082726 macros/StartupMacros.txt
  dc7fce6b (LOCAL_ONLY) 20111014094119 plugins/Motion_Deblur.jar
  32738eb1 (LOCAL_ONLY) 20120511160900 plugins/SAT-lib-Drosophila-3rd-instar.clj
  3335decb (LOCAL_ONLY) 20101016092738 plugins/T2-NIT.jar
  7c95e931 (LOCAL_ONLY) 20140420121925 plugins/test_haskell_splitAt.py
  7f241f66 (LOCAL_ONLY) 20100603001850 plugins/tests/Example_Cursors.class
  a47f6af3 (LOCAL_ONLY) 20130425143259 plugins/tests/crop-file.py
  d3260180 (LOCAL_ONLY) 20090910082729 scripts/Record_Desktop.py
  0ea7f8fc (LOCAL_ONLY) 20090910082729 scripts/Record_Window.py
Comment 1 Mark Hiner 2014-12-11 11:51:11 CST
Closing this as a duplicate of #964 - which has a fix pending and should be uploaded imminently.

Thanks for the report though!

*** This bug has been marked as a duplicate of bug 964 ***