You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Peiqiang Han <pe...@videotron.ca> on 2008/04/04 02:05:16 UTC

windows live writer editPost error

Hi,

I run a roller site http://www.blogmontreal.com. My everage users have not much computer knowledge. They find it is a bit difficult to write a blog entry. So I suggest to use a blog client. I like very much Microsoft Live writer. It is very easy to use and it is free. But unfortunitly, I cannot modify a posted entry. This affects a lot my site's creadibility. 

The errors in the roller.log si as the fowllowing, does anybody have an workaround for this ?

Peiqiang Han

ERROR 2008-04-03 23:43:27,768 XmlRpcStreamServer:execute - execute: Error while performing request
org.apache.xmlrpc.XmlRpcException: Failed to invoke method editPost in class org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler: 0
 at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:122)
 at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:102)
 at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
 at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
 at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
 at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
 at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.roller.weblogger.ui.rendering.filters.RequestMappingFilter.doFilter(RequestMappingFilter.java:140)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain

....

 at java.lang.Thread.run(Thread.java:619)
Caused by:
java.lang.ArrayIndexOutOfBoundsException: 0
 at org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler.editPost(MetaWeblogAPIHandler.java:143)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:111)
 at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:102)
 at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
 at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
 at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
 at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
 at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)


Re: windows live writer editPost error

Posted by Peter Evans <pe...@ixp.jp>.
On Sat, Apr 05, 2008 at 02:55:38PM -0400, Dave wrote:
> I don't have Windows Live Writer, so I don't know how it can be
> configured but you might want to experiment with it. Can you tell it
> that your site is really a Wordress site or a MovableType site? Are
> there any settings for controlling how categories are posted?

	And M$ in their infinite wisdom are denying the existence of 
	Windows XP x64, so I can't install this at home. I do, however,
	have this at work, so I can look for you.

	I don't think there is any option for categories off the top
	of my head (where there used to be hair). I'll try to look on Monday.

	p

Re: windows live writer editPost error

Posted by Dave <sn...@gmail.com>.
On Sat, Apr 5, 2008 at 2:39 PM, Peiqiang Han <pe...@videotron.ca> wrote:
>  It seems that there is no special setting for Roller. You should just input the weblog
> URL, user name and password. Live Writer can automatically detect the setting.
> We can post an entry, even with images. The only problem is modifying the posted entry.
> Below attached a setting I have.


>  >>   at java.lang.Thread.run(Thread.java:619)
>  >>  Caused by:
>  >>  java.lang.ArrayIndexOutOfBoundsException: 0
>  >>   at org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler.editPost(
> MetaWeblogAPIHandler.java:143)

Looks like  a problem in processing incoming categories.
Unfortunately, the MetaWeblog API specification is not clear about how
categories are to be handled so different blog servers do it in
different ways.

I don't have Windows Live Writer, so I don't know how it can be
configured but you might want to experiment with it. Can you tell it
that your site is really a Wordress site or a MovableType site? Are
there any settings for controlling how categories are posted?

- Dave

Re: windows live writer editPost error

Posted by Peiqiang Han <pe...@videotron.ca>.
Hi Dave,

It seems that there is no special setting for Roller. You should just input the weblog URL, user name and password. Live Writer can automatically detect the setting. We can post an entry, even with images. The only problem is modifying the posted entry. Below attached a setting I have.

Peiqiang Han



----- Original Message ----- 
From: "Dave" <sn...@gmail.com>
To: <us...@roller.apache.org>
Sent: Saturday, April 05, 2008 10:00 PM
Subject: Re: windows live writer editPost error


> On Thu, Apr 3, 2008 at 8:05 PM, Peiqiang Han <pe...@videotron.ca> wrote:
>> Hi,
>>
>>  I run a roller site http://www.blogmontreal.com. My everage users have not much computer knowledge. They find it is a bit difficult to write a blog entry. So I suggest to use a blog client. I like very much Microsoft Live writer. It is very easy to use and it is free. But unfortunitly, I cannot modify a posted entry. This affects a lot my site's creadibility.
>>
>>  The errors in the roller.log si as the fowllowing, does anybody have an workaround for this ?
>>
>>  Peiqiang Han
>>
>>  ERROR 2008-04-03 23:43:27,768 XmlRpcStreamServer:execute - execute: Error while performing request
>>  org.apache.xmlrpc.XmlRpcException: Failed to invoke method editPost in class org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler: 0
>>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:122)
>>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:102)
>>   at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
>>   at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
>>   at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
>>   at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
>>   at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
>>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>   at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)
>>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>   at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
>>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>   at org.apache.roller.weblogger.ui.rendering.filters.RequestMappingFilter.doFilter(RequestMappingFilter.java:140)
>>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>   at org.apache.catalina.core.ApplicationFilterChain
>>
>>  ....
>>
>>   at java.lang.Thread.run(Thread.java:619)
>>  Caused by:
>>  java.lang.ArrayIndexOutOfBoundsException: 0
>>   at org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler.editPost(MetaWeblogAPIHandler.java:143)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>   at java.lang.reflect.Method.invoke(Method.java:597)
>>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:111)
>>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:102)
>>   at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
>>   at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
>>   at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
>>   at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
>>   at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
>>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> 
> 
> What settings are you using in Windows Live Writer? Is there a setting
> for Roller?
> 
> - Dave

Re: windows live writer editPost error

Posted by Dave <sn...@gmail.com>.
On Thu, Apr 3, 2008 at 8:05 PM, Peiqiang Han <pe...@videotron.ca> wrote:
> Hi,
>
>  I run a roller site http://www.blogmontreal.com. My everage users have not much computer knowledge. They find it is a bit difficult to write a blog entry. So I suggest to use a blog client. I like very much Microsoft Live writer. It is very easy to use and it is free. But unfortunitly, I cannot modify a posted entry. This affects a lot my site's creadibility.
>
>  The errors in the roller.log si as the fowllowing, does anybody have an workaround for this ?
>
>  Peiqiang Han
>
>  ERROR 2008-04-03 23:43:27,768 XmlRpcStreamServer:execute - execute: Error while performing request
>  org.apache.xmlrpc.XmlRpcException: Failed to invoke method editPost in class org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler: 0
>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:122)
>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:102)
>   at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
>   at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
>   at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
>   at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
>   at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)
>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at org.apache.roller.weblogger.ui.rendering.filters.RequestMappingFilter.doFilter(RequestMappingFilter.java:140)
>   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>   at org.apache.catalina.core.ApplicationFilterChain
>
>  ....
>
>   at java.lang.Thread.run(Thread.java:619)
>  Caused by:
>  java.lang.ArrayIndexOutOfBoundsException: 0
>   at org.apache.roller.weblogger.webservices.xmlrpc.MetaWeblogAPIHandler.editPost(MetaWeblogAPIHandler.java:143)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:111)
>   at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:102)
>   at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
>   at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
>   at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
>   at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
>   at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)


What settings are you using in Windows Live Writer? Is there a setting
for Roller?

- Dave