Bartek Wasko
Mon, 28 Jul 2008 01:01:16 -0700
Hi In our struts1 (1.3.8) application we encountered such a problem. getServlet() invoked from action code returns null.After quick investigation I found a bit susspicious place in the RequestProcessor#processActionCreate code. The synchronized block seems to be a bit risky in highly concurrent environment because it does not cover also the code injecting servlet into freshly created action. After I had extended it to mentioned code fragment, it seems, our nullpointer vanished.
What do you think of it? appreciate any clarification Bartek Wasko -- Bartłomiej Waśko Consol* Software Poland ul. Piastowska 44C, 30-070 Krakow Tel.: +48 12 3505 027 Mobile: +48 600 289 906 [EMAIL PROTECTED] www.consol.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]