Klov Server throwing freemarker.core._TemplateModelException - Not able to generate/see any extent reports on...












0














Successfully installed klov server on localhost:90 and mongodb 3.2 is running/listening on port 27017



After login to localhost:90 with klovadmin/password, command prompt for klov showing "Error executing FreeMarker template"



   2018-11-13 015:54:07.367 ERROR 10504 --- [ qtp19615804-36]
freemarker.runtime : Error executing FreeMarker
template

freemarker.core._TemplateModelException: Java method
"com.aventstack.klov.viewdefs.Color.byStatus(String)" threw an
exception when invoked on com.aventstack.klov.viewdefs.Color object
"com.aventstack.klov.viewdefs.Color@1f29da2"; see cause exception in
the Java stack trace.

---- FTL stack trace ("~" means nesting-related):
- Failed at: ${Color.byStatus(project.lastReport.s... [in template "project.select.ftl" at line 46, column 117]
----
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289) ~[freemarker-2.3.28.jar!/:2.3.28]
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:252) ~[freemarker-2.3.28.jar!/:2.3.28]


Error Screenshot










share|improve this question
























  • This is because of mismatched versions of the API and server. See extentreports.com/community here, at the very bottom you can download Klov 0.1.1 which will not give you this error.
    – foursyth
    Nov 13 '18 at 18:03
















0














Successfully installed klov server on localhost:90 and mongodb 3.2 is running/listening on port 27017



After login to localhost:90 with klovadmin/password, command prompt for klov showing "Error executing FreeMarker template"



   2018-11-13 015:54:07.367 ERROR 10504 --- [ qtp19615804-36]
freemarker.runtime : Error executing FreeMarker
template

freemarker.core._TemplateModelException: Java method
"com.aventstack.klov.viewdefs.Color.byStatus(String)" threw an
exception when invoked on com.aventstack.klov.viewdefs.Color object
"com.aventstack.klov.viewdefs.Color@1f29da2"; see cause exception in
the Java stack trace.

---- FTL stack trace ("~" means nesting-related):
- Failed at: ${Color.byStatus(project.lastReport.s... [in template "project.select.ftl" at line 46, column 117]
----
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289) ~[freemarker-2.3.28.jar!/:2.3.28]
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:252) ~[freemarker-2.3.28.jar!/:2.3.28]


Error Screenshot










share|improve this question
























  • This is because of mismatched versions of the API and server. See extentreports.com/community here, at the very bottom you can download Klov 0.1.1 which will not give you this error.
    – foursyth
    Nov 13 '18 at 18:03














0












0








0







Successfully installed klov server on localhost:90 and mongodb 3.2 is running/listening on port 27017



After login to localhost:90 with klovadmin/password, command prompt for klov showing "Error executing FreeMarker template"



   2018-11-13 015:54:07.367 ERROR 10504 --- [ qtp19615804-36]
freemarker.runtime : Error executing FreeMarker
template

freemarker.core._TemplateModelException: Java method
"com.aventstack.klov.viewdefs.Color.byStatus(String)" threw an
exception when invoked on com.aventstack.klov.viewdefs.Color object
"com.aventstack.klov.viewdefs.Color@1f29da2"; see cause exception in
the Java stack trace.

---- FTL stack trace ("~" means nesting-related):
- Failed at: ${Color.byStatus(project.lastReport.s... [in template "project.select.ftl" at line 46, column 117]
----
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289) ~[freemarker-2.3.28.jar!/:2.3.28]
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:252) ~[freemarker-2.3.28.jar!/:2.3.28]


Error Screenshot










share|improve this question















Successfully installed klov server on localhost:90 and mongodb 3.2 is running/listening on port 27017



After login to localhost:90 with klovadmin/password, command prompt for klov showing "Error executing FreeMarker template"



   2018-11-13 015:54:07.367 ERROR 10504 --- [ qtp19615804-36]
freemarker.runtime : Error executing FreeMarker
template

