[jira] Updated: (TUSCANY-936) HttpSessionScopeContainer requires a session to exist

2007-01-15 Thread ant elder (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ant elder updated TUSCANY-936:
--

Fix Version/s: Java-Mx
Affects Version/s: (was: Java-Mx)
   Java-M3

 HttpSessionScopeContainer requires a session to exist
 -

 Key: TUSCANY-936
 URL: https://issues.apache.org/jira/browse/TUSCANY-936
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core
Affects Versions: Java-M2
Reporter: Greg Dritschler
 Assigned To: ant elder
Priority: Minor
 Fix For: Java-M3


 In M1, the HttpSessionScopeContainer was able to lazy-initialize an HTTP 
 session.  (Look at the class LazyHTTPSessionId to see how it worked.)  Now 
 the HttpSessionScopeContainer requires a preexisting session.  If a session 
 does not exist, a NullPointerException occurs when it tries to look up the 
 instance using a null key.
 InstanceWrapper ctx = wrappers.get(key);
 The problem can be circumvented by creating a session in the web app client.  
 JSPs have sessions by default.  Servlets can call getSession(true) to ensure 
 a session exists before invoking an SCA component that requires session scope.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (TUSCANY-936) HttpSessionScopeContainer requires a session to exist

2007-01-15 Thread ant elder (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ant elder updated TUSCANY-936:
--

Fix Version/s: (was: Java-Mx)
   Java-M3
Affects Version/s: (was: Java-M3)
   Java-M2

 HttpSessionScopeContainer requires a session to exist
 -

 Key: TUSCANY-936
 URL: https://issues.apache.org/jira/browse/TUSCANY-936
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core
Affects Versions: Java-M2
Reporter: Greg Dritschler
 Assigned To: ant elder
Priority: Minor
 Fix For: Java-M3


 In M1, the HttpSessionScopeContainer was able to lazy-initialize an HTTP 
 session.  (Look at the class LazyHTTPSessionId to see how it worked.)  Now 
 the HttpSessionScopeContainer requires a preexisting session.  If a session 
 does not exist, a NullPointerException occurs when it tries to look up the 
 instance using a null key.
 InstanceWrapper ctx = wrappers.get(key);
 The problem can be circumvented by creating a session in the web app client.  
 JSPs have sessions by default.  Servlets can call getSession(true) to ensure 
 a session exists before invoking an SCA component that requires session scope.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]