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

Compute features option not working in Mastodon #280

Closed
sundar07 opened this issue Feb 21, 2024 · 6 comments · Fixed by #281
Closed

Compute features option not working in Mastodon #280

sundar07 opened this issue Feb 21, 2024 · 6 comments · Fixed by #281
Assignees
Labels

Comments

@sundar07
Copy link

Hi Jean Yves,
I have been using Mastodon plugin in FIJI to track cells manually in zebrafish embryos. When I finished tracking and went for “Compute Features” option, I get the following error:

Exception in thread “Feature computation thread” java.lang.NoClassDefFoundError: io/humble/ferry/AtomicInteger
at org.mastodon.mamut.feature.SpotTrackIDFeatureComputer.run(SpotTrackIDFeatureComputer.java:77)
at org.mastodon.feature.DefaultFeatureComputerService.compute(DefaultFeatureComputerService.java:261)
at org.mastodon.mamut.feature.MamutFeatureComputerService.compute(MamutFeatureComputerService.java:96)
at org.mastodon.mamut.MamutFeatureComputation$MyFeatureComputerService.compute(MamutFeatureComputation.java:163)
at org.mastodon.feature.ui.FeatureComputationController$2.run(FeatureComputationController.java:129)
Caused by: java.lang.ClassNotFoundException: io.humble.ferry.AtomicInteger
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
… 5 more

I have updated java, updated fiji, tried uninstalling and re-installing Mastodon, but still have the same problem. Any suggestions?

Thanks
Sundar

@sundar07
Copy link
Author

Hi Stefan,
Thanks for your reply. I am very much an end user and I do not particularly understand how to change what you have suggested. Can you detail this a bit more? Or does this change has to happen from Mastodon's end?

@stefanhahmann
Copy link
Collaborator

GIF 21 02 2024 10-16-15

@stefanhahmann
Copy link
Collaborator

@sundar07
Copy link
Author

It works now! Thanks a lot for the work around!!

@tinevez tinevez self-assigned this Feb 21, 2024
@tinevez tinevez added the bug label Feb 21, 2024
@tinevez
Copy link
Contributor

tinevez commented Feb 21, 2024

It is an import error. I imported AtomicInteger from humble video, while I should have imported the one in java.lang.
I did not see the error because I am distracted and I had humble video in my class path when compiling.
I am so sorry >.<

@stefanhahmann
Copy link
Collaborator

It is an import error. I imported AtomicInteger from humble video, while I should have imported the one in java.lang. I did not see the error because I am distracted and I had humble video in my class path when compiling. I am so sorry >.<

Cf.:
#281

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

Successfully merging a pull request may close this issue.

3 participants