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

Active installs dashboard is broken with JsonObject error

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with namespace [xwiki:ActiveInstalls.ActiveCounterValue2]
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:289)
      	at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:316)
      	at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
      	... 200 more
      Caused by: org.apache.velocity.exception.VelocityException: Reference evaluation threw an exception at xwiki:ActiveInstalls.ActiveCounterValue2[line 22, column 7]
      	at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:687)
      	at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:64)
      	at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:63)
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:170)
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423)
      	at org.apache.velocity.Template.merge(Template.java:358)
      	at org.apache.velocity.Template.merge(Template.java:262)
      	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:281)
      	... 202 more
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      	at org.apache.velocity.util.DuckType.get(DuckType.java:279)
      	at org.apache.velocity.util.DuckType.asBoolean(DuckType.java:136)
      	at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:682)
      	... 209 more
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.velocity.util.DuckType.get(DuckType.java:261)
      	... 211 more
      Caused by: java.lang.UnsupportedOperationException: JsonObject
      	at com.google.gson.JsonElement.getAsBoolean(JsonElement.java:153)
      	... 215 more
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: