ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | March 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] null pointer exception in requestPostProcessor


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" <pstehlik@xxxxxxxxxx>
To: <enhydra@xxxxxxxxxxxxx>
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 enhydra@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.