NullPointerException from Functions.printLogRecordHtml on ci.jenkins.io

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor
    • Component/s: core
    • Environment:

      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/

            Assignee:
            Unassigned
            Reporter:
            Mark Waite
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: