zlepper / itlt

It's the little things mod, a mod about the little things.
MIT License
12 stars 5 forks source link

java.io.EOFException Unable to set window icon. #54

Open xFirefalconx opened 9 months ago

xFirefalconx commented 9 months ago

Describe the bug A clear and concise description of what the problem is.

The automatic icon detection (afaik) fails to set the icon. Later on though it manages to grab the manually set fallback icon(s) I put in the itlt folder. First, the task bar got a black square during this error, then later shows things correctly, while the top window icon (Win10, upgraded from Win7) shows the default dirt image.

Multiple create addons may be suspected to tune in, while also the current FancyMenu version is a confirmed troublemaker, the devs are on it already. Watermedia and Fm Video Extension also play a part here. I installed itlt after the icon wasn't showing up anymore and instead the default cube when using Watermedia and VE, which helped, then re-enabled my inactive create addon mods and this black grotesque ... thing... happened. It's not optimal and while looking at the logs with "icons" filtered I grabbed that error message so I realized something is causing your mod to crash this function. The resource pack I'm using also doesn't get found, only the itlt icons currently work in this environment. - Which is a relief because at least after loading it looks alright. But I am concerned.

To Reproduce Steps to reproduce the behavior:

Difficult. I will release a modpack version soon which you can use to investigate if the logs don't give away enough info. Please refer to them for further information, a mod list is included. (Poke me if it isn't)

  1. Use Royal Equines: Petrified Magic V[1.1b06] (unreleased yet)
  2. Launch game, observe the logs (key word "icons") and task bar behaviour closely. The black square should show up now.
  3. The game loads, the icons show up now.

Expected behavior The icon gets found on startup.

Environment details Please fill in what you know, skip any parts you don't know.

Logs and additional context Add any other context about the problem here.

latest.log icon error msg.txt

It would be helpful if you could attach a debug.log and/or crash report. You can find the debug.log in the logs folder, where the resourcepacks folder is.