This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 162073 [details] Exception from project creation which lead to finding diff in jar files. Discovered when using new Project on NetBeans 9 dev build. Runtime platfomr JDK8 b101. Java Platform latest JDK9 exploded build. 7. Try to create a new project. "java.lang.IllegalArgumentException has occurred. However, the system should continue working without further problems. Click Show Details..." java.lang.ClassNotFoundException: org.netbeans.spi.java.project.support.ui.templates.JavaFileWizardIteratorFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222) NB 9 was installed by Windows installer from http://bits.netbeans.org/netbeans/nb9-for-jdk9_jigsaw/daily/latest/ Later user used zip file of NB9 and it works. User found DIFFERENCES among some files in installer which are different than those in zip file. Here is his provided diff: ============================== NetBeans Build 201609140404 Java SE Installer for Windows/English (en) netbeans-jdk9jigsaw-201609140404-javase-windows.exe (94.1 MB) SHA-256: f3921b2fc7bd24eea594eca085f856f768fd1c049e14b2755af045b2261bf5ea I discovered that the files in the org-netbeans-modules-java-project-ui.jar are different between the zip and the installed versions. Here I did a: jar -tvf ./java/modules/org-netbeans-modules-java-project-ui.jar | \ cut -c 37- | sort > files-zip.txt for both the zip and the installed version. Note the differences in the two versions, including my missing file *plus* module-info.class! % diff files.txt files-zip.txt 52,53d51 < org/netbeans/modules/java/project/ui/PackageDisplayUtils$2.class < org/netbeans/modules/java/project/ui/PackageDisplayUtils$Accessibility.class 115a114,115 > org/netbeans/modules/java/project/ui/resources/module-info.html > org/netbeans/modules/java/project/ui/resources/module-info.java.template 190,191d189 < org/netbeans/spi/java/project/support/ui/PackageViewChildren$PackageNode$2.class < org/netbeans/spi/java/project/support/ui/PackageViewChildren$PackageNode$3.class 213a212 > org/netbeans/spi/java/project/support/ui/templates/JavaFileWizardIteratorFactory.class ======================== Seems like windows.exe installer is broken or was broken. It is necessary to investigate what happened.
Just a couple more data points for a reproducible case. This happened on three different Windows 7 machines. 1. Installed a fresh Windows 7. 2. Installed a fresh JDK8u101. 3. Installed NB 9 using the Windows Installer. *Update Netbeans components was checked.* This may be the root cause, as I got it to work *ONE* time, it's possible I didn't check the button that one time. 4. Started NetBeans, File->create project. Select default Java Project, type in name, hit finish. Error seen, option to cancel/submit report/etc, the directory was created, and only an .xml file was created. But no .java files were created. 5. There was a similar error if you tried to open an existing file.
Unchecking the installer "Update Netbeans Components" or was it "update Netbeans plugins" in the last screen before the install, the resulting install image worked fine.
Just tried installing using the latest build checking the update box is apparently now working. Maybe the "update" is now correctly packaged?
I had an older version of the .zip file, and a couple new updates showed up when I tried to look at the plugin page. I went ahead and did the suggested update, and a similar problem occurred. I didn't check the exception to know if it was a exact dup, but it was another missing class.
Thank you for sharing your details and experience https://convertpdf2word.com I think it very good for me.