GetWriteableImageFormats() claims pbm support but can't crashes writing

Description

[java] [script] Error: IOException occurs when search for propriate codecs.
[java] [script] Occurs in: com.sun.media.jai.codec.ImageCodec
[java] [script] java.io.EOFException
[java] [script] at com.sun.media.jai.codec.SeekableStream.readFully(SeekableStream.java:329)
[java] [script] at com.sun.media.jai.codec.SeekableStream.readFully(SeekableStream.java:306)
[java] [script] at com.sun.media.jai.codec.ImageCodec.getDecoderNames(ImageCodec.java:274)
[java] [script] at com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:80)
[java] [script] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] [script] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] [script] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] [script] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[java] [script] at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
[java] [script] at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1679)
[java] [script] at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
[java] [script] at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
[java] [script] at com.sun.media.jai.opimage.FileLoadRIF.create(FileLoadRIF.java:122)

[java] [script] Failed: test.functions.GetWriteableImageFormats
[java] [script] testWritableImageFormats
[java] [script] Can write an image with the format/extension [PBM]
[java] [script] /home/runner/work/extension-image/extension-image/lucee/test/functions/GetWriteableImageFormats.cfc:30
[java] [script] /home/runner/work/extension-image/extension-image/lucee/test/_testRunner.cfc:339
[java] [script] /home/runner/work/extension-image/extension-image/lucee/test/run-tests.cfm:203
[java] [script] /bootstrap-tests.cfm:113

https://github.com/lucee/Lucee/commit/3225b09a207306672ab5c3e63b304bf81cca7e1a

https://github.com/lucee/extension-image/runs/5148286193?check_suite_focus=true#step:9:145

Environment

None

relates to

Activity

Show:

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 10 February 2022 at 22:07
Updated 28 March 2022 at 10:50

Flag notifications