Guten Morgen Zusammen,
ich habe derzeit probleme wenn ich mein Programm debuggen will.
Wenn ich das ohne Debugger mache funktioniert alles.
sobald ich ein Datei laden möchte bekomme ich diese Exception:
Leider kann ich damit übernichts anfangen.
Kann mir einer helfen?
Danke und Gruß
ich habe derzeit probleme wenn ich mein Programm debuggen will.
Wenn ich das ohne Debugger mache funktioniert alles.
sobald ich ein Datei laden möchte bekomme ich diese Exception:
Java:
Sept. 28, 2021 7:04:10 AM sun.awt.shell.Win32ShellFolderManager2 getRecent
WARNING: Cannot access 'Recent'
java.io.IOException: Could not get shell folder ID list
at java.desktop/sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:647)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:645)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:832)
Sept. 28, 2021 7:04:10 AM sun.awt.shell.Win32ShellFolderManager2 getDesktop
WARNING: Cannot access 'Desktop'
java.io.IOException: Could not get shell folder ID list
at java.desktop/sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:647)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:645)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:832)
Sept. 28, 2021 7:04:10 AM sun.awt.shell.Win32ShellFolderManager2 getPersonal
WARNING: Cannot access 'Personal'
java.io.IOException: Could not get shell folder ID list
at java.desktop/sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:647)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:645)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:832)
Sept. 28, 2021 7:04:10 AM sun.awt.shell.Win32ShellFolderManager2 getDesktop
WARNING: Cannot access 'Desktop'
java.io.IOException: Could not get shell folder ID list
at java.desktop/sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:647)
at java.desktop/sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:645)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:616)
at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:519)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:645)
at java.desktop/sun.awt.shell.Win32ShellFolder2.composePathForCsidl(Win32ShellFolder2.java:257)
at java.desktop/sun.awt.shell.Win32ShellFolder2.<init>(Win32ShellFolder2.java:270)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2.getDesktop(Win32ShellFolderManager2.java:165)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getDesktop(Win32ShellFolder2.java:506)
at java.desktop/sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:278)
at java.desktop/sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:273)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:832)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "sun.awt.shell.Win32ShellFolder2.getIShellFolder()" because the return value of "sun.awt.shell.Win32ShellFolder2.getDesktop()" is null
at java.desktop/sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:278)
at java.desktop/sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:273)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:832)
Leider kann ich damit übernichts anfangen.
Kann mir einer helfen?
Danke und Gruß