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 180844 - error creating java interface
Summary: error creating java interface
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PLATFORM
Depends on:
Blocks:
 
Reported: 2010-02-17 08:55 UTC by krokkodillo
Modified: 2010-02-27 01:50 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 krokkodillo 2010-02-17 08:55:46 UTC
After selecting option from menu: new/Java Interface and hitting finish button the created interface code looks like this:

<#assign licenseFirst = "/*">
<#assign licensePrefix = " * ">
<#assign licenseLast = " */">
<#include "../Licenses/license-${project.license}.txt">

<#if package?? && package != "">
package ${package};

</#if>
/**
 *
 * @author ${user}
 */
public interface ${name} {

}


Spec:

Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13
System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb)
Comment 1 Tomas Zezula 2010-02-27 01:50:07 UTC
Works fine in both dev and NB 6.8.
Seems that the freemarker template engine is missing or broken, please try to reinstall the IDE.