self compiled version won't start - setOpenURL - NoSuchMethodError
See original GitHub issueCan 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
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
java.lang.NoSuchMethodError on compile - Stack Overflow
When I looked at the dependencies I thought I just needed google auto value since that is where the missing method resides but...
Read more >Issues - MsgViewer - lolo101 - Geeks
self compiled version won't start - setOpenURL - NoSuchMethodError ... Some MSG Files cause 'Cannot invoke "String.length()" because "s" is null'.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes. Absolutely! I compiled on Linux but ran on Windows.
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.