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.
Build: NetBeans IDE Dev (Build 20160920-9f06e8851406) VM: Java HotSpot(TM) 64-Bit Server VM, 9-internal+0-2016-09-22-143217.alexsch.jdk9-hidpi, Java(TM) SE Runtime Environment, 9-internal+0-2016-09-22-143217.alexsch.jdk9-hidpi OS: Windows 8.1 User Comments: sunflower: Build NetBeans from sources: http://hg.netbeans.org/jet-main Build JDK 9 from sources: http://hg.openjdk.java.net/jdk9/client/ Run the build NetBeans using the built JDK 9. Create a Java project. Build the project. The exception pops up. Stacktrace: java.lang.NullPointerException at java.lang.String.rangeCheck(String.java:278) at java.lang.String.<init>(String.java:274) at sun.swing.SwingUtilities2.getFontCharsWidth(SwingUtilities2.java:842) at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:360) at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:282) at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:247)
Created attachment 162176 [details] stacktrace
I believe it is problem with the code in the built JDK.