Hi Terry,

did you try the latest CVS version of the 2.0.3 branch?
The NPE should be fixed there.

HTH
Carsten

> -----Original Message-----
> From: Terry Paddy [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 29, 2002 11:25 PM
> To: [EMAIL PROTECTED]
> Subject: sunShine context c2.0.3
> 
> 
> Hi,
> 
> I have a question regarding the sunRise context. I
> appreciate that everything has improved/moved/changed
> to the frameworks in 2.1-dev but unfortunately I must
> continue to use 2.0.3 scratch pad until 2.1 is
> released.
> 
> I cannot get any info out of the sunRise context with
> <sunshine:getxml context='sunRise'
> path='/authentication/role'/> etc....
> 
> As a test, I put the above request in the "feedback"
> sunlet of the working "sample" in 2.0.3 I made sure
> that the sunlets were able to process the request by
> putting <map:transform type="sunShine"/> in the
> sunspotdemosunlet-*.xml pipeline
> 
> The result was a nullpointerexception when the sunRise
> context was being accessed. The context existed but no
> object was present?
> 
> However <sunshine:getxml context="request"
> path="/querystring" /> does give me the query string
> AND I can store and extract "stuff" into and out of my
> own context (context="mycontext").
> 
> QUESTION: Why can't I access the sunRise context?
> 
> Thanks in advance.
> 
> =====
> _______________________________________
> Terry Paddy - Christchurch, New Zealand
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to