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

Unsupported JavaFX configuration: classes were loaded from unnamed module #31

Open
primetechstar opened this issue Aug 30, 2023 · 4 comments

Comments

@primetechstar
Copy link

          I'm sorry I haven't got around to fixing this until now. I'd appreciate it if someone could test it and reopen the issue if there are still problems.

Originally posted by @MaxiHuHe04 in #8 (comment)

Hi Maxi!!

First of all...you rock providing such a tool as open source!!

Just tried to install it and ran into a problem open the jar file...here is the error:

com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @3086edd8'
objc[9879]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff8e477c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x16a656cd8). One of the two will be used. Which one is undefined.

it has a different outcome after the second line because i am on a MAC but the first line of error is identical, it has something todo with javaFX...i am not a coder but i found something here i think? (lol):
https://stackoverflow.com/questions/67854139/javafx-warning-unsupported-javafx-configuration-classes-were-loaded-from-unna

i also have to tell you that the GUI loaded but when i browsed to the backup the files where grayed out(and when i open the "info.plist file which i assume i get an error message that"manifest.db" is missing

Now, here is my system config( and i know you don't have a MAC):

MAC Book (intel), High Sierra, Java SDK 20.0.2

Now, one thing i also have to tell....its an older iphone and i believe IOS version is something around 9.6.2 or similar, could this be a problem?

Anyway, hope you have any idea about this issue, looking forward to hear from you!

Best,

Frank
Primetechstar

@MaxiHuHe04
Copy link
Owner

Hey, sorry that it took so long.
It looks like you can just ignore the warning.
Could you post a screenshot of the grayed out files in case it is still relevant?
Also, the program probably only supports iOS 10.2 onwards, because the backup format changed drastically.

@MaxiHuHe04 MaxiHuHe04 changed the title I am reopening issue#8 Unsupported JavaFX configuration: classes were loaded from unnamed module Oct 11, 2023
@v4ssi404
Copy link

v4ssi404 commented Dec 3, 2023

Great tool and great works! You must advertise it more!

Same problem here but on windows 10, I have added the screenshots as you requested on the similar problem

dic 03, 2023 3:44:21 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @167f2d43'
Connection to the backup database of 'iPhone' has been established.java.nio.file.FileSystemException: D:\iphone-backup\Foto backup\CameraRollDomain\Media\PhotoData\CPL\storage\filecache\AUx: Nome di directory non valido                                                         
   at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92 undefined)                                                                                                                         
   at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103 undefined)                                                                                                                          
   at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108 undefined)                                                                                                                          
   at java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:527 undefined)                                                                                                             
   at java.base/java.nio.file.Files.createDirectory(Files.java:699 undefined)                                                                                                                                                  
   at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:807 undefined)                                                                                                                                        
   at java.base/java.nio.file.Files.createDirectories(Files.java:793 undefined)                                                                                                                                                
   at me.maxih.itunes_backup_explorer.api.BackupFile.extractToFolder(BackupFile.java:218 undefined)                                                                                                                            
   at me.maxih.itunes_backup_explorer.ui.FileSearchTabController.lambda$exportMatching$5(FileSearchTabController.java:86 undefined)                                                                                            
   at java.base/java.lang.Iterable.forEach(Iterable.java:75 undefined)                                                                                                                                                         
   at me.maxih.itunes_backup_explorer.ui.FileSearchTabController.exportMatching(FileSearchTabController.java:83 undefined)                                                                                                     
   at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103 undefined)                                                                                                          
   at java.base/java.lang.reflect.Method.invoke(Method.java:580 undefined)                                                                                                                                                     
   at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:77 undefined)                                                                                                                                                   
   at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103 undefined)                                                                                                          
   at java.base/java.lang.reflect.Method.invoke(Method.java:580 undefined)                                                                                                                                                     
   at com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:275 undefined)                                                                                                                                                  
   at com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:84 undefined)                                                                                                                                                  
   at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1854 undefined)                                                                                                                                              
   at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1724 undefined)                                                                                                                               
   at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86 undefined)                                                                                                                
   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234 undefined)                                                                                                                   
   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191 undefined)                                                                                                                   
   at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59 undefined)                                                                                                          
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74 undefined)                                                                                                                                                
   at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49 undefined)                                                                                                                                                    
   at javafx.event.Event.fireEvent(Event.java:198 undefined)                                                                                                                                                                   
   at javafx.scene.Node.fireEvent(Node.java:8797 undefined)                                                                                                                                                                    
   at javafx.scene.control.Button.fire(Button.java:203 undefined)                                                                                                                                                              
   at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:208 undefined)                                                                                                                    
   at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274 undefined)                                                                                                                                       
   at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247 undefined)                                                                                        
   at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80 undefined)                                                                                                                
   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234 undefined)                                                                                                                   
   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191 undefined)                                                                                                                   
   at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59 undefined)                                                                                                          
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56 undefined)                                                                                                                          
   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114 undefined)                                                                                                                     
   at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74 undefined)                                                                                                                                                
   at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54 undefined)                                                                                                                                                    
   at javafx.event.Event.fireEvent(Event.java:198 undefined)                                                                                                                                                                   
   at javafx.scene.Scene$MouseHandler.process(Scene.java:3881 undefined)                                                                                                                                                       
   at javafx.scene.Scene.processMouseEvent(Scene.java:1874 undefined)                                                                                                                                                          
   at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2607 undefined)                                                                                                                                               
   at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411 undefined)                                                                                                     
   at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301 undefined)                                                                                                     
   at java.base/java.security.AccessController.doPrivileged(AccessController.java:400 undefined)                                                                                                                               
   at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450 undefined)                                                                                                      
   at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424 undefined)                                                                                                                         
   at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449 undefined)                                                                                                               
   at com.sun.glass.ui.View.handleMouseEvent(View.java:551 undefined)                                                                                                                                                          
   at com.sun.glass.ui.View.notifyMouse(View.java:937 undefined)                                                                                                                                                               
   at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)                                                                                                                                                    
   at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184 undefined)                                                                                                                                  
   at java.base/java.lang.Thread.run(Thread.java:1583 undefined)

Screenshots

immagine

immagine

@MaxiHuHe04
Copy link
Owner

Hey @v4ssi404,
Thanks!
The warning at the top can be ignored. You are facing a problem unrelated to this issue here.
In contrast to iOS, Windows has some limitations on how files and folders can be named. You can read more about it here: https://stackoverflow.com/a/36227372/8868841. Basically, folders are not allowed to be called AUX, or AUx in your case. I can't do much about this. An option would be to export it to a folder with a slightly changed name, but I should definitely add a better error message. I won't have time to do this very soon as I'm busy with studying. But it would be very nice if you could open a new issue for this that I don't forget about it.
For your specific problem, you should be able to export it just fine by right clicking, selecting Export file... and choosing a custom destination.

@v4ssi404
Copy link

v4ssi404 commented Dec 3, 2023

Thank you for the response!

Ok perfect, I imagined that, I'll create another issue so you can track it as you asked. 💪🏼

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

3 participants