Re: [enhydra] null pointer exception in requestPostProcessor
"Slobodan Vujasinovic" <[email protected]> Thu, 17 Mar 2005 15:09:24 +0100
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <000c01c52afa$eca69d60$2300a8c0@ns1> |
Hi,
Maybe this is the core of the problem (both problems)!
Can you, please, explain to me what is the reason for calling
'Enhydra.getSessionManager().shutdown()' from PO object?
'Application.shutdown()' method will call 'SessionManager.shutdown()' so I'm
not clear about this!
Regards,
Slobodan Vujasinovic
Enhydra Development Team
----- Original Message -----
From: "Petr Stehlik" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 17, 2005 1:46 PM
Subject: Re: [enhydra] null pointer exception in requestPostProcessor
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
----------------------------------------------------------------------------
----
>
> --
> 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
>
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