You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Mark Murphy <jm...@gmail.com> on 2018/02/11 21:46:28 UTC

Maven Build Failure

What causes this in the Maven build?


javax.imageio.IIOException: Can't create cache file!
	at org.apache.poi.hslf.usermodel.TestPicture.macImages(TestPicture.java:150)
Caused by: java.nio.file.NoSuchFileException:
target/tmp/imageio3327126342253604027.tmp
	at org.apache.poi.hslf.usermodel.TestPicture.macImages(TestPicture.java:150)

Re: Maven Build Failure

Posted by Dominik Stadler <do...@gmx.at>.
Hi,

Probably some problem with the temp-folder under target/tmp, either it did
not exist or was removed by a concurrently running unit-test (not sure if
Maven will run more than one at a time...), we could add a mkdirs() in the
setup-method in this test to lower the chances of running into this problem.

Dominik.

On Sun, Feb 11, 2018 at 10:46 PM, Mark Murphy <jm...@gmail.com> wrote:

> What causes this in the Maven build?
>
>
> javax.imageio.IIOException: Can't create cache file!
>         at org.apache.poi.hslf.usermodel.TestPicture.macImages(
> TestPicture.java:150)
> Caused by: java.nio.file.NoSuchFileException:
> target/tmp/imageio3327126342253604027.tmp
>         at org.apache.poi.hslf.usermodel.TestPicture.macImages(
> TestPicture.java:150)
>