freemarker.core._TemplateModelException: Java method
"com.aventstack.klov.viewdefs.Color.byStatus(String)" threw an
exception when invoked on com.aventstack.klov.viewdefs.Color object
"com.aventstack.klov.viewdefs.Color@1f29da2"; see cause exception in
the Java stack trace.

---- FTL stack trace ("~" means nesting-related):
- Failed at: ${Color.byStatus(project.lastReport.s... [in template "project.select.ftl" at line 46, column 117]
----
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289) ~[freemarker-2.3.28.jar!/:2.3.28]
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:252) ~[freemarker-2.3.28.jar!/:2.3.28]


Error Screenshot







automated-tests extentreports






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 5:31









Zain Farooq

1,9652926




1,9652926










asked Nov 13 '18 at 4:58









Manish Sharma

187




187












  • This is because of mismatched versions of the API and server. See extentreports.com/community here, at the very bottom you can download Klov 0.1.1 which will not give you this error.
    – foursyth
    Nov 13 '18 at 18:03


















  • This is because of mismatched versions of the API and server. See extentreports.com/community here, at the very bottom you can download Klov 0.1.1 which will not give you this error.
    – foursyth
    Nov 13 '18 at 18:03
















This is because of mismatched versions of the API and server. See extentreports.com/community here, at the very bottom you can download Klov 0.1.1 which will not give you this error.
– foursyth
Nov 13 '18 at 18:03




This is because of mismatched versions of the API and server. See extentreports.com/community here, at the very bottom you can download Klov 0.1.1 which will not give you this error.
– foursyth
Nov 13 '18 at 18:03












2 Answers
2






active

oldest

votes


















1














This error was related to Klov-0.2.0, which is not currently supported for C# (only java at this time).



To run the server use Klov-0.1.1 which is available at http://extentreports.com/community/






share|improve this answer





























    0














    I am using Java with Klov-0.2.0 and still getting this error. I even converted the
    klov-master project in jar form which has this class and added it in my project still to no avail.






    share|improve this answer





















      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53274082%2fklov-server-throwing-freemarker-core-templatemodelexception-not-able-to-gener%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      This error was related to Klov-0.2.0, which is not currently supported for C# (only java at this time).



      To run the server use Klov-0.1.1 which is available at http://extentreports.com/community/






      share|improve this answer


























        1














        This error was related to Klov-0.2.0, which is not currently supported for C# (only java at this time).



        To run the server use Klov-0.1.1 which is available at http://extentreports.com/community/






        share|improve this answer
























          1












          1








          1






          This error was related to Klov-0.2.0, which is not currently supported for C# (only java at this time).



          To run the server use Klov-0.1.1 which is available at http://extentreports.com/community/






          share|improve this answer












          This error was related to Klov-0.2.0, which is not currently supported for C# (only java at this time).



          To run the server use Klov-0.1.1 which is available at http://extentreports.com/community/







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 13 '18 at 22:38









          Manish Sharma

          187




          187

























              0














              I am using Java with Klov-0.2.0 and still getting this error. I even converted the
              klov-master project in jar form which has this class and added it in my project still to no avail.






              share|improve this answer


























                0














                I am using Java with Klov-0.2.0 and still getting this error. I even converted the
                klov-master project in jar form which has this class and added it in my project still to no avail.






                share|improve this answer
























                  0












                  0








                  0






                  I am using Java with Klov-0.2.0 and still getting this error. I even converted the
                  klov-master project in jar form which has this class and added it in my project still to no avail.






                  share|improve this answer












                  I am using Java with Klov-0.2.0 and still getting this error. I even converted the
                  klov-master project in jar form which has this class and added it in my project still to no avail.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 25 '18 at 17:32









                  Vanshdeep

                  62




                  62






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53274082%2fklov-server-throwing-freemarker-core-templatemodelexception-not-able-to-gener%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Bressuire

                      Vorschmack

                      Quarantine