Icy on Mac OS: problems launching Icy; errors after plugin installation

92 views
Skip to first unread message

Maria Anastasina

unread,
Apr 11, 2019, 12:24:10 PM4/11/19
to Icy imaging

Hello, 

 

I face problems running Icy on Mac OS, described below. Has anyone ran into similar problems?


Set up: MacBook Pro 2.7 Ghz core-i7, 16 GB RAM, OSX 10.13.6; Java version is 1.8.0_202. 

 

Problem 1: Icy would not start if launched by opening icy.app file (I did run the osx-appfix file prior to launching Icy). When launching from the terminal by running open -a icy.app Icy fails with a message LSOpenURLsWithRole() failed for the application /Users/manastas/Documents/Software/icy/icy.app with error -10810.

 

Interestingly, Icy can be launched from the terminal running java -jar icy.jar and seems to run correctly.

 

Are there any ideas what could be wrong with launching the icy.app ?

 

Problem 2: Although plugin installation seems to work, it is accompanied by a list of errors appearing in the output (copied below). Does anyone know how to interpret and fix those? 

 

The following plugin(s) has been correctly installed:

Scale Bar 3.1.5.0

OrthoViewerROI3D 0.0.1.1

Ec-Clem AUTOFINDER 1.0.0.3

ec-CLEM 1.0.1.5

 

The following error is reported only on first occurence :

org.pushingpixels.substance.api.UiThreadingViolationException: Component creation must be done on Event Dispatch Thread

            at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.testThreadingViolation(SubstanceCoreUtilities.java:2117)

            at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java:2135)

            at org.pushingpixels.substance.internal.ui.SubstanceButtonUI.createUI(SubstanceButtonUI.java:139)

            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)

            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)

            at javax.swing.UIDefaults.getUI(UIDefaults.java:770)

            at javax.swing.UIManager.getUI(UIManager.java:1016)

            at javax.swing.JButton.updateUI(JButton.java:147)

            at javax.swing.AbstractButton.init(AbstractButton.java:2176)

            at javax.swing.JButton.<init>(JButton.java:137)

            at javax.swing.JButton.<init>(JButton.java:100)

            at plugins.adufour.ezplug.EzVar.<init>(EzVar.java:66)

            at plugins.adufour.ezplug.EzVarBoolean.<init>(EzVarBoolean.java:25)

            at plugins.perrine.easyclemv0.EasyCLEMv0.<init>(EasyCLEMv0.java:151)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

            at java.lang.Class.newInstance(Class.java:442)

            at icy.plugin.PluginLauncher.create(PluginLauncher.java:141)

            at icy.plugin.PluginLauncher.create(PluginLauncher.java:172)

            at icy.plugin.PluginLauncher.start(PluginLauncher.java:193)

            at plugins.kernel.searchprovider.OnlinePluginSearchResultProducer$OnlinePluginResult$1.run(OnlinePluginSearchResultProducer.java:110)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

            at java.util.concurrent.FutureTask.run(FutureTask.java:266)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

            at java.lang.Thread.run(Thread.java:748)

The following error is reported only on first occurence :

org.pushingpixels.substance.api.UiThreadingViolationException: State tracking must be done on Event Dispatch Thread

            at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.testThreadingViolation(SubstanceCoreUtilities.java:2117)

            at org.pushingpixels.substance.internal.animation.StateTransitionTracker$ModelStateInfo.clear(StateTransitionTracker.java:171)

            at org.pushingpixels.substance.internal.animation.StateTransitionTracker.<init>(StateTransitionTracker.java:192)

            at org.pushingpixels.substance.internal.utils.ButtonVisualStateTracker.installListeners(ButtonVisualStateTracker.java:73)

            at org.pushingpixels.substance.internal.ui.SubstanceButtonUI.__org__pushingpixels__substance__internal__ui__SubstanceButtonUI__installListeners(SubstanceButtonUI.java:238)

            at org.pushingpixels.substance.internal.ui.SubstanceButtonUI.installListeners(SubstanceButtonUI.java)

            at javax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:89)

            at org.pushingpixels.substance.internal.ui.SubstanceButtonUI.__org__pushingpixels__substance__internal__ui__SubstanceButtonUI__installUI(SubstanceButtonUI.java)

            at org.pushingpixels.substance.internal.ui.SubstanceButtonUI.installUI(SubstanceButtonUI.java)

            at javax.swing.JComponent.setUI(JComponent.java:666)

            at javax.swing.AbstractButton.setUI(AbstractButton.java:1810)

            at javax.swing.JButton.updateUI(JButton.java:147)

            at javax.swing.AbstractButton.init(AbstractButton.java:2176)

            at javax.swing.JButton.<init>(JButton.java:137)

            at javax.swing.JButton.<init>(JButton.java:100)

            at plugins.adufour.ezplug.EzVar.<init>(EzVar.java:66)

            at plugins.adufour.ezplug.EzVarBoolean.<init>(EzVarBoolean.java:25)

            at plugins.perrine.easyclemv0.EasyCLEMv0.<init>(EasyCLEMv0.java:151)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

            at java.lang.Class.newInstance(Class.java:442)

            at icy.plugin.PluginLauncher.create(PluginLauncher.java:141)

            at icy.plugin.PluginLauncher.create(PluginLauncher.java:172)

            at icy.plugin.PluginLauncher.start(PluginLauncher.java:193)

            at plugins.kernel.searchprovider.OnlinePluginSearchResultProducer$OnlinePluginResult$1.run(OnlinePluginSearchResultProducer.java:110)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

            at java.util.concurrent.FutureTask.run(FutureTask.java:266)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

            at java.lang.Thread.run(Thread.java:748)


Any advice will be much appreciated!


Thanks,

Maria 

Stephane

unread,
Apr 11, 2019, 12:44:32 PM4/11/19
to Icy imaging
Hello Maria,

The next version of Icy should get rid of (almost) these issues when starting Icy on OSX.
You can do manually what the osx-appfix should do :

- Open the Terminal app
- Go into the folder of Icy (using cd command)
- Execute the following command: xattr -dr com.apple.quarantine icy.app
Then hopefully now you should be able to execute Icy normally now.


About the error messages you see in the Icy console, don't worry they are not really important and here only to let the developer know good practices when dealing with GUI ;)
The developer of the plugin can fix it (but again this is not an important error).

Best,

- Stephane


Mina F Abder

unread,
Apr 11, 2019, 12:47:57 PM4/11/19
to icy-so...@googlegroups.com
Dear Maria 

I faced the same issue. 
There is a procedure described icy website. Plus, I had to launch ICY via Java, not as a usual application. 
Hope this would be clear.. 

--
You received this message because you are subscribed to the Google Groups "Icy imaging" group.
To unsubscribe from this group and stop receiving emails from it, send an email to icy-software+unsubscribe@googlegroups.com.
To post to this group, send email to icy-so...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/icy-software/01a5b5d6-bfce-46e9-b8f5-2cbff1bb7c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maria Anastasina

unread,
Apr 11, 2019, 12:49:01 PM4/11/19
to Icy imaging
Hi Stephane,

thanks very much for a quick solution, this solved the launching problem, and yes, I will not worry about those error messages!

Best,
Maria 
Reply all
Reply to author
Forward
0 new messages