Hi all,
I have a
jsp pagewhere I have used an useBean for instantiation of a bean in session scope.
Now the problem is that sometimes this page is giving NullPointerException when multiple user or may be first time hitting this page.
In compiled
java file of this jsp there is a synchronized block(synchronized(session)) where the instantiation is occuring.
So I am confused what is happening as because
the requests will wait untill instantiation ,so no question of "Null".Please help.