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.
Both templates - for "Portable UI" as well as "JS or Java HTML Wizard" seem to generate uncompilable code right now.
Tested again on ae2cb4c3691f (soon after braching on 8.1 beta) and the "Portable UI" wizard works OK.
The "Java HTML Wizard" seems to be working fine, but something is wrong in its interaction with Java Source Badging. After creating the template, the file is marked as broken in the tab, but editor window indicates everything is green. And project compilation is OK too. Lowering priority and passing to Java guys. To reproduce: 1. start recent build of NetBeans 8.1 2. create New Project/NetBeans Modules/Standalone Project 3. right click on newly created package and choose New/Wizard 4. choose "New File with HTML/Java UI" go thru the wizard, create files. 5. Java file is created and marked as errornous, but compiling the project is OK This are the log messages I can see in console: org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /tmp/htmlnbapp/wizardjava/src took: 8 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms] org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 1 source roots took: 8 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms] WARNING [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Incorrect error badges detected, file=/tmp/htmlnbapp/wizardjava/src/cz/xelfi/wizard/test/JWiz.java. WARNING [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Going to recompute root=/tmp/htmlnbapp/wizardjava/src, files in error=[file:/tmp/htmlnbapp/wizardjava/src/cz/xelfi/wizard/test/JWiz.java]. INFO: No FileObject found for the following URL: file:/tmp/htmlnbapp/wizardjava/test/unit/src/ [exec] java.lang.IllegalStateException: No FileObject found for the following URL: file:/tmp/htmlnbapp/wizardjava/test/unit/src/
I can help to reproduce the problem, if needed.
Works OK on NetBeans IDE Dev (Build 20150825-e92a62d8c651), JDK 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23.