WASession>>#unregister fails due to @parent isNil

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

WASession>>#unregister fails due to @parent isNil

jtuchel

Seasiders

From time to time we get walkbacks on our production servers when users want to login/create a new session due to failed cleanup/unregister of old sessions.

Here's an excerpt from the walkback (VA Smalltalk):

MessageNotUnderstood class(Exception class)>>#signalWith:
  receiver = MessageNotUnderstood
  arg1 = (nil Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH')))
UndefinedObject(Object)>>#doesNotUnderstand:
  receiver = nil
  arg1 = Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH'))
KontolinoSession(WASession)>>#unregister
  receiver = a KontolinoSession
KontolinoSession>>#unregister
  receiver = a KontolinoSession

Looking at WASession>>#unregister it is clear that the variable @parent isNil and therefor unregister cannot work.

Now I am wondering

  • how could @parent become nil?
    The only thing I can think of is a user clicking on "logout" twice. The logs of our application, however, don't support this thesis...
  • is this a (known and/or even fixed) bug in Seaside or our code? We haven't implemented any access to the @parent variable...
  • is it a good workaround to intrudoce a notNil check in our WASession subclass' #unregister method before sending super unregister?
    We will try this of course because it is not a good marketing gag to greet users with an error screen instead of a login form


Any hints, ideas, requests for more details are welcome.


Joachim

-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WASession>>#unregister fails due to @parent isNil

Johan Brichau-2
Hi Joachim,

What version of Seaside are you running?

cheers
Johan

On 11 Jul 2017, at 08:30, [hidden email] wrote:

Seasiders

From time to time we get walkbacks on our production servers when users want to login/create a new session due to failed cleanup/unregister of old sessions.

Here's an excerpt from the walkback (VA Smalltalk):

MessageNotUnderstood class(Exception class)>>#signalWith:
  receiver = MessageNotUnderstood
  arg1 = (nil Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH')))
UndefinedObject(Object)>>#doesNotUnderstand:
  receiver = nil
  arg1 = Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH'))
KontolinoSession(WASession)>>#unregister
  receiver = a KontolinoSession
KontolinoSession>>#unregister
  receiver = a KontolinoSession

Looking at WASession>>#unregister it is clear that the variable @parent isNil and therefor unregister cannot work.

Now I am wondering

  • how could @parent become nil?
    The only thing I can think of is a user clicking on "logout" twice. The logs of our application, however, don't support this thesis...
  • is this a (known and/or even fixed) bug in Seaside or our code? We haven't implemented any access to the @parent variable...
  • is it a good workaround to intrudoce a notNil check in our WASession subclass' #unregister method before sending super unregister?
    We will try this of course because it is not a good marketing gag to greet users with an error screen instead of a login form


Any hints, ideas, requests for more details are welcome.


Joachim

-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WASession>>#unregister fails due to @parent isNil

jtuchel
Hi Johan,

here's what the Config Map says in VAST:

Seaside 3.2.0 Port for VA Smalltalk, 2009, 2015
(based on ConfigurationOfSeaside3-JohanBrichau.268 development)


Joachim




Am 11.07.17 um 09:01 schrieb Johan Brichau:
Hi Joachim,

What version of Seaside are you running?

cheers
Johan

On 11 Jul 2017, at 08:30, [hidden email] wrote:

Seasiders

From time to time we get walkbacks on our production servers when users want to login/create a new session due to failed cleanup/unregister of old sessions.

Here's an excerpt from the walkback (VA Smalltalk):

MessageNotUnderstood class(Exception class)>>#signalWith:
  receiver = MessageNotUnderstood
  arg1 = (nil Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH')))
UndefinedObject(Object)>>#doesNotUnderstand:
  receiver = nil
  arg1 = Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH'))
KontolinoSession(WASession)>>#unregister
  receiver = a KontolinoSession
KontolinoSession>>#unregister
  receiver = a KontolinoSession

Looking at WASession>>#unregister it is clear that the variable @parent isNil and therefor unregister cannot work.

Now I am wondering

  • how could @parent become nil?
    The only thing I can think of is a user clicking on "logout" twice. The logs of our application, however, don't support this thesis...
  • is this a (known and/or even fixed) bug in Seaside or our code? We haven't implemented any access to the @parent variable...
  • is it a good workaround to intrudoce a notNil check in our WASession subclass' #unregister method before sending super unregister?
    We will try this of course because it is not a good marketing gag to greet users with an error screen instead of a login form


Any hints, ideas, requests for more details are welcome.


Joachim

-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WASession>>#unregister fails due to @parent isNil

Johan Brichau-2
It *sounds* related to https://github.com/SeasideSt/Seaside/issues/864
This was fixed in latest Seaside 3.2.x
So maybe if you check out that change, you can find out if that fixes your issue?

Johan

On 11 Jul 2017, at 09:41, [hidden email] wrote:

Hi Johan,

here's what the Config Map says in VAST:

Seaside 3.2.0 Port for VA Smalltalk, 2009, 2015
(based on ConfigurationOfSeaside3-JohanBrichau.268 development)


Joachim




Am 11.07.17 um 09:01 schrieb Johan Brichau:
Hi Joachim,

What version of Seaside are you running?

cheers
Johan

On 11 Jul 2017, at 08:30, [hidden email] wrote:

Seasiders

From time to time we get walkbacks on our production servers when users want to login/create a new session due to failed cleanup/unregister of old sessions.

Here's an excerpt from the walkback (VA Smalltalk):

MessageNotUnderstood class(Exception class)>>#signalWith:
  receiver = MessageNotUnderstood
  arg1 = (nil Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH')))
UndefinedObject(Object)>>#doesNotUnderstand:
  receiver = nil
  arg1 = Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH'))
KontolinoSession(WASession)>>#unregister
  receiver = a KontolinoSession
KontolinoSession>>#unregister
  receiver = a KontolinoSession

Looking at WASession>>#unregister it is clear that the variable @parent isNil and therefor unregister cannot work.

Now I am wondering

  • how could @parent become nil?
    The only thing I can think of is a user clicking on "logout" twice. The logs of our application, however, don't support this thesis...
  • is this a (known and/or even fixed) bug in Seaside or our code? We haven't implemented any access to the @parent variable...
  • is it a good workaround to intrudoce a notNil check in our WASession subclass' #unregister method before sending super unregister?
    We will try this of course because it is not a good marketing gag to greet users with an error screen instead of a login form


Any hints, ideas, requests for more details are welcome.


Joachim

-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WASession>>#unregister fails due to @parent isNil

jtuchel
Johan,

thanks, I will check. It won't be easy to tell if the bug is gone, because I don't know how to reproduce it....


Joachim


Am 11.07.17 um 09:49 schrieb Johan Brichau:
It *sounds* related to https://github.com/SeasideSt/Seaside/issues/864
This was fixed in latest Seaside 3.2.x
So maybe if you check out that change, you can find out if that fixes your issue?

Johan

On 11 Jul 2017, at 09:41, [hidden email] wrote:

Hi Johan,

here's what the Config Map says in VAST:

Seaside 3.2.0 Port for VA Smalltalk, 2009, 2015
(based on ConfigurationOfSeaside3-JohanBrichau.268 development)


Joachim




Am 11.07.17 um 09:01 schrieb Johan Brichau:
Hi Joachim,

What version of Seaside are you running?

cheers
Johan

On 11 Jul 2017, at 08:30, [hidden email] wrote:

Seasiders

From time to time we get walkbacks on our production servers when users want to login/create a new session due to failed cleanup/unregister of old sessions.

Here's an excerpt from the walkback (VA Smalltalk):

MessageNotUnderstood class(Exception class)>>#signalWith:
  receiver = MessageNotUnderstood
  arg1 = (nil Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH')))
UndefinedObject(Object)>>#doesNotUnderstand:
  receiver = nil
  arg1 = Message (#unregisterAt:, ('PZv9N5QPtkzYQMvH'))
KontolinoSession(WASession)>>#unregister
  receiver = a KontolinoSession
KontolinoSession>>#unregister
  receiver = a KontolinoSession

Looking at WASession>>#unregister it is clear that the variable @parent isNil and therefor unregister cannot work.

Now I am wondering

  • how could @parent become nil?
    The only thing I can think of is a user clicking on "logout" twice. The logs of our application, however, don't support this thesis...
  • is this a (known and/or even fixed) bug in Seaside or our code? We haven't implemented any access to the @parent variable...
  • is it a good workaround to intrudoce a notNil check in our WASession subclass' #unregister method before sending super unregister?
    We will try this of course because it is not a good marketing gag to greet users with an error screen instead of a login form


Any hints, ideas, requests for more details are welcome.


Joachim

-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          [hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside