Hi,

once again, I'd like to say a big thank you to everyone who replied and especially to Felix. Debugging the checkSource-Method finally revealed the source of the problem. The error had nothing to do with the .properties file itself, it occured one step earlier, when writing the sample_image. But as there is no proper Errorhandler in the code, the function for creating the properties was never executed, because it comes right after the creation of the sample image. What actually caused the error was a problem with the hostname, similar to: http://jira.codehaus.org/browse/GEOT-3515 and http://jira.codehaus.org/browse/GEOT-3515
After fixing the hostname everything works fine.

Best regards,
Simon

Am 9/6/12 7:10 PM, schrieb Felix Mayer:
Hi Simon,



When I get the DataSourceException exception at 
ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:232) it usually 
means that I have to debug into method Utils#checkSource(Object, Hints)  and 
figure out what the actual problem is. Method Utils#checkSource(Object, Hints) 
simply returns null if anything goes wrong and doesn't log any clues about what 
happened.



Regards,

Felix

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to