There seems to be something wrong with your setup,
The method looks like this
return
(File)((WebApplication)Application.get()).getServletContext().getAttribute(
"javax.servlet.context.tempdir");
If there was no application attached to current thread, you'd get different
exception. So it seems like Applictation.getServletContext() returns null.
How is this possible?
-Matej
On 9/3/07, Stojce Dimski <[EMAIL PROTECTED]> wrote:
>
> When using webapp as embedded in jetty (without 'web.xml') I had a NPE
> when passing from beta2 to beta3...
> Later I downloaded the sources of beta3 and I think that problem lies
> in: DiskPageStore-getDefaultFileStoreFolder()
> which returns null...
>
>
>
> ___________________________________
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
> http://it.docs.yahoo.com/nowyoucan.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>