Failed
it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest.testRotate90a (from TestSuite)
Error Message
class java.io.File cannot be cast to class java.nio.file.Path (java.io.File and java.nio.file.Path are in module java.base of loader 'bootstrap')
Stacktrace
java.lang.ClassCastException: class java.io.File cannot be cast to class java.nio.file.Path (java.io.File and java.nio.file.Path are in module java.base of loader 'bootstrap') at it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest.testRotate(RotateQuadrantOpJ2DTest.java:96) at it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest.testRotate90a(RotateQuadrantOpJ2DTest.java:59)
Standard Output
04:49:11.771 [main ] TRACE it.tidalwave.image.op.ReadOp - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0, 0, []) 04:49:11.771 [main ] INFO it.tidalwave.image.op.ReadOp - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20030701-0043.jpg, 0) 04:49:11.771 [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])) 04:49:11.771 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> suffix is jpg 04:49:11.771 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@bf8e74f, false, jpg) 04:49:11.771 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@bf8e74f, javax.imageio.ImageIO$ImageReaderIterator@624bb3a) 04:49:11.771 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@2fe24199, vendor: Oracle Corporation 04:49:11.771 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@2fe24199, vendor: Oracle Corporation 04:49:11.771 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@2fe24199 04:49:11.810 [main ] WARN it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations 04:49:11.810 [main ] TRACE it.tidalwave.image.op.ReadOp - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@2fe24199, 0) 04:49:11.824 [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 04:49:11.824 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@5a1cb357, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@e665dd6, class it.tidalwave.image.metadata.TIFF) 04:49:11.824 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@49ea5e8) 04:49:11.824 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@5a1cb357, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@e665dd6, class it.tidalwave.image.metadata.EXIF) 04:49:11.824 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@284f5007) 04:49:11.824 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@5a1cb357, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@e665dd6, class it.tidalwave.image.metadata.MakerNote) 04:49:11.824 [main ] WARN it.tidalwave.image.op.ReadOp - No loader for class it.tidalwave.image.metadata.MakerNote 04:49:11.824 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@5a1cb357, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@e665dd6, class it.tidalwave.image.metadata.IPTC) 04:49:11.824 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@17f6d852) 04:49:11.824 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@5a1cb357, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@e665dd6, class it.tidalwave.image.metadata.XMP) 04:49:11.824 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@2b42bf97) 04:49:11.825 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .size: 100, 66 04:49:11.825 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .tiles: 1 1 04:49:11.825 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .class: java.awt.image.BufferedImage 04:49:11.825 [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] 04:49:11.825 [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@71662b15 transparency = 1 has alpha = false isAlphaPre = false 04:49:11.825 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorSpace: java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in] 04:49:11.825 [main ] TRACE it.tidalwave.image.op.ReadOp - ReadOp(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0, 0, []) 04:49:11.825 [main ] INFO it.tidalwave.image.op.ReadOp - read(/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace/20060603-0002.jpg, 0) 04:49:11.825 [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])) 04:49:11.825 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> suffix is jpg 04:49:11.825 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@89f52dd, false, jpg) 04:49:11.825 [main ] INFO it.tidalwave.image.op.ReadOp - createImageReader(FileChannelImageInputStream@89f52dd, javax.imageio.ImageIO$ImageReaderIterator@290a3fd4) 04:49:11.825 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> pre-testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@5a328a18, vendor: Oracle Corporation 04:49:11.825 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> testing reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@5a328a18, vendor: Oracle Corporation 04:49:11.825 [main ] TRACE it.tidalwave.image.op.ReadOp - >>>> returning reader: com.sun.imageio.plugins.jpeg.JPEGImageReader@5a328a18 04:49:11.861 [main ] WARN it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations 04:49:11.861 [main ] TRACE it.tidalwave.image.op.ReadOp - loadMetadata(com.sun.imageio.plugins.jpeg.JPEGImageReader@5a328a18, 0) 04:49:11.866 [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 04:49:11.866 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3c82efe9, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@465e4a86, class it.tidalwave.image.metadata.TIFF) 04:49:11.866 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@6e84b4f4) 04:49:11.866 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3c82efe9, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@465e4a86, class it.tidalwave.image.metadata.EXIF) 04:49:11.866 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@698c0817) 04:49:11.866 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3c82efe9, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@465e4a86, class it.tidalwave.image.metadata.MakerNote) 04:49:11.866 [main ] WARN it.tidalwave.image.op.ReadOp - No loader for class it.tidalwave.image.metadata.MakerNote 04:49:11.866 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3c82efe9, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@465e4a86, class it.tidalwave.image.metadata.IPTC) 04:49:11.866 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@425a4f68) 04:49:11.866 [main ] DEBUG it.tidalwave.image.op.ReadOp - loadDirectories(com.sun.imageio.plugins.jpeg.JPEGMetadata@3c82efe9, it.tidalwave.image.metadata.loader.JpegDrewMetadataLoader@465e4a86, class it.tidalwave.image.metadata.XMP) 04:49:11.866 [main ] DEBUG it.tidalwave.image.metadata.Directory - load(it.tidalwave.image.metadata.loader.DirectoryDrewLoader@766427df) 04:49:11.866 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .size: 100, 64 04:49:11.866 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .tiles: 1 1 04:49:11.866 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .class: java.awt.image.BufferedImage 04:49:11.866 [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] 04:49:11.866 [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@71662b15 transparency = 1 has alpha = false isAlphaPre = false 04:49:11.866 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> Loaded image: .colorSpace: java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in] 04:49:11.866 [main ] INFO it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest - ******************** 04:49:11.866 [main ] INFO it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest - TEST "testRotate90a" 04:49:11.866 [main ] INFO it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest - ******************** 04:49:11.867 [main ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - findImplementation(RotateQuadrantOp(90), it.tidalwave.image.java2d.ImageModelJ2D[id: -1178530562888308251], canConvert: false) 04:49:11.867 [main ] WARN it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations 04:49:11.867 [main ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - >>>> found implementation from ImplementationFactory(modelClass=class java.awt.image.BufferedImage) 04:49:11.867 [main ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - >>>> image class: class java.awt.image.BufferedImage, factory model class: class java.awt.image.BufferedImage 04:49:11.867 [main ] DEBUG it.tidalwave.image.op.OperationImplementation - executing RotateQuadrantOp(90) 04:49:11.867 [main ] DEBUG it.tidalwave.image.java2d.RotateQuadrantJ2DOp - rotateQuadrant(90) 04:49:11.867 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> source bufferedImage.size: 100, 66 04:49:11.867 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> source bufferedImage.tiles: 1 1 04:49:11.867 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> source bufferedImage.class: java.awt.image.BufferedImage 04:49:11.868 [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] 04:49:11.868 [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@71662b15 transparency = 1 has alpha = false isAlphaPre = false 04:49:11.868 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> source bufferedImage.colorSpace: java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in] 04:49:11.868 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> rotateQuadrant() returning .size: 66, 100 04:49:11.868 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> rotateQuadrant() returning .tiles: 1 1 04:49:11.868 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> rotateQuadrant() returning .class: java.awt.image.BufferedImage 04:49:11.868 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> rotateQuadrant() returning .sampleModel: java.awt.image.PixelInterleavedSampleModel[width: 66, height: 100, numBands: 3, dataType: 0, scanlineStride: 198, transferType: 0, numDataElements: 3, bandOffsets: 2,1,0, bankIndices: 0,0,0] 04:49:11.868 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> rotateQuadrant() returning .colorModel: java.awt.image.ComponentColorModel : ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@71662b15 transparency = 1 has alpha = false isAlphaPre = false 04:49:11.868 [main ] DEBUG it.tidalwave.image.java2d.Java2DUtils - >>>> rotateQuadrant() returning .colorSpace: java.awt.color.ICC_ColorSpace[type: 5, profile name: sRGB built-in] 04:49:11.868 [main ] DEBUG it.tidalwave.image.op.OperationImplementation - >>>> RotateQuadrantOp(90) done in 1 msec 04:49:11.868 [main ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - findImplementation(WriteOp(TIFF, /tmp/img20030701_0043_jpg-90.tif, null), it.tidalwave.image.java2d.ImageModelJ2D[id: -1178530562830482742], canConvert: false) 04:49:11.870 [main ] WARN it.tidalwave.image.java2d.ImplementationFactoryJ2D - Additional Java2D operations not available: java.lang.ClassNotFoundException: it.tidalwave.image.java2d.AdditionalOperations 04:49:11.870 [main ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - >>>> found implementation from ImplementationFactory(modelClass=class java.awt.image.BufferedImage) 04:49:11.870 [main ] TRACE i.tidalwave.image.op.ImplementationFactoryRegistry - >>>> image class: class java.awt.image.BufferedImage, factory model class: class java.awt.image.BufferedImage 04:49:11.870 [main ] DEBUG it.tidalwave.image.op.OperationImplementation - executing WriteOp(TIFF, /tmp/img20030701_0043_jpg-90.tif, null) 04:49:11.870 [main ] INFO it.tidalwave.image.java2d.WriteJ2DOp - Write2DOp(TIFF, /tmp/img20030701_0043_jpg-90.tif, null) 04:49:11.871 [main ] DEBUG it.tidalwave.image.java2d.WriteJ2DOp - Available writers for format: TIFF 04:49:11.871 [main ] DEBUG it.tidalwave.image.java2d.WriteJ2DOp - >>>> writer: com.sun.imageio.plugins.tiff.TIFFImageWriter@2ed3bf8f 04:49:11.871 [main ] DEBUG it.tidalwave.image.java2d.WriteJ2DOp - >>>> writer: com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter@514a81ed 04:49:11.887 [main ] DEBUG it.tidalwave.image.op.OperationImplementation - >>>> WriteOp(TIFF, /tmp/img20030701_0043_jpg-90.tif, null) done in 17 msec 04:49:11.888 [main ] ERROR it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest - TEST FAILED in 22 msec - testRotate90a - java.lang.ClassCastException: class java.io.File cannot be cast to class java.nio.file.Path (java.io.File and java.nio.file.Path are in module java.base of loader 'bootstrap') 04:49:11.888 [main ] ERROR it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest - TEST FAILED java.lang.ClassCastException: class java.io.File cannot be cast to class java.nio.file.Path (java.io.File and java.nio.file.Path are in module java.base of loader 'bootstrap') at it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest.testRotate(RotateQuadrantOpJ2DTest.java:96) at it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest.testRotate90a(RotateQuadrantOpJ2DTest.java:59) 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) 04:49:11.894 [main ] ERROR it.tidalwave.image.java2d.RotateQuadrantOpJ2DTest -