Closed thangatina1 closed 5 years ago
did you resolve it?
@thangatina1 : It look like just warnings. It was trying to find in a cache, however since not available it loaded the actual file. I believe it should still generate the report despite these warning. Kindly confirm.
Kindly re-open if in case you still face this issue.
I did resolve it. I shall soon upload it to my GIT and update you
On Sat, Jun 9, 2018 at 11:03 PM, Zeinepka notifications@github.com wrote:
did you resolve it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/email2vimalraj/CucumberExtentReporter/issues/93#issuecomment-396016249, or mute the thread https://github.com/notifications/unsubscribe-auth/AlO7KvEiDawFxzpY3N3rI8yVkf-qBpBnks5t7IxwgaJpZM4UTgqr .
any updates on this?
Yes, I had to use the previous version, for some reason the newest version of extent report was giving me an exception
On Wednesday, August 22, 2018, Kamal Laungani notifications@github.com wrote:
any updates on this?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/email2vimalraj/CucumberExtentReporter/issues/93#issuecomment-415010255, or mute the thread https://github.com/notifications/unsubscribe-auth/AmReoIlB6JbwBEfeib4SY5KjhXCi74C4ks5uTUolgaJpZM4UTgqr .
For me the issue was due to lack of space in the drive where I had my workspace.
Once I cleared to a different place I was all good.
Sent from my iPhone
On Aug 28, 2018, at 8:38 PM, Zeinepka notifications@github.com wrote:
Yes, I had to use the previous version, for some reason the newest version of extent report was giving me an exception
On Wednesday, August 22, 2018, Kamal Laungani notifications@github.com wrote:
any updates on this?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/email2vimalraj/CucumberExtentReporter/issues/93#issuecomment-415010255, or mute the thread https://github.com/notifications/unsubscribe-auth/AmReoIlB6JbwBEfeib4SY5KjhXCi74C4ks5uTUolgaJpZM4UTgqr .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Same here, I'm using v2.41.2 by com.relevantcodes because the latest version refuses to work
I have the same problem , Below is the log. Please suggest to get rid of it. Although I'm able to run all the scenarios.
2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "index.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("index_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("index.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "index.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/index.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "head.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("head_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("head.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "head.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/head.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "nav.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("nav_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("nav.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "nav.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/nav.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "test-view/test-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "test-view/test-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/test-view/test-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "test-view/test-view-charts.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view-charts_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view-charts.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "test-view/test-view-charts.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/test-view/test-view-charts.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "test-view/bdd.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/bdd_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/bdd.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "test-view/bdd.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/test-view/bdd.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - "test-view/bdd.ftl"("en", UTF-8, parsed) cached copy not yet stale; using cached. 2020-06-05 10:22:25 DEBUG cache:45 - "test-view/bdd.ftl"("en", UTF-8, parsed) cached copy not yet stale; using cached. 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "category-view/category-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("category-view/category-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("category-view/category-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "category-view/category-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/category-view/category-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "author-view/author-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("author-view/author-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("author-view/author-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "author-view/author-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/author-view/author-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "exception-view/exception-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("exception-view/exception-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("exception-view/exception-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "exception-view/exception-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/exception-view/exception-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "dashboard-view/dashboard-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("dashboard-view/dashboard-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("dashboard-view/dashboard-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "dashboard-view/dashboard-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/dashboard-view/dashboard-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "logs-view/testrunner-logs-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("logs-view/testrunner-logs-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("logs-view/testrunner-logs-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "logs-view/testrunner-logs-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/logs-view/testrunner-logs-view.ftl"
Hi All, I am facing the above problem, displaying debug logs in eclipse console, with extentreport version:4.1.6 what is the fix for this issue?
I have the same problem , Below is the log. Please suggest to get rid of it. Although I'm able to run all the scenarios.
2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "index.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("index_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("index.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "index.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/index.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "head.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("head_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("head.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "head.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/head.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "nav.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("nav_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("nav.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "nav.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/nav.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "test-view/test-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "test-view/test-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/test-view/test-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "test-view/test-view-charts.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view-charts_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/test-view-charts.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "test-view/test-view-charts.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/test-view/test-view-charts.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "test-view/bdd.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/bdd_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("test-view/bdd.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "test-view/bdd.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/test-view/bdd.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - "test-view/bdd.ftl"("en", UTF-8, parsed) cached copy not yet stale; using cached. 2020-06-05 10:22:25 DEBUG cache:45 - "test-view/bdd.ftl"("en", UTF-8, parsed) cached copy not yet stale; using cached. 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "category-view/category-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("category-view/category-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("category-view/category-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "category-view/category-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/category-view/category-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "author-view/author-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("author-view/author-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("author-view/author-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "author-view/author-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/author-view/author-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "exception-view/exception-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("exception-view/exception-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("exception-view/exception-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "exception-view/exception-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/exception-view/exception-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "dashboard-view/dashboard-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("dashboard-view/dashboard-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("dashboard-view/dashboard-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "dashboard-view/dashboard-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/dashboard-view/dashboard-view.ftl" 2020-06-05 10:22:25 DEBUG cache:45 - Couldn't find template in cache for "logs-view/testrunner-logs-view.ftl"("en", UTF-8, parsed); will try to load it. 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("logs-view/testrunner-logs-view_en.ftl"): Not found 2020-06-05 10:22:25 DEBUG cache:45 - TemplateLoader.findTemplateSource("logs-view/testrunner-logs-view.ftl"): Found 2020-06-05 10:22:25 DEBUG cache:45 - Loading template for "logs-view/testrunner-logs-view.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/sadakarp/.m2/repository/com/aventstack/extentreports/3.1.2/extentreports-3.1.2.jar!/com/aventstack/extentreports/view/html-report/logs-view/testrunner-logs-view.ftl"
log4j.logger.freemarker.cache = INFO, CONSOLE Add this in log4j property file.
Hi Vimal & Team, I get the below error while i try to execute a cucumber test with extent report
2018-05-30 11:17:51,637 [main] DEBUG freemarker.cache - Couldn't find template in cache for "index.ftl"("en", UTF-8, parsed); will try to load it. 2018-05-30 11:17:51,637 [main] DEBUG freemarker.cache - TemplateLoader.findTemplateSource("index_en.ftl"): Not found 2018-05-30 11:17:51,637 [main] DEBUG freemarker.cache - TemplateLoader.findTemplateSource("index.ftl"): Found 2018-05-30 11:17:51,637 [main] DEBUG freemarker.cache - Loading template for "index.ftl"("en", UTF-8, parsed) from "jar:file:/C:/Users/n0264576/.m2/repository/com/aventstack/extentreports/3.1.5/extentreports-3.1.5.jar!/com/aventstack/extentreports/view/html-report/index.ftl" 2018-05-30 11:17:51,871 [main] DEBUG freemarker.cache - Couldn't find template in cache for "head.ftl"("en", UTF-8, parsed); will try to load it. 2018-05-30 11:17:51,871 [main] DEBUG freemarker.cache - TemplateLoader.findTemplateSource("head_en.ftl"): Not found 2018-05-30 11:17:51,871 [main] DEBUG freemarker.cache - TemplateLoader.findTemplateSource("head.ftl"): Found
My Code import java.io.File; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.runner.RunWith;
import com.aventstack.extentreports.ExtentReports; import com.aventstack.extentreports.reporter.ExtentHtmlReporter; import com.cucumber.listener.ExtentProperties; import com.cucumber.listener.Reporter; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber;
@RunWith(Cucumber.class) @CucumberOptions(features = "Feature/AAAAAAA"
)
public class SmokeTestRunner {