RE: Re: Null Pointer Exception when using relative references with RIAP

2010-06-13 Thread Thierry Boileau
Hello Alex, >Maybe LocalReference should always call getTargetRef() >when constructed with a Reference instance? I agree with you, the svn repository has been updated. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.d

Re: Null Pointer Exception when using relative references with RIAP

2010-06-12 Thread Alex Milowski
On Sat, Jun 12, 2010 at 9:42 AM, Jerome Louvel wrote: > Hi Alex, > > I've added this test case to ReferenceTestCase class and it runs fine: > >    public void testRiap() throws Exception { >        Reference baseRef = new Reference("riap://component/exist/db/"); >        Reference ref = new Refere

RE: Null Pointer Exception when using relative references with RIAP

2010-06-12 Thread Jerome Louvel
-Message d'origine- De : ale...@milowski.com [mailto:ale...@milowski.com] De la part de Alex Milowski Envoyé : vendredi 4 juin 2010 15:10 À : discuss@restlet.tigris.org Objet : Null Pointer Exception when using relative references with RIAP I was playing around with reference cons

Null Pointer Exception when using relative references with RIAP

2010-06-04 Thread Alex Milowski
I was playing around with reference construction and when I construct references to RIAP resources as: Reference baseRef = new Reference("riap://component/exist/db/"); Reference ref = new Reference(baseRef,"something.xq"); I get the following exception when I use it in a request: java.lang