Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread jcgarciam
Hi Folks, Probably im doing it wrong, but please bear with me, currently i'm trying to do a very simple download operation in wicket 1.5M3, but it fails with a NPE in (ResourceStreamResource.java line 72), because it seems is always expecting that any IResourceStream implementation set the lastMo

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread Martin Grigorov
Looks like a bug. I think StringResourceStream has to initialize its lastModifiedTime in the constructor to Time.now(). I'll create a ticket and fix it. On Tue, Nov 23, 2010 at 8:05 PM, jcgarciam wrote: > > Hi Folks, > > Probably im doing it wrong, but please bear with me, currently i'm trying

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread Martin Grigorov
Done. r1038292 On Tue, Nov 23, 2010 at 8:20 PM, Martin Grigorov wrote: > Looks like a bug. > I think StringResourceStream has to initialize its lastModifiedTime in the > constructor to Time.now(). > > I'll create a ticket and fix it. > > > On Tue, Nov 23, 2010 at 8:05 PM, jcgarciam wrote: > >> >

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread jcgarciam
-- > >> View this message in context: > >> > http://apache-wicket.1842946.n4.nabble.com/Simple-Download-from-StringResourceStream-cause-NPE-wicket-1-5M3-possible-bug-tp3056036p3056036.html<http://apache-wicket.1842946.n4.nabble.com/Simple-Download-from-StringResourceStream-cause-NPE-wicket-1-5M3-possible-

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread Martin Grigorov
adStreamBug.7z > > >> > > >> > > >> -- > > >> View this message in context: > > >> > > > http://apache-wicket.1842946.n4.nabble.com/Simple-Download-from-StringResourceStream-cause-NPE-wicket-1-5M

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread jcgarciam
>> -- > > > >> View this message in context: > > > >> > > > > > > http://apache-wicket.1842946.n4.nabble.com/Simple-Download-from-StringResourceStream-cause-NPE-wicket-1-5M3-possible-bug-tp3056036p3056036.html<http://apache-wicket.1842946.