Failed

it.tidalwave.image.java2d.ScaleJ2DOpTest.setUp (from TestSuite)

Failing for the past 1 build (Since #1303 )
Took 0.28 sec.

Error Message

java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

Stacktrace

java.lang.RuntimeException: 
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at it.tidalwave.image.java2d.ScaleJ2DOpTest.setUp(ScaleJ2DOpTest.java:59)
Caused by: java.awt.HeadlessException: 

No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at it.tidalwave.image.java2d.ScaleJ2DOpTest.setUp(ScaleJ2DOpTest.java:59)

Standard Output

02:24:59.113 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0, 0, [])
02:24:59.113 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0)
02:24:59.113 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - createImageReader(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, ReadOp.PluginBlackList(plugins=[com.sun.imageio.plugins.tiff.TIFFImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter]))
02:24:59.113 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> suffix is jpg
02:24:59.113 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@1008676e, false, jpg)
02:24:59.113 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@1008676e, javax.imageio.ImageIO$ImageReaderIterator@3095b3d9)
02:24:59.147 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@422cbfa4, vendor: Oracle Corporation
02:24:59.147 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@422cbfa4, vendor: Oracle Corporation
02:24:59.147 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@422cbfa4
02:24:59.245 [main                ] WARN  it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations
02:24:59.245 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@422cbfa4, 0)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - >>>> iioMetadata class: class com.sun.imageio.plugins.jpeg.JPEGMetadata, using metadata loader: class it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader
02:24:59.281 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@6233e6f2, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@39ba51de, class it.tidalwave.image.metadata.TIFF)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@81496da)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@6233e6f2, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@39ba51de, class it.tidalwave.image.metadata.EXIF)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@2c18903c)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@6233e6f2, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@39ba51de, class it.tidalwave.image.metadata.MakerNote)
02:24:59.281 [main                ] WARN  it.tidalwave.image.op.ReadOp                       - No loader for class it.tidalwave.image.metadata.MakerNote
02:24:59.281 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@6233e6f2, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@39ba51de, class it.tidalwave.image.metadata.IPTC)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@5161e73b)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@6233e6f2, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@39ba51de, class it.tidalwave.image.metadata.XMP)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@3a3e7868)
02:24:59.281 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .size:           100, 66
02:24:59.281 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .tiles:          1 1
02:24:59.281 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .class:          java.awt.image.BufferedImage
02:24:59.281 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .sampleModel:    java.awt.image.PixelInterleavedSampleModel[width: 100, height: 66, numBands: 3, dataType: 0, scanlineStride: 300, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0]
02:24:59.281 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .colorModel:     java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@7abc838a transparency = 1 has alpha = false isAlphaPre = false
02:24:59.282 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .colorSpace:     java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in]
02:24:59.282 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0, 0, [])
02:24:59.282 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0)
02:24:59.282 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - createImageReader(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, ReadOp.PluginBlackList(plugins=[com.sun.imageio.plugins.tiff.TIFFImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader, com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter]))
02:24:59.282 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> suffix is jpg
02:24:59.282 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@7e416039, false, jpg)
02:24:59.282 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@7e416039, javax.imageio.ImageIO$ImageReaderIterator@204708f5)
02:24:59.282 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@7b8c3a33, vendor: Oracle Corporation
02:24:59.282 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@7b8c3a33, vendor: Oracle Corporation
02:24:59.282 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@7b8c3a33
02:24:59.355 [main                ] WARN  it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations
02:24:59.355 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@7b8c3a33, 0)
02:24:59.360 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - >>>> iioMetadata class: class com.sun.imageio.plugins.jpeg.JPEGMetadata, using metadata loader: class it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader
02:24:59.360 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3bb89fc6, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@26662f14, class it.tidalwave.image.metadata.TIFF)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@a4e6e8)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3bb89fc6, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@26662f14, class it.tidalwave.image.metadata.EXIF)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@31962e3)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3bb89fc6, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@26662f14, class it.tidalwave.image.metadata.MakerNote)
02:24:59.361 [main                ] WARN  it.tidalwave.image.op.ReadOp                       - No loader for class it.tidalwave.image.metadata.MakerNote
02:24:59.361 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3bb89fc6, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@26662f14, class it.tidalwave.image.metadata.IPTC)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@7ca08be9)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3bb89fc6, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@26662f14, class it.tidalwave.image.metadata.XMP)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@6b2905e6)
02:24:59.361 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .size:           100, 64
02:24:59.361 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .tiles:          1 1
02:24:59.361 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .class:          java.awt.image.BufferedImage
02:24:59.361 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .sampleModel:    java.awt.image.PixelInterleavedSampleModel[width: 100, height: 64, numBands: 3, dataType: 0, scanlineStride: 300, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0]
02:24:59.361 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .colorModel:     java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@7abc838a transparency = 1 has alpha = false isAlphaPre = false
02:24:59.361 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .colorSpace:     java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in]
02:24:59.361 [main                ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - findImplementation(OptimizeOp(scale:1.0, quality:FASTEST), it.tidalwave.image.java2d.ImageModelJ2D[id: -1181924783210918674], canConvert: false)
02:24:59.362 [main                ] WARN  it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations
02:24:59.362 [main                ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - >>>> found implementation from ImplementationFactory(modelClass=class java.awt.image.BufferedImage)
02:24:59.362 [main                ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - >>>> image class: class java.awt.image.BufferedImage, factory model class: class java.awt.image.BufferedImage
02:24:59.362 [main                ] DEBUG it.tidalwave.image.op.OperationImplementation      - executing OptimizeOp(scale:1.0, quality:FASTEST)
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.size:           100, 66
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.tiles:          1 1
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.class:          java.awt.image.BufferedImage
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.sampleModel:    java.awt.image.PixelInterleavedSampleModel[width: 100, height: 66, numBands: 3, dataType: 0, scanlineStride: 300, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0]
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.colorModel:     java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@7abc838a transparency = 1 has alpha = false isAlphaPre = false
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.colorSpace:     java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in]
02:24:59.362 [main                ] TRACE it.tidalwave.image.java2d.OptimizeJ2DOp            - >>>> calling convertToSinglePixelPackedSampleModel()
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - convertToSinglePixelPackedSampleModel(image: BufferedImage@4c9d3dcd: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@7abc838a transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 100 height = 66 #numDataElements 3 dataOff[0] = 2)
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.size:           100, 66
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.tiles:          1 1
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.class:          java.awt.image.BufferedImage
02:24:59.362 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.sampleModel:    java.awt.image.PixelInterleavedSampleModel[width: 100, height: 66, numBands: 3, dataType: 0, scanlineStride: 300, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0]
02:24:59.363 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.colorModel:     java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@7abc838a transparency = 1 has alpha = false isAlphaPre = false
02:24:59.363 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.colorSpace:     java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in]
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.size:           100, 66
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.tiles:          1 1
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.class:          java.awt.image.BufferedImage
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.sampleModel:    java.awt.image.SinglePixelPackedSampleModel[width: 100, height: 66, numBands: 3, dataType: 3, scanlineStride: 100, transferType: 3, numDataElements: 1, bitMasks: ff0000,ff00,ff, bitOffsets: 16,8,0]
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.colorModel:     java.awt.image.DirectColorModel : DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=0
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.colorSpace:     java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in]
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() completed ok in 1 msec
02:24:59.364 [main                ] TRACE it.tidalwave.image.java2d.OptimizeJ2DOp            - >>>>>>>> iccProfile is now: sRGB built-in
02:24:59.364 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - createOptimizedImage(1.0, 1.0, FASTEST)
02:24:59.364 [main                ] ERROR it.tidalwave.image.EditableImage                   - Operation failed, offending image: BufferedImage@4c9d3dcd: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@7abc838a transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 100 height = 66 #numDataElements 3 dataOff[0] = 2