Someone broke the lensfare test?

it used to work fine but now i cant even run the LensFlareTest.

i got this exception.



java.lang.IllegalArgumentException: ImageReadParam num source & dest bands differ!
   at javax.imageio.ImageReader.checkReadParamBandSettings(ImageReader.java:2746)
   at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1248)
   at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1467)
   at com.jme.util.TextureManager.readImage(TextureManager.java:555)
   at com.jme.util.TextureManager.loadImage(TextureManager.java:476)
   at com.jme.util.TextureManager.loadImage(TextureManager.java:452)
   at com.jme.util.TextureManager.loadImage(TextureManager.java:428)
   at com.jme.util.TextureManager.loadTexture(TextureManager.java:331)
   at com.jme.util.TextureManager.loadTexture(TextureManager.java:292)
   at com.jme.util.TextureManager.loadTexture(TextureManager.java:242)
   at jmetest.effects.TestLensFlare.simpleInitGame(TestLensFlare.java:123)
   at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:503)
   at com.jme.app.BaseGame.start(BaseGame.java:69)
   at jmetest.effects.TestLensFlare.main(TestLensFlare.java:65)

I've seen this Exception in a couple of other tests aswell. The Bumpmap test for example.

I'd like to echo this.



My system is:



Macbook Pro 2.0 Ghz Core Duo

ATI Radeon x1600M

2GB RAM

Mac OS X 10.5

Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)


maybe i should put my system spec too… :roll:



Core 2 Quad 3.0GHz

Nvidia 8800GT(G92) 512MB

GSkill 4GB ram

Windows XP Pro

Java SE build 1.6.0_03

http://www.jmonkeyengine.com/jmeforum/index.php?topic=7464  :slight_smile:

Thanks for the reply.

Joshua told its a error from a modification in the read of the image.

He told he will fix it soon.