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

String index out of range when doing a complex inverse FFT #269

Open
ovcretzu opened this issue Dec 14, 2020 · 0 comments
Open

String index out of range when doing a complex inverse FFT #269

ovcretzu opened this issue Dec 14, 2020 · 0 comments

Comments

@ovcretzu
Copy link

When doing an inverse complex FFT on a stack with a short name, the following error appears: java.lang.StringIndexOutOfBoundsException: String index out of range: -9. This has to do with line 553 in FFT.java: String name = WindowManager.getUniqueName(imp.getTitle().substring(10)).

Steps to reproduce:

  • Open an image
  • Do a complex FFT
  • Rename the stack to something with <10 characters
  • Do an inverse FFT

Workaround: rename the stack to something with >10 characters

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

1 participant