Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple locations found #3

Open
olasabet opened this issue Oct 3, 2021 · 4 comments
Open

multiple locations found #3

olasabet opened this issue Oct 3, 2021 · 4 comments

Comments

@olasabet
Copy link

olasabet commented Oct 3, 2021

I installed the BaSiC plugin as outlined and have used it before on Fiji. Recently I tried to use it again and it hit the following incompatibility. I don't know where to start from in troubleshooting.

[Sun Oct 03 17:30:57 CEST 2021] [ERROR] [] null
java.lang.NoSuchMethodException: Could not find method edu.emory.mathcs.utils.ConcurrencyUtils.getThreadsBeginN_1D()I
There was a problem with the class edu.emory.mathcs.utils.ConcurrencyUtils which can be found here:
/Users/work/Applications/Fiji.app/jars/jtransforms-2.4.jar
/Users/work/Applications/Fiji.app/jars/parallelcolt-0.9.4.jar

WARNING: multiple locations found!
java.lang.NoSuchMethodError: edu.emory.mathcs.utils.ConcurrencyUtils.getThreadsBeginN_1D()I
at cern.colt.matrix.tdouble.impl.DenseDoubleMatrix1D.zSum(Unknown Source)
at BaSiC_.matrixMean(BaSiC_.java:1041)
at BaSiC_.ShadingCorrection(BaSiC_.java:540)
at BaSiC_.exec(BaSiC_.java:403)
at BaSiC_.processDialog(BaSiC_.java:259)
at BaSiC_.showDialog(BaSiC_.java:164)
at BaSiC_.run(BaSiC_.java:113)
at ij.IJ.runUserPlugIn(IJ.java:241)
at ij.IJ.runPlugIn(IJ.java:204)
at ij.Executer.runCommand(Executer.java:150)
at ij.Executer.run(Executer.java:68)
at java.lang.Thread.run(Thread.java:748)

at cern.colt.matrix.tdouble.impl.DenseDoubleMatrix1D.zSum(Unknown Source)
at BaSiC_.matrixMean(BaSiC_.java:1041)
at BaSiC_.ShadingCorrection(BaSiC_.java:540)
at BaSiC_.exec(BaSiC_.java:403)
at BaSiC_.processDialog(BaSiC_.java:259)
at BaSiC_.showDialog(BaSiC_.java:164)
at BaSiC_.run(BaSiC_.java:113)
at ij.IJ.runUserPlugIn(IJ.java:241)
at ij.IJ.runPlugIn(IJ.java:204)
at ij.Executer.runCommand(Executer.java:150)
at ij.Executer.run(Executer.java:68)
at java.lang.Thread.run(Thread.java:748)
@olasabet
Copy link
Author

olasabet commented Oct 3, 2021

Fixed thanks!

@AntonioMargheriti
Copy link

AntonioMargheriti commented Dec 10, 2021

Hello olasabet

I currently have the same error message as you did. I've already tried the troubleshooting approach described on the BaSiC website - I did not have a jtransforms2.4.jar file so I don't think that any issue can stem from there. Could you tell me how you fixed this issue?

Cheers

@olasabet
Copy link
Author

Hi Antonio,
yes go to your jars folder (for example for me /Users/work/Applications/Fiji.app/jars/) then look for the files that start with jtransforms and parallelcolt. You will find two of them (hence the error), delete the duplicate or take it out of the jars folder somewhere else until you are sure things are running. Cheers

@AntonioMargheriti
Copy link

Hi olasabet

I see, thanks a lot - it's working now.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants