Isuue on


I am using service.
The input to this service is from string to stream service.

The error:
The mark method is not supported by the supplied InputStream.

what might be the reason? any suggestions


Are you using If so, the reason for the exception is that the stream class being used ( by that service doesn’t support the mark feature.

The StringBufferInputStream class is deprecated (as of JDK 1.1). It doesn’t properly convert characters to bytes. As a result, you probably shouldn’t use the stringToStream service and should replace it with one of your own.

If you’re not using the PSUtilities service, what service are you using and what is the underlying class?