java.io.IOException: Not a valid PNG file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Ian
, 1 year ago
via GitHub by MrEpicLuke
, 7 months ago
Not a valid PNG file
via GitHub by begla
, 2 years ago
Not a valid PNG file
java.io.IOException: Not a valid PNG file
at org.newdawn.slick.opengl.PNGDecoder.(PNGDecoder.java:112)
at org.newdawn.slick.opengl.PNGImageData.loadImage(PNGImageData.java:81)
at org.newdawn.slick.opengl.CompositeImageData.loadImage(CompositeImageData.java:62)
at org.newdawn.slick.opengl.CompositeImageData.loadImage(CompositeImageData.java:43)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:292)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:254)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:200)
at org.newdawn.slick.opengl.TextureLoader.getTexture(TextureLoader.java:64)
at com.bte.renderEngine.Loader.loadTexture(Loader.java:110)
at com.bte.entityfiles.loadEntityFiles.loadNormalTexture(loadEntityFiles.java:172)
at com.bte.entityfiles.loadEntityFiles.loadEntity(loadEntityFiles.java:27)
at com.bte.entityfiles.entityFileManager.load(entityFileManager.java:31)
at com.bte.toolbox.modelEditor.main(modelEditor.java:34)

Users with the same issue

2245 times, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.