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.
This issue was reported manually by hashiron. It already has 5 duplicates Build: NetBeans IDE Dev (Build 201705210001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13 OS: Windows 10 User Comments: hashiron: 1.create new project JacaFxApplication 2.create new file Module-info.java GUEST: Created a jigsaw module and moduel-info.java was opened. GUEST: z GUEST: The module-info_1.dump file contains: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ module time.compile.lib { } ----- Classpath: --------------------------------------------- bootPath: nbjrt:file:/home/noon/java/jigsaw-jdk-9-ea+158_linux-x64_bin/jdk-9/!/modules/java.base/ classPath: sourcePath: /home/noon/workspace/time-compile/lib/src/main/java:/home/noon/workspace/time-compile/lib/src/main/resources ----- Original exception --------------------------------------------- java.lang.UnsupportedOperationException at javax.tools.JavaFileManager.contains(JavaFileManager.java:600) at com.sun.tools.javac.comp.Modules.checkSourceLocation(Modules.java:587) at com.sun.tools.javac.comp.Modules.setCompilationUnitModules(Modules.java:570) at com.sun.tools.javac.comp.Modules.enter(Modules.java:286) at com.sun.tools.javac.comp.Modules.initModules(Modules. GUEST: <Please provide a description of the problem or the steps to reproduce>d Stacktrace: java.lang.UnsupportedOperationException at javax.tools.JavaFileManager.contains(JavaFileManager.java:600) at com.sun.tools.javac.comp.Modules.checkSourceLocation(Modules.java:587) at com.sun.tools.javac.comp.Modules.setCompilationUnitModules(Modules.java:570) at com.sun.tools.javac.comp.Modules.enter(Modules.java:286) at com.sun.tools.javac.comp.Modules.initModules(Modules.java:249) at com.sun.tools.javac.main.JavaCompiler.initModules(JavaCompiler.java:1103)
Created attachment 164363 [details] stacktrace
Created attachment 164381 [details] stacktrace UOE when calling code completion in module-info
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/657a3e870b85 http://hg.netbeans.org/main/nb-javac/rev/e1bdd2b27bfc
Integrated into 'main-silver', will be available in build *201705270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/657a3e870b85 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #270696, #268429, #200970, and #257649 fixed.