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 193470 - [70cat] java.io.FileNotFoundException: Template Templates/JUnit/../Licenses/license-pvac.txt not found.
Summary: [70cat] java.io.FileNotFoundException: Template Templates/JUnit/../Licenses/l...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Victor Vasilyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 22:34 UTC by esmithbss
Modified: 2010-12-23 02:52 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 1431


Attachments
stacktrace (2.32 KB, text/plain)
2010-12-15 22:34 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-12-15 22:34:18 UTC
Build: NetBeans IDE Dev (Build 201012150001)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows XP

User Comments:
javydreamercsw: This is happening when creatin entities from DB. In fact the error text is written in the first line of each new class.

tjquinn: Adding a new Enum to a package

jojjeb: Error when trying to via ALT+ENTER create a new class [written the new class in one file and autotcreate the new class file].

Is it looking for a new template which I created in nb 6.0, which aren
Comment 1 esmithbss 2010-12-15 22:34:21 UTC
Created attachment 104139 [details]
stacktrace
Comment 2 Martin Entlicher 2010-12-20 16:37:38 UTC
The problematic instruction:
----------
==> include "../Licenses/license-${project.license}.txt" [on line 5, column 1 in Templates/JUnit/JUnit4TestClass.java]
----------

license-pvac.txt is really not present in NetBeans installation.
Comment 3 esmithbss 2010-12-23 02:52:53 UTC
I didn't put in the comments so I assume this came from the exception reporter.

The file it's looking for is my project's license file.  I think this should be tied to the request to specify the project license file within the project prop ties instead of manually editing the project properties file.