Skip to content
New issue

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

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

Already on GitHub? # to your account

self compiled version won't start - setOpenURL - NoSuchMethodError #125

Closed
ThomasChr opened this issue Aug 29, 2022 · 5 comments
Closed
Labels
bug investigation needed The root cause of the issue needs more pinpointing in order to determinate if it worth a fix

Comments

@ThomasChr
Copy link
Contributor

Can anyone tell me why this happens?

>java -jar msgviewer.jar
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Exception in thread "main" java.lang.NoSuchMethodError: at/redeye/FrameWork/widgets/helpwindow/HyperlinkExecuter.setOpenUrl(Lat/redeye/FrameWork/widgets/helpwindow/OpenUrlInterface;)V 
(loaded from file:msgviewer.jar by jdk.internal.loader.ClassLoaders$AppClassLoader@65d1339b) 
called from class at.redeye.Plugins.ShellExec.Plugin (loaded from file:msgviewer.jar by jdk.internal.loader.ClassLoaders$AppClassLoader@65d1339b).

Starting the Release Version works just fine.
I compiled with openjdk 18 on a fresh Ubuntu 22.04

@lolo101
Copy link
Owner

lolo101 commented Aug 29, 2022

Hi @ThomasChr!
The method HyperlinkExecuter.setOpenUrl has been recently removed (not yet released)
However, the error you mention shows that the method is actually invoked in at.redeye.Plugins.ShellExec.Plugin
I didn't detect that invocation because the source files of that plugin are not part of MsgViewer.

I need to investigate this issue more closer because those plugins are still quite obscure to me.

Thank you very much for the report!

@lolo101 lolo101 added bug investigation needed The root cause of the issue needs more pinpointing in order to determinate if it worth a fix labels Aug 29, 2022
@ThomasChr
Copy link
Contributor Author

I‘m very glad that it wasn‘t just my own fault :-)
Tell me if I can help in any way!

@ThomasChr
Copy link
Contributor Author

After your commits 9 hours ago the actual commit de3d082 is working just fine.
I assume f99cb98 was the solution...

@lolo101
Copy link
Owner

lolo101 commented Aug 30, 2022

Good to hear that your issue is actually fixed :)

Before making a release I need to push tests further because as far as I understand the code the ShellExec plugin is only activated on Windows.
If you run the master version on a Linux box it might work whereas it breaks on a Windows box.

@ThomasChr
Copy link
Contributor Author

Yes. Absolutely!
I compiled on Linux but ran on Windows.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug investigation needed The root cause of the issue needs more pinpointing in order to determinate if it worth a fix
Projects
None yet
Development

No branches or pull requests

2 participants