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

java.lang.NoSuchMethodError #48

Closed
JahnJ opened this issue Jul 19, 2019 · 2 comments
Closed

java.lang.NoSuchMethodError #48

JahnJ opened this issue Jul 19, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@JahnJ
Copy link

JahnJ commented Jul 19, 2019

I recently tried to finetune a model, but run into following error, when starting the finetune process:

Exception in thread "Thread-10" java.lang.NoSuchMethodError: de.unifreiburg.unet.ProgressMonitor.taskProgressMax()F
at de.unifreiburg.unet.FinetuneWithRoisJob.run(FinetuneWithRoisJob.java:291)

I trief with a fresh Fiji-Download from http://fiji.sc ; deleted the IJ_Prefs.txt file; and a clean install of the U-Net Plugin via the "Manage update sites". Tried it on 2 different machines (Win 8.1/10), but still the same error. Backend server is running Ubuntu 16.04 LTS with the "caffe_unet_package_16.04_gpu_cuDNN.zip" prebuild binary. Segmentation workes fine.

Also when pressing the "from Image" button for element size a similar error occurs:

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: de.unifreiburg.unet.Tools.getElementSizeUmFromCalibration(Lij/measure/Calibration;I)[D
at de.unifreiburg.unet.FinetuneWithRoisJob$1.actionPerformed(FinetuneWithRoisJob.java:166)

Any idea how to fix it?
Thank you very much!

grafik

@ThorstenFalk ThorstenFalk self-assigned this Jul 19, 2019
@ThorstenFalk ThorstenFalk added the bug Something isn't working label Jul 19, 2019
@ThorstenFalk
Copy link
Collaborator

Thanks for pointing this out. A seemingly unrelated problem already bugged me for a while, but now after seeing your error message I could finally localize and fix it.

@JahnJ
Copy link
Author

JahnJ commented Jul 19, 2019

Thank you very much for this rapid fix.
Updated the plugin and it works fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants