LotuxPunk / Nicephore

Nicephore is a Minecraft mod which convert any screenshot taken to JPEG, and add some useful tools to share these screenshots
http://curseforge.com/minecraft/mc-mods/nicephore
2 stars 2 forks source link

ImageIO thread-safety error #19

Closed scarf005 closed 2 years ago

scarf005 commented 2 years ago
[22/01/2022 00:25:08 AM] [Thread-29/INFO] [STDERR]: java.awt.HeadlessException
[22/01/2022 00:25:08 AM] [Thread-29/INFO] [STDERR]:     at java.desktop/sun.awt.HeadlessToolkit.getSystemClipboard(HeadlessToolkit.java:216)
[22/01/2022 00:25:08 AM] [Thread-29/INFO] [STDERR]:     at com.vandendaelen.nicephore.util.CopyImageToClipBoard.copyImage(CopyImageToClipBoard.java:36)
[22/01/2022 00:25:08 AM] [Thread-29/INFO] [STDERR]:     at com.vandendaelen.nicephore.util.CopyImageToClipBoard.copyLastScreenshot(CopyImageToClipBoard.java:50)
[22/01/2022 00:25:08 AM] [Thread-29/INFO] [STDERR]:     at com.vandendaelen.nicephore.thread.JPEGThread.run(JPEGThread.java:99)

probably because of some optimization mod i've been using...

PaintNinja commented 2 years ago

Try using the latest Temurin or Azul Zulu JDK and let us know if that helps

LotuxPunk commented 2 years ago

Hey ! This could be solved with this beta version of the mod : https://www.curseforge.com/minecraft/mc-mods/nicephore/files/3645334