Skip to content

Huge log entry in ee4j.glassfish Jenkins job for o.j.p.c.i.MaskedException giving console text 10x big as usual

Summary

Extracted from #6369 (comment 4498945)

https://ci.eclipse.org/glassfish/job/glassfish_build-and-test-using-jenkinsfile/job/PR-25606/4/ (unfortunately only two builds are kept so this one (4) is gone)

(I suspect also https://ci.eclipse.org/glassfish/job/glassfish_build-and-test-using-jenkinsfile/job/master/1776/, set that to keep)

The stars compress perfectly - so xz'ed file is 1.8M (can attach here if needed).

$ grep 'org.jenkinsci.plugins.credentialsbinding.impl.MaskedException' PR-25606-consoleText-4.txt | tail -1 | wc
      1       9 105468813
$ grep 'org.jenkinsci.plugins.credentialsbinding.impl.MaskedException' PR-25606-consoleText-4.txt | wc -l
81
$ grep 'org.jenkinsci.plugins.credentialsbinding.impl.MaskedException' PR-25606-consoleText-4.txt | wc
     81     336 810065677

The build https://ci.eclipse.org/glassfish/job/glassfish_build-and-test-using-jenkinsfile/job/PR-25606/5/ also has something to say about MaskedException

Creating placeholder flownodes because failed loading originals.
hudson.remoting.ProxyException: java.lang.NullPointerException: Cannot read the array length because "this.fCurrentEntity.ch" is null
...
Caused: hudson.remoting.ProxyException: com.thoughtworks.xstream.converters.ConversionException: 
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : Cannot read the array length because "this.fCurrentEntity.ch" is null
class               : java.util.LinkedHashMap
required-type       : java.util.LinkedHashMap
converter-type      : hudson.util.RobustMapConverter
path                : /linked-hash-map/entry[58]/Tag/actions/wf.a.ErrorAction/error/suppressedExceptions/org.jenkinsci.plugins.credentialsbinding.impl.MaskedException/detailMessage
line number         : 2590
version             : 2.492.2
-------------------------------
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
...

Steps to reproduce

(How one can reproduce the issue - this is very important)

What is the current bug behavior?

Not sure if that is related to the size of MaskedException, but the job failed after that and the contains:

Also:   java.lang.OutOfMemoryError: Java heap space

What is the expected correct behavior?

(What you should see instead)

Relevant logs and/or screenshots

(Add a link to or paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

(What is the impact of this issue? Is it blocking a release? Are there any time constraints?, for example: "We have a release tomorrow")

Edited by Piotr Żygieło