Looking at that stacktrace, I don't know how Ant is playing a role in any of it. Can you explain in more detail what you mean by missing breakpoints and how it relates to that stacktrace? What code are you adding the breakpoints to? Also, that exception stacktrace doesn't look like the complete stacktrace, can you post the complete stacktrace?

-Jaikiran
On Tuesday 17 January 2017 10:44 AM, Sarika Sinha wrote:

Thanks Stefan for the inputs, I could solve the other problems at Eclipse IDE code level, but I am still stuck with
"missing stack frames while debugging Ant with breakpoints"

1.9.8 with Java 8 works fine but 1.10.0 is throwing error when we try to use ServerSocket and we get the exception
_java.net.SocketException_: Connection reset
at java.net.SocketInputStream.read(_SocketInputStream.java:209_)
at java.net.SocketInputStream.read(_SocketInputStream.java:141_)
at sun.nio.cs.StreamDecoder.readBytes(_StreamDecoder.java:284_)
at sun.nio.cs.StreamDecoder.implRead(_StreamDecoder.java:326_)
at sun.nio.cs.StreamDecoder.read(_StreamDecoder.java:178_)
at java.io.InputStreamReader.read(_InputStreamReader.java:184_)
at java.io.BufferedReader.fill(_BufferedReader.java:161_)
at java.io.BufferedReader.readLine(_BufferedReader.java:324_)
at java.io.BufferedReader.readLine(_BufferedReader.java:389_)

We used to get similar error when we we were using Java version less than 1.7 for Ant 1.9.6 or so.
Ant hints/suggestions will be of great help.

Thanks & Regards,
Sarika

Inactive hide details for Stefan Bodewig ---01/09/2017 09:22:25 PM---On 2017-01-09, Sarika Sinha wrote: > I am trying to incorpStefan Bodewig ---01/09/2017 09:22:25 PM---On 2017-01-09, Sarika Sinha wrote: > I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE.

From: Stefan Bodewig <bode...@apache.org>
To: dev@ant.apache.org
Date: 01/09/2017 09:22 PM
Subject: Re: Facing Issues with Ant 1.10.0

------------------------------------------------------------------------



On 2017-01-09, Sarika Sinha wrote:

> I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE.

> Has anyone faced a similar issue ? Or we already have some discussion on
> the similar line ?
> I could not find any related  bug on the Ant bugzilla.

You are the first person reporting such issues. I'm not an Eclipse user
(or any IDE user) at all, so I won't be able to help much.

> Where as 1.9.8 works fine with existing Ant framework in eclipse, having
> many issues with Ant 1.10.0 like below and some more
> - missing stack frames while debugging Ant with breakpoints
> - Getting error while using Ant 1.1.0 and Java 1.8 - Specifying an
> InputHandler is an Ant 1.5.* feature. Please update your Ant classpath to
> include an Ant version greater than this.

The later makes me suspect this is an Eclipse issue with the Eclipse
integration for Ant trying to parse Ant's version number by using the
first digit after the dot and assuming with 1 < 5 you must be using a
very old version of Ant. I don't think Ant can fix that.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




Reply via email to