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

Summary: error creating java interface
Product: java Reporter: krokkodillo
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED WORKSFORME    
Severity: normal Keywords: PLATFORM
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

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.