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.

Bug 251882 - apisupport template for html4j wizard indicated as broken
Summary: apisupport template for html4j wizard indicated as broken
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-16 08:07 UTC by Jaroslav Tulach
Modified: 2015-08-26 11:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2015-04-16 08:07:34 UTC
Both templates - for "Portable UI" as well as "JS or Java HTML Wizard" seem to generate uncompilable code right now.
Comment 1 Jaroslav Tulach 2015-07-26 06:27:48 UTC
Tested again on ae2cb4c3691f (soon after braching on 8.1 beta) and the "Portable UI" wizard works OK.
Comment 2 Jaroslav Tulach 2015-07-26 06:47:57 UTC
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/
Comment 3 Jaroslav Tulach 2015-07-28 06:30:58 UTC
I can help to reproduce the problem, if needed.
Comment 4 Svata Dedic 2015-08-26 11:41:51 UTC
Works OK on NetBeans IDE Dev (Build 20150825-e92a62d8c651), JDK 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23.