Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-623

Lots of Velocity logs are being generated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.0 B4
    • 1.0 B1
    • {Unused} Core
    • None

    Description

      for example:

      15:07:32.874 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #sep( ) : source =
      15:07:32.882 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #useravatar( username ) : source =
      15:07:32.894 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #mimetypeimg( mime fname ) : source =
      15:07:32.905 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #packName( name ) : source =
      15:07:32.914 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #panelheader( title ) : source =
      15:07:32.923 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #panelhiddenheader( title ) : source =
      15:07:32.932 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #largepanelheader( title ) : source =
      15:07:32.942 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #panelfooter( ) : source =
      15:07:32.949 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #displaypanel( name ) : source =
      15:07:32.962 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #displayPropName( prop ) : source =
      15:07:32.975 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #displaypanelcontent( doc obj ) : source =
      15:07:32.982 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikitopmenuentrystart( actionurl linktext id ) : source =
      15:07:32.993 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikitopmenuentry( actionurl linktext id ) : source =
      15:07:33.001 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #submenuitem( actionurl linktext ) : source =
      15:07:33.011 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikitopmenuentryend( ) : source =
      15:07:33.023 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikimessageboxstart( title message ) : source =
      15:07:33.031 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikimessageboxend( ) : source =
      15:07:33.042 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikimessagebox( title message urlyes urlno msgyes msgno ) : source =
      15:07:33.049 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikimessageboxfield( fielddoc fieldname fieldtext html ) : source =
      15:07:33.058 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #xwikimessageboxsubmit( submittext ) : source =
      15:07:33.066 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #csscolorproperty( csspropname fieldname ) : source =
      15:07:33.077 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #csscolorpropertyimportant( csspropname fieldname ) : source =
      15:07:33.084 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #displayPropName( prop ) : source =
      15:07:33.094 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #displaypanelcontent( doc obj ) : source =
      15:07:33.102 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >73>  Velocit
      

      and

      15:07:33.102 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >73>  Velocit
      y   [warn] org.apache.velocity.runtime.exception.ReferenceException: reference : template =  [line 1,column 31] : ${doc.
      parent.title} is not a valid reference.
      15:07:33.119 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >69>  Velocit
      y  [error] RHS of #set statement is null. Context will not be modified.  [line 1, column 1]
      15:07:33.151 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >87>  Velocit
      y  [error] RHS of #set statement is null. Context will not be modified.  [line 17, column 1]
      15:07:33.164 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >93>  Velocit
      y   [info] Velocimacro : added new VM : #breadcrumb( doc string ) : source =
      15:07:33.189 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >55>  Velocit
      y  [error] Left side ($!hidecolumns) of '==' operation has null value. If a reference, it may not be in the context. Ope
      ration not possible.  [line 9, column 21]
      15:07:33.208 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >74>  Velocit
      y  [error] Left side ($inline) of '==' operation has null value. If a reference, it may not be in the context. Operation
       not possible.  [line 2, column 15]
      15:07:33.218 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >72>  Velocit
      y   [warn] org.apache.velocity.runtime.exception.ReferenceException: reference : template =  [line 6,column 46] : $msg.g
      et(document) is not a valid reference.
      15:07:33.244 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >77>  Velocit
      y  [error] Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class com.xp
      n.xwiki.api.Document, right = class java.lang.String.  [line 34, column 14] (ASTEQNode)
      15:07:33.263 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >77>  Velocit
      y  [error] Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class com.xp
      n.xwiki.api.Document, right = class java.lang.String.  [line 34, column 14] (ASTEQNode)
      15:07:33.285 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >77>  Velocit
      y  [error] Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class com.xp
      n.xwiki.api.Document, right = class java.lang.String.  [line 34, column 14] (ASTEQNode)
      15:07:33.300 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >77>  Velocit
      y  [error] Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class com.xp
      n.xwiki.api.Document, right = class java.lang.String.  [line 34, column 14] (ASTEQNode)
      15:07:33.315 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >79>  Velocit
      y  [error] Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class com.xp
      n.xwiki.api.Object, right = class java.lang.String.  [line 4, column 12] (ASTEQNode)
      15:07:33.335 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >79>  Velocit
      y  [error] Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class com.xp
      n.xwiki.api.Object, right = class java.lang.String.  [line 4, column 12] (ASTEQNode)
      15:07:33.364 INFO   [P1-18] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >79>  Velocit
      y  [error] Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class com.xp
      n.xwiki.api.Object, right = class java.lang.String.  [line 4, column 12] (ASTEQNode)
      

      We need to investigate and find out the core reason for them.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: