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

Changing the File Path for Junit XML file throws Exception

XMLWordPrintable

      When we try to change the path to the JUnit XML Result file it doesn't save the new path. It continues using the default file path instead like shown in the screenshot.

      This is the exception which is thrown by the plugin:

      Mai 10, 2022 3:54:28 NACHM. WARNUNG hudson.ExpressionFactory2$JexlExpression evaluate
      Caught exception evaluating: attrs.value ?: instance[attrs.field] ?: default in /view/TQS/job/TQS/job/qTest-Tosca/job/Tosca_Delete_Screenshots_All/configure. Reason: java.lang.reflect.InvocationTargetException
      java.lang.NullPointerException
      at com.adaptavist.tm4j.jenkins.extensions.postbuildactions.TestResultPublisher.getName(TestResultPublisher.java:211)
      Caused: java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      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.PropertyExecutor.execute(PropertyExecutor.java:125)
      at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
      at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
      at org.apache.commons.jexl.parser.ASTArrayAccess.value(ASTArrayAccess.java:118) 

            zeedeveloper Zephyr Developer
            sven_schneider Sven Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: