cancel
Showing results for 
Search instead for 
Did you mean: 

Error while retrieving windows logged in user ID

Former Member
0 Kudos

Hi,

We've created an application which reads the windows logged in user ID (not the portal logged in user id). The piece of code retrieves the user id perfectly fine but writes few errors in the trace file. The error is as below:

An exception "com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()]." has occured during application processing. During exception handling, an additional exception "com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()]." was thrown. Both exception has been written to the logfile!

There is no error on the screen but there are errors logged in the trace file. What could be causing the errors.

Ciao,

Manoj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Manoj,

Check this:

(JSTSG)(Web)Problems-P199 - Java Server Troubleshooting Guide - SCN Wiki

Thanks & Regards,

Patralekha

junwu
Active Contributor
0 Kudos

in your code, did you write something relate to stream(input/output)?

Former Member
0 Kudos

Hi Jun,

I haven't used anything to stream. Could it be because of the deprecated servlet version that i've used up in the DC? i doubt that's the reason, but still asking.

Manoj

junwu
Active Contributor
0 Kudos

could be,

do you mind to show us the code?