Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68397

NullPointerException from Functions.printLogRecordHtml on ci.jenkins.io

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None

      The system log on ci.jenkins.io is reporting a null pointer exception when trying to display some of the logs. I've seen it from the "Warnings" log and from the "GitHub" log when accessed through the "Manage Jenkins" -> "System Log" -> "GitHub" and from "Manage Jenkins" -> "System Log" -> "Warnings".

      May 03, 2022 10:12:23 PM WARNING hudson.ExpressionFactory2$JexlExpression evaluate
      Caught exception evaluating: h.printLogRecordHtml(logRecord, prior) in /log/Warnings/. Reason: java.lang.NullPointerException
      java.lang.NullPointerException
      	at hudson.Functions.printLogRecordHtml(Functions.java:562)
      	at jdk.internal.reflect.GeneratedMethodAccessor8024.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
      	at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
      	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
      	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
      

      I've not found a way to duplicate the issue yet, but it is frequently reported in the log when I open https://ci.jenkins.io/log/Warnings/

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: