Hello Simone

For a release, we are supposed to run maven with the following command:

    mvn -Pextensive.tests,interactive.tests install

But for revision 24650, I get the following test failures in ImageWorkerTest
when "interactive.tests" is enabled (the test pass fine with a plain "mvn 
install"):

testJPEGWrite(org.geotools.coverage.image.ImageWorkerTest)  Time elapsed: 0.365
sec  <<< ERROR!
java.lang.NullPointerException
  at javax.media.jai.widget.ImageCanvas.initialize(ImageCanvas.java:118)
  at javax.media.jai.widget.ImageCanvas.<init>(ImageCanvas.java:170)
  at javax.media.jai.widget.ImageCanvas.<init>(ImageCanvas.java:179)
  at 
javax.media.jai.widget.ScrollingImagePanel.<init>(ScrollingImagePanel.java:82)
  at
org.geotools.coverage.image.ImageWorkerTest.visualize(ImageWorkerTest.java:164)
  at
org.geotools.coverage.image.ImageWorkerTest.testJPEGWrite(ImageWorkerTest.java:196)


If you have a chance, would it be possible to check why we get this
NullPointerException when interative tests are enabled please? I had a very
quick look at the code and its look like that ImageIO.read(...) do not find an
appropriate reader for the specified image file format, but I have not
investigated further.

        Thanks,

                Martin


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to