SocketException: A system call received a parameter that is not valid

David Gibbs via JAVA400-L <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <CAEStNXn2zk9AVNEV=f_xp0aTT0ruxpEUPs=ii44a+muHj__1pg@mail.gmail.com>
Folks:

Does anyone know what might cause this error?  Running on a 7.3 system.

java.net.SocketException: A system call received a parameter that is
not valid. (Read failed)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:127)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:257)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:297)
at java.io.BufferedInputStream.read(BufferedInputStream.java:356)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:323)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:365)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:211)
at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:160)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:145)
at java.io.InputStreamReader.read(InputStreamReader.java:189)
    ....

I've googled around but couldn't find anything concrete.

The code in question is just trying to read from the inputstream from
a socket. The server socket is listening on a fairly high, but not out
of range, port.

Thanks!

david

-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding in the American Diabetes Association's Tour de Cure to
raise money for diabetes research, education, advocacy, and awareness.
You can make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive
donation map ... https://mideml.diabetessucks.net/map (it's a geeky
thing).

I may have diabetes, but diabetes doesn't have me!
-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.