On Fri, Aug 7, 2015 at 2:01 AM, Jody Garnett <[email protected]> wrote:

> Last week I reported a build issue, which ended up being transitory (sigh).
>
> So this week I will ask - is anyone else getting extra stack traces like
> this when they build locally? In each case these are repeating stack traces
> that do not seem to provide value.
>
> *From Shapefile*
>
> Aug 06, 2015 4:48:09 PM org.geotools.data.shapefile.shp.ShapefileReader
> <init>
> WARNING: Could not open the .shx file, continuing assuming the .shp file
> is not sparse
> java.io.FileNotFoundException:
> /Users/jody/java/geotools/jive/modules/plugin/shapefile/target/test-classes/org/geotools/data/shapefile/test-data/shapes/stream.shx
> (No such file or directory)
>

This is a legit warning coming from the shapefile reader, this test data
without the shx is
there to ensure that we can read incomplete files.
So, it is expected, and we want the WARN to be there to inform the user
about the crippled shapefile,
in case the read turns out to provide unexpected results for them (e.g.,
shapefile produced by some other
software, using some other sidecar file to index the features).

If it really bothers you so much I guess you can fiddle with the logging
configuration for that specific test,
the JDBCTestSupport class has a commented out example

*From Image Mosaic:*
>
> javax.media.jai.util.ImagingException: IOException occurs when create the
> socket.
> at
> javax.media.jai.remote.SerializableRenderedImage.connectToServer(SerializableRenderedImage.java:1172)
> at
> javax.media.jai.remote.SerializableRenderedImage.closeClient(SerializableRenderedImage.java:1105)
> at
> javax.media.jai.remote.SerializableRenderedImage.dispose(SerializableRenderedImage.java:1314)
> at
> javax.media.jai.remote.SerializableRenderedImage.finalize(SerializableRenderedImage.java:1259)
> at java.lang.System$2.invokeFinalize(System.java:1210)
> at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
> at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
> Caused by: java.net.NoRouteToHostException: Can't assign requested address
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
> at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> at java.net.Socket.connect(Socket.java:579)
> at java.net.Socket.connect(Socket.java:528)
> at java.net.Socket.<init>(Socket.java:425)
> at java.net.Socket.<init>(Socket.java:241)
> at
> javax.media.jai.remote.SerializableRenderedImage.connectToServer(SerializableRenderedImage.java:1169)
> ... 7 more
>

I believe Daniele has looked into this one multiple times without any
luck... the sample_image file
is a serialized SerializableRenderedImage, pretty much the only way to
preserve with fidelity the
sample model/color model of the original images (there are too many
possible combinations, we would
not even know how to enumerate them all). And that class throws this error,
nothing we can do about it, it's final...
Long story short, we'd have to write a replacement, and then setup an
upgrade strategy for the existing
mosaics... something we would like to do btw, but it's not a quick hack...

Cheers
Andrea


-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to