[Yanel-development] Still problem saving Atom entry

Michael Wechner michael.wechner at wyona.com
Fri Dec 1 14:50:14 CET 2006


Josias Thöny wrote:

>On Fri, 2006-12-01 at 14:23 +0100, Michael Wechner wrote:
>  
>
>>Michael Wechner wrote:
>>
>>    
>>
>>>Hi
>>>
>>>I still have trouble saving an atom entry through the Neutron protocol
>>>      
>>>
>
>It should be fixed now.
>It was the same problem as last time (I had fixed the bug only in the
>put method, but not in the post method, because I wasn't aware that the
>post method is used for saving new documents.)
>Sorry for the inconvenience.
>  
>
thanks very much :-)

Btw, can we improve this somehow such that one doesn't have to pass 
Yanel everytime a resource is being created?

Cheers

Michi

>Josias
>
>  
>
>>I might have to clarify that this saving of a not yet existing entry, e.g.
>>
>>http://demo.yulup.org/atom/entries/
>>
>>Click on the Yulup icon at the right top corner. Go to New and then "new 
>>atom entry".
>>
>>Fill in some data and click save ...
>>
>>Cheers
>>
>>Michi
>>
>>    
>>
>>>61075 2006-12-01 14:09:37,348 [http-8080-Processor23] ERROR 
>>>org.wyona.yanel.impl.resources.AtomEntryResource.write():250  - 
>>>java.lang.NullPointerException
>>>61076 2006-12-01 14:09:37,349 [http-8080-Processor23] ERROR 
>>>org.wyona.yanel.servlet.YanelServlet.doPost():422 -
>>>java.lang.NullPointerException
>>>       at 
>>>org.wyona.yanel.impl.resources.AtomEntryResource.getRepositoryFactory(AtomEntryResource.java:328) 
>>>
>>>       at 
>>>org.wyona.yanel.impl.resources.AtomEntryResource.write(AtomEntryResource.java:242) 
>>>
>>>       at 
>>>org.wyona.yanel.servlet.YanelServlet.doPost(YanelServlet.java:401)
>>>       at 
>>>org.wyona.yanel.servlet.YanelServlet.service(YanelServlet.java:129)
>>>
>>>Somehow it isn't able to retrieve the DefaultRepositoryFactory.
>>>
>>>Any idea what might be wrong?
>>>
>>>Thanks
>>>
>>>Michi
>>>
>>>      
>>>
>>    
>>
>
>
>_______________________________________________
>Yanel-development mailing list
>Yanel-development at wyona.com
>http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61




More information about the Yanel-development mailing list