Re: [enhydra] null pointer exception in requestPostProcessor

Petr Stehlik <[email protected]> Thu, 17 Mar 2005 13:46:58 +0100
Newsgroups gmane.comp.java.enhydra.general
Message-ID <[email protected]>
Slobodan Vujasinovic píše v Čt 17. 03. 2005 v 11:33 +0100:
> I sopouse that 'application' attribute of your 'HttpPresentationComms'
> object is 'null' and that this is the reason why you are gething this
> 'NullPointerException' (application must have 'SessionManager' so this can't
> be it).
> 
> But, I have problem with thinking of scenario in which this could happen!

I too have problem with finding out how the users are crashing the
Enhydra but they do it and they do it way too often.

> I will analyze this problem furtherly and you can (as fastest solution)
> overwrite this method from your 'StandardApplication' extension class
> (AppClass)!

I decided to patch Enhydra directly (as you must have seen the patch I
submitted to the mailing list).

BTW, I have yet another crash inside of Enhydra, this time in
StandardSessionManager.passivateSession:

java.lang.NullPointerException
at
com.lutris.appserver.server.session.StandardSessionManager.passivateSession
at com.lutris.appserver.server.StandardApplication.requestPostProcessor

This is after running Enhydra.getSessionManager().shutdown() from within
my presentation object.

I am obviously trying to stop the application - if running
SessionManager.shutdown() is the correct way it shouldn't crash with
NPE..

Petr
message.footer (text/plain, 275 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws