Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Abandoned
-
11.0, 12.0, 12.2
-
None
-
None
-
Important
Description
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