Failed

it.tidalwave.image.java2d.WriteJ2DOpTest.testWriteOptimizedJPEG (from TestSuite)

Failing for the past 93 builds (Since #1211 )
Took 12 ms.

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.WriteJ2DOpTest.testWriteOptimizedJPEG(WriteJ2DOpTest.java:53)
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.WriteJ2DOpTest.testWriteOptimizedJPEG(WriteJ2DOpTest.java:53)

Standard Output

02:24:59.628 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0, 0, [])
02:24:59.628 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0)
02:24:59.628 [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.628 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> suffix is jpg
02:24:59.628 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@141390d4, false, jpg)
02:24:59.628 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@141390d4, javax.imageio.ImageIO$ImageReaderIterator@7ab4d6c6)
02:24:59.629 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@bd8a959, vendor: Oracle Corporation
02:24:59.629 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@bd8a959, vendor: Oracle Corporation
02:24:59.629 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@bd8a959
02:24:59.707 [main                ] WARN  it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations
02:24:59.707 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@bd8a959, 0)
02:24:59.745 [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.745 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3efff1a7, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@3e28286f, class it.tidalwave.image.metadata.TIFF)
02:24:59.745 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@7da59470)
02:24:59.745 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3efff1a7, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@3e28286f, class it.tidalwave.image.metadata.EXIF)
02:24:59.745 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@179f26ca)
02:24:59.745 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3efff1a7, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@3e28286f, class it.tidalwave.image.metadata.MakerNote)
02:24:59.745 [main                ] WARN  it.tidalwave.image.op.ReadOp                       - No loader for class it.tidalwave.image.metadata.MakerNote
02:24:59.745 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3efff1a7, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@3e28286f, class it.tidalwave.image.metadata.IPTC)
02:24:59.745 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@56ac9f57)
02:24:59.746 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3efff1a7, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@3e28286f, class it.tidalwave.image.metadata.XMP)
02:24:59.746 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@29b8aebd)
02:24:59.746 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .size:           100, 66
02:24:59.746 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .tiles:          1 1
02:24:59.746 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .class:          java.awt.image.BufferedImage
02:24:59.746 [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.746 [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.746 [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.746 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0, 0, [])
02:24:59.746 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0)
02:24:59.746 [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.746 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> suffix is jpg
02:24:59.746 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@16a8694f, false, jpg)
02:24:59.746 [main                ] INFO  it.tidalwave.image.op.ReadOp                       - createImageReader(FileChannelImageInputStream@16a8694f, javax.imageio.ImageIO$ImageReaderIterator@24cc0aea)
02:24:59.746 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@4dc875b2, vendor: Oracle Corporation
02:24:59.746 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@4dc875b2, vendor: Oracle Corporation
02:24:59.746 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@4dc875b2
02:24:59.857 [main                ] WARN  it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations
02:24:59.857 [main                ] TRACE it.tidalwave.image.op.ReadOp                       - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@4dc875b2, 0)
02:24:59.859 [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.859 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@124fe1db, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@4c5e21e5, class it.tidalwave.image.metadata.TIFF)
02:24:59.860 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@1adca607)
02:24:59.860 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@124fe1db, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@4c5e21e5, class it.tidalwave.image.metadata.EXIF)
02:24:59.860 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@1e1dcd8d)
02:24:59.860 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@124fe1db, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@4c5e21e5, class it.tidalwave.image.metadata.MakerNote)
02:24:59.860 [main                ] WARN  it.tidalwave.image.op.ReadOp                       - No loader for class it.tidalwave.image.metadata.MakerNote
02:24:59.860 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@124fe1db, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@4c5e21e5, class it.tidalwave.image.metadata.IPTC)
02:24:59.868 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@7331b6ac)
02:24:59.868 [main                ] DEBUG it.tidalwave.image.op.ReadOp                       - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@124fe1db, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@4c5e21e5, class it.tidalwave.image.metadata.XMP)
02:24:59.868 [main                ] DEBUG it.tidalwave.image.metadata.Directory              - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@4edde026)
02:24:59.868 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .size:           100, 64
02:24:59.868 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .tiles:          1 1
02:24:59.868 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> Loaded image: .class:          java.awt.image.BufferedImage
02:24:59.868 [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.868 [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.868 [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.868 [main                ] INFO  it.tidalwave.image.java2d.WriteJ2DOpTest           - *****************************
02:24:59.868 [main                ] INFO  it.tidalwave.image.java2d.WriteJ2DOpTest           - TEST "testWriteOptimizedJPEG"
02:24:59.868 [main                ] INFO  it.tidalwave.image.java2d.WriteJ2DOpTest           - *****************************
02:24:59.869 [main                ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - findImplementation(OptimizeOp(scale:0.5, quality:FASTEST), it.tidalwave.image.java2d.ImageModelJ2D[id: -1181924782748895289], canConvert: false)
02:24:59.869 [main                ] WARN  it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations
02:24:59.869 [main                ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - >>>> found implementation from ImplementationFactory(modelClass=class java.awt.image.BufferedImage)
02:24:59.869 [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.869 [main                ] DEBUG it.tidalwave.image.op.OperationImplementation      - executing OptimizeOp(scale:0.5, quality:FASTEST)
02:24:59.869 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.size:           100, 66
02:24:59.869 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.tiles:          1 1
02:24:59.869 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.class:          java.awt.image.BufferedImage
02:24:59.869 [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.869 [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.869 [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.869 [main                ] TRACE it.tidalwave.image.java2d.OptimizeJ2DOp            - >>>> calling convertToSinglePixelPackedSampleModel()
02:24:59.870 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - convertToSinglePixelPackedSampleModel(image: BufferedImage@414f5975: 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.870 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.size:           100, 66
02:24:59.870 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.tiles:          1 1
02:24:59.870 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> source bufferedImage.class:          java.awt.image.BufferedImage
02:24:59.870 [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.870 [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.870 [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.871 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.size:           100, 66
02:24:59.871 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.tiles:          1 1
02:24:59.871 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() returning.class:          java.awt.image.BufferedImage
02:24:59.871 [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.871 [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.871 [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.871 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - >>>> convertToSinglePixelPackedSampleModel() completed ok in 1 msec
02:24:59.871 [main                ] TRACE it.tidalwave.image.java2d.OptimizeJ2DOp            - >>>>>>>> iccProfile is now: sRGB built-in
02:24:59.871 [main                ] DEBUG it.tidalwave.image.java2d.Java2DUtils              - createOptimizedImage(0.5, 0.5, FASTEST)
02:24:59.871 [main                ] ERROR it.tidalwave.image.EditableImage                   - Operation failed, offending image: BufferedImage@414f5975: 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.871 [main                ] ERROR it.tidalwave.image.java2d.WriteJ2DOpTest           - TEST FAILED in 3 msec - testWriteOptimizedJPEG - java.lang.RuntimeException: java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
02:24:59.880 [main                ] ERROR it.tidalwave.image.java2d.WriteJ2DOpTest           - TEST FAILED
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.EditableImage.execute(EditableImage.java:498)
	at it.tidalwave.image.java2d.WriteJ2DOpTest.testWriteOptimizedJPEG(WriteJ2DOpTest.java:53)
	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
	at org.testng.TestRunner.privateRun(TestRunner.java:782)
	at org.testng.TestRunner.run(TestRunner.java:632)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
	at org.testng.TestNG.run(TestNG.java:1064)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at java.desktop/sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:58)
	at it.tidalwave.image.java2d.Java2DUtils.createOptimizedImage(Java2DUtils.java:115)
	at it.tidalwave.image.java2d.Java2DUtils.createOptimizedImage(Java2DUtils.java:637)
	at it.tidalwave.image.java2d.OptimizeJ2DOp.execute(OptimizeJ2DOp.java:64)
	at it.tidalwave.image.java2d.OptimizeJ2DOp.execute(OptimizeJ2DOp.java:41)
	at it.tidalwave.image.op.OperationImplementation.execute(OperationImplementation.java:63)
	at it.tidalwave.image.EditableImage.internalExecute(EditableImage.java:865)
	at it.tidalwave.image.EditableImage.execute(EditableImage.java:486)
	... 30 common frames omitted
02:24:59.880 [main                ] ERROR it.tidalwave.image.java2d.WriteJ2DOpTest           -