-
-
Notifications
You must be signed in to change notification settings - Fork 53
Replies: 1 comment · 7 replies
-
I got a 404 for the lib, found it at https://github.com/lanthale/LibRawFX Off the cuff just looking at it quickly, I'd suggest trying removing the module-info.java from the lib and see what happens. Could also post the full stack trace for the exception and I'll see if anything jumps out. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Go ahead and post the full stack :) |
Beta Was this translation helpful? Give feedback.
All reactions
-
Feb. 03, 2022 7:44:41 PM org.photoslide.search.SearchIndex createSearchIndex Feb. 03, 2022 7:44:59 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:04 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:05 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:05 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:05 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:05 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:07 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:09 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:09 PM org.librawfx.RAWImageLoader load Feb. 03, 2022 7:45:12 PM org.librawfx.RAWImageLoader load |
Beta Was this translation helpful? Give feedback.
All reactions
-
The most interesting line in the stack to me is this one: java.lang.UnsatisfiedLinkError: Native Library C:\Windows\System32\ucrtbase.dll already loaded in another classloader Looks like this kind of thing crops up once in a while... Looks like you are loading the library in a multi-threaded context and that's freaking it out for some reason. My guess would be to try accessing the library from a single thread and/or sort out the classloading and see if that changes anything. Might be able to replicate with a test case that just fires up multiple threads and tries to access the library. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes for me too. I made now some tests:
From my perspective there must be either an issue inside of the JDK or an issue with project Panama on Windows inside of a jlink/jpackage app. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Huh, guess you just have to see if you can isolate it down any further. Something is loading that lib, even if it's transitive. I have a very weird bug in with Rider right now for loading a C# native library that only fails on Windows if it's a transitive load via multiple assemblies and only in the unit test runner. Super weird. FWIW I know the Panama team is absolutely looking to sort out this kind of stuff, if you can get to small repro I'm sure they would be happy to look at it. |
Beta Was this translation helpful? Give feedback.
All reactions
This discussion was converted from issue #55 on February 02, 2022 18:37.
-
I have switched from module path to the classpath with the app Photoslide and everything went smooth except one issue:
On Windows the resulting image is throwing a NoClassNotFoundException. But the same packages are working on OSX and Linux. The class mentioning is a class inside of a modularized lib (librawfx) which is delivered with the package and placed on all OS on the classpath.
Normally I would change something but it seems that the issue is only shown under Windows. Starting the app from maven in Windows is working perfectly.
PhotoSlide app: https://github.com/lanthale/photoslide
Lib with the issue: https://github.com/lanthaler/librawfx
Do you have an idea what could be the root cause ? It seems that
Beta Was this translation helpful? Give feedback.
All reactions