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 1080 - after updating, fiji stops working.
after updating, fiji stops working.
Status: CONFIRMED
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
PC Linux
: P4 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2015-05-29 11:56 CDT by Robert Atwood
Modified: 2015-06-03 08:27 CDT
2 users (show)

See Also:

Description Robert Atwood 2015-05-29 11:56:55 CDT
Fiji was working, then I updated it, now it is not working. 
I reinstalled from the original downloaded package, and it was working, then I updated that re-installation, and it stopped working too. 
If I use an alternate JAVA_HOME then it does work. 
This bug report is submitted using the alternate JAVA_HOME because I cannot launch Fiji with the bundled Java. So, I cannot get to the bug report option! 

This is the error message I get:

 /dls_sw/apps/ImageJ/x86_64/fiji-20150529/Fiji.app/ImageJ-linux64
Error while executing the main() method of class 'net.imagej.Main':
sun.awt.X11.XException: Cannot write XdndAware property
        at sun.awt.X11.XDnDDropTargetProtocol.registerDropTarget(XDnDDropTargetProtocol.java:79)
        at sun.awt.X11.XDropTargetRegistry.registerDropSite(XDropTargetRegistry.java:554)
        at sun.awt.X11.XWindowPeer.addDropTarget(XWindowPeer.java:1633)
        at sun.awt.X11.XComponentPeer.addDropTarget(XComponentPeer.java:1509)
        at java.awt.dnd.DropTarget.addNotify(DropTarget.java:493)
        at java.awt.Component.addNotify(Component.java:6688)
        at java.awt.Container.addNotify(Container.java:2567)
        at java.awt.Window.addNotify(Window.java:663)
        at java.awt.Frame.addNotify(Frame.java:470)
        at java.awt.Window.pack(Window.java:704)
        at net.imagej.legacy.IJ1Helper.setVisible(IJ1Helper.java:271)
        at net.imagej.legacy.ui.LegacyUI.show(LegacyUI.java:132)
        at org.scijava.ui.DefaultUIService.showUI(DefaultUIService.java:180)
        at org.scijava.ui.DefaultUIService.showUI(DefaultUIService.java:165)
        at net.imagej.Main.launch(Main.java:67)
        at net.imagej.Main.main(Main.java:73)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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)

Information about your version of Java:

  os.arch => amd64
  os.name => Linux
  os.version => 2.6.32-504.16.2.el6.x86_64
  java.version => 1.8.0_45
  java.vendor => Oracle Corporation
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.8.0_45-b14
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 25.45-b02
  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.8
  sun.cpu.endian => little
  sun.desktop => null
  file.separator => /

The up-to-date check says: UP_TO_DATE

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: /dls_sw/apps/java/x64/jdk1.8.0_45/jre
  imagej.dir => /dls_sw/apps/ImageJ/x86_64/fiji/Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20150522112918)
Fiji: http://fiji.sc/update/ (last check:20150528170151)
Bio-Formats: http://sites.imagej.net/Bio-Formats/ (last check:20150528022642)
HDF5: http://sites.imagej.net/Ronneber/ (last check:20150214124119)

Files not up-to-date:
  2a3fdedd (MODIFIED) 20150529171934 jars/ij-1.49s.jar
  63e90571 (LOCAL_ONLY) 20110303194100 jars/jpedalSTD.jar
  28998678 (LOCAL_ONLY) 20120201165122 plugins/Set_TomoROI.py
  e63a1c4a (LOCAL_ONLY) 20120306151502 plugins/docentre.py
  28135af4 (LOCAL_ONLY) 20130628103559 plugins/sino_centre.py
  3359491e (LOCAL_ONLY) 20130208202928 plugins/sino_centre_i12.py
  127b1cb1 (LOCAL_ONLY) 20131212191146 plugins/sino_centre_i13.py
  d3260180 (LOCAL_ONLY) 20110303194101 scripts/Record_Desktop.py
  0ea7f8fc (LOCAL_ONLY) 20110303194101 scripts/Record_Window.py
Comment 1 Mark Hiner 2015-06-03 08:27:20 CDT
Thanks for the report.

It looks like this is a known JDK bug[1], and one of a host of problems with continuing to ship Java 6.

We hope to relieve these Java woes in the coming months. The correct thing to do, currently, is to manually set a different Java as you did.

[1] http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7100524