Hello,

I opened a ticket ([GEOT-1404]WFS-Plugin runs into an Timeout when 
NumberformatException occous) for this issue.
I also added to the ticket a patch which solve the problem partially.

Tim

-------- Original-Nachricht --------
Datum: Wed, 11 Jul 2007 08:48:17 +0200
Von: "Tim Englich" <[EMAIL PROTECTED]>
An: "Jody Garnett" <[EMAIL PROTECTED]>
CC: [email protected]
Betreff: Re: [Geotools-gt2-users] WFS-Plugin runs into an Timeout       when    
NumberformatException occous

> Hello Jody,
> 
> unfortunately I am not able to close the FeatureReader.
> My thread hangs at the following position 
> 
> FeatureReader fr =
> dataStore.getFeatureReader(query,Transaction.AUTO_COMMIT);
> 
> and returned with the TimeoutException.
> 
> The logoutput shows that a NumberformatException occours in the first
> DataSet. But the reader still wait for incomming Data although the reading
> Thread has already been terminated.
> 
> I also don't get the information that a NumberformatException occours back
> to
> my code so that the Application told the user the wrong reason for the
> failure.
> 
> Meanwhile I take a look into the soucecode and indentify the position that
> might have to be changed.
> 
> I think the org.geotools.data.wfs.WFSFeatureReader.run() method does not
> handle all exceptions correctly.
> I think we should at least catch the RuntimeException additionally and
> handle
> it like StopException and SAXException.
> Am I right?
> 
> 
> - Tim
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Jody Garnett [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 11. Juli 2007 03:40
> An: Tim Englich
> Cc: [email protected]
> Betreff: Re: [Geotools-gt2-users] WFS-Plugin runs into an Timeout when
> NumberformatException occous
> 
> 
> Not that I know of - you may be able to simply close() it?
> > Hello,
> > I got a very ugly Exception with a missconfigured WFS.
> > When I try to read it, the WFS-Plugin (WFSFeatureReader) throws a
> > NumberFormatException when it try to parse the missconfigured Element
> (an
> > String 'true')in an DoubleValue).
> > The WFS-Plugin don't do any work after that happend.
> > After I while I got a TimeoutException.
> > Is there any way to terminate the FeatureReader when a
> NumberFormatException
> > or RuntimeException occours?
> >
> > - Tim
> >
> >
> > Tim Englich
> > Dipl.-Ing. (FH) Geoinformatik
> > Information Logistics
> > IVU Traffic Technologies AG
> > Bundesallee 88, D-12161 Berlin
> > Telefon: +49.30.85 906-387, Telefax +49.30.85 906-499
> > mailto: [EMAIL PROTECTED], http: //www.ivu.de
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >   
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to