[ https://issues.apache.org/jira/browse/NETBEANS-5334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279799#comment-17279799 ]
J S commented on NETBEANS-5334: ------------------------------- Solved the issue, my Windows 10 was lacking the key for "Networks and Computers" on the Registry Editor > Can't install NetBeans > ---------------------- > > Key: NETBEANS-5334 > URL: https://issues.apache.org/jira/browse/NETBEANS-5334 > Project: NetBeans > Issue Type: Bug > Affects Versions: 11.0, 12.0, 12.2 > Reporter: J S > Priority: Blocker > Labels: install, installation, installer > > Whenever I try to install Netbeans I get an error prompt saying: > "An unexpected exception happened in thread AWT-EventQueue-0 > java.lang.NullPointerException" > > Looking into the error log i found this 2 errors: > starting the installer > [2021-02-05 13:38:11.563]: ... initializing look and feel > [2021-02-05 13:38:11.563]: ... custom look and feel class name was not > specified, using system default > [2021-02-05 13:38:11.668]: ... class name: > com.sun.java.swing.plaf.windows.WindowsLookAndFeel > [2021-02-05 13:38:11.668]: ... get installed L&Fs > [2021-02-05 13:38:11.736]: ... set specified L&F > [2021-02-05 13:38:11.776]: ... check headless > [2021-02-05 13:38:11.777]: ... creating JFileChooser object to check possible > issues with UI > [2021-02-05 13:38:12.054]: ... could not activate defined L&F, initializing > cross-platfrom one > [2021-02-05 13:38:12.055]: java.lang.NullPointerException > [2021-02-05 13:38:12.056]: at > java.desktop/sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:611) > [2021-02-05 13:38:12.056]: at > java.desktop/sun.awt.shell.Win32ShellFolder2$2.call(Win32ShellFolder2.java:335) > [2021-02-05 13:38:12.056]: at > java.desktop/sun.awt.shell.Win32ShellFolder2$2.call(Win32ShellFolder2.java:333) > [2021-02-05 13:38:12.056]: at > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > [2021-02-05 13:38:12.056]: at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > [2021-02-05 13:38:12.056]: at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > [2021-02-05 13:38:12.056]: at > java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586) > [2021-02-05 13:38:12.056]: at java.base/java.lang.Thread.run(Thread.java:830) > [2021-02-05 13:38:12.057]: ... cross-platform L&F class-name : > javax.swing.plaf.metal.MetalLookAndFeel > [2021-02-05 13:38:12.060]: ... initializing L&F finished > > [2021-02-05 13:38:19.141]: ... use Java that is already selected for the > product: C:\Program Files\Java\jdk-13 > [2021-02-05 13:38:19.242]: An unexpected exception happened in thread > AWT-EventQueue-0 > [2021-02-05 13:38:19.243]: java.lang.NullPointerException > [2021-02-05 13:38:19.243]: at > java.desktop/sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:611) > [2021-02-05 13:38:19.243]: at > java.desktop/sun.awt.shell.Win32ShellFolder2$10.call(Win32ShellFolder2.java:817) > [2021-02-05 13:38:19.243]: at > java.desktop/sun.awt.shell.Win32ShellFolder2$10.call(Win32ShellFolder2.java:808) > [2021-02-05 13:38:19.243]: at > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > [2021-02-05 13:38:19.243]: at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > [2021-02-05 13:38:19.243]: at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > [2021-02-05 13:38:19.243]: at > java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586) > [2021-02-05 13:38:19.243]: at java.base/java.lang.Thread.run(Thread.java:830) > [2021-02-05 13:38:19.244]: ... show message dialog > [2021-02-05 13:38:19.244]: title: Critical Error > [2021-02-05 13:38:19.244]: message: An unexpected exception happened in > thread AWT-EventQueue-0 > [2021-02-05 13:38:19.244]: > [2021-02-05 13:38:19.244]: Exception: > [2021-02-05 13:38:19.244]: java.lang.NullPointerException: > [2021-02-05 13:38:19.245]: null > [2021-02-05 13:38:19.245]: > [2021-02-05 13:38:19.245]: You can get more details about the issue in the > installer log file: > [2021-02-05 13:38:19.245]: C:\Users\PcCom\.nbi\log\20210205133810.log > [2021-02-05 13:38:21.732]: ... dialog closed -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists