passing null for the annotation provider results in a null pointer exception in 5.4
On Mon, Oct 14, 2013 at 9:06 AM, Thiago H de Paula Figueiredo < [email protected]> wrote: > On Mon, 14 Oct 2013 09:56:05 -0300, Barry Books <[email protected]> wrote: > > found NullAnnotaionProvider which is somewhat better >> >> invoice = provider.provide(Invoice.***class*, *new* >> NullAnnotationProvider(), >> *null*, *true*); >> > > Or just pass null. As I said before in this thread, I don't see the need > for a second way/service for providing objects. Maybe just another method > in ObjectLocator with fewer parameters (just the type), passing default > values. > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > dev-unsubscribe@tapestry.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >
