roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ROL-937) XML-RPC broken in Roller 2.0?
Date Sun, 18 Jul 2010 19:21:51 GMT

     [ https://issues.apache.org/jira/browse/ROL-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Johnson resolved ROL-937.
-------------------------------

    Resolution: Fixed

Fixed long ago.

> XML-RPC broken in Roller 2.0?
> -----------------------------
>
>                 Key: ROL-937
>                 URL: https://issues.apache.org/jira/browse/ROL-937
>             Project: Roller
>          Issue Type: Bug
>          Components: Web Services
>    Affects Versions: 2.0
>         Environment: Java 1.5 on Windows XP
>            Reporter: Jean Vean
>            Assignee: Roller Unassigned
>            Priority: Minor
>
> I have a java client application that is trying to post to a roller instance. 
> The following  XML-RPC call works with Roller 1.2 but not with 2.0:
>         String method_name="blogger.newPost";
>         String client=" http://localhost:8084/roller/xmlrpc";
>         Vector params=new Vector();
>         params.addElement( "0123456789ABCDEF" );
>         params.addElement ( "test" );
>         params.addElement( "test");
>         params.addElement( "test" );
>         params.addElement( "This is a test post " );
>         params.addElement( Boolean.TRUE   );
>         XMLRPCCall(method_name, client, params);
> I checked and doublecheck the blog handle, user id and password to no avail.
> roller.log (error see in roller 2.0):
> INFO  2005-12-17 13:19:49,296 BloggerAPIHandler:newPost -      Appkey:
> 0123456789ABCDEF
> INFO  2005-12-17 13:19:49,297 BloggerAPIHandler:newPost -      BlogId: test
> INFO  2005-12-17 13:19:49,298 BloggerAPIHandler:newPost -      UserId: test
> INFO  2005-12-17 13:19:49,299 BloggerAPIHandler:newPost -     Publish: true
> INFO  2005-12-17 13:19:49,300 BloggerAPIHandler:newPost -     Content:
>  This is a test post
> ERROR 2005-12-17 13:19:49,325 HibernateStrategy:store - EXCEPTION storing
> object, id=4ffefa9508335817010839f2f2cd0017, class={1}
> org.hibernate.PropertyValueException: not-null property references a null or
> transient value: org.roller.pojos.WeblogEntryData.creator
>        at org.hibernate.engine.Nullability.checkNullability(Nullability.java
> :72)
>        at
> org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(
> AbstractSaveEventListener.java :236)
>        at org.hibernate.event.def.AbstractSaveEventListener.performSave(
> AbstractSaveEventListener.java:160)
>        at
> org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(
> AbstractSaveEventListener.java :108)
>        at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId
> (DefaultSaveOrUpdateEventListener.java:184)
>        at
> org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(
> DefaultSaveEventListener.java:33)
>        at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(
> DefaultSaveOrUpdateEventListener.java:173)
>        at
> org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate (
> DefaultSaveEventListener.java:27)
>        at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(
> DefaultSaveOrUpdateEventListener.java:69)
>        at org.hibernate.impl.SessionImpl.save(SessionImpl.java :481)
>        at org.hibernate.impl.SessionImpl.save(SessionImpl.java:476)
>        at org.roller.business.hibernate.HibernateStrategy.store(
> HibernateStrategy.java:315)
>        at org.roller.pojos.PersistentObject.save (PersistentObject.java:39)
>        at org.roller.pojos.WeblogEntryData.save(WeblogEntryData.java:542)
>        at org.roller.presentation.xmlrpc.BloggerAPIHandler.newPost(
> BloggerAPIHandler.java:439)
>        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:585)
>        at org.apache.xmlrpc.Invoker.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>        at org.roller.presentation.xmlrpc.RollerXMLRPCServlet.service(
> RollerXMLRPCServlet.java :66)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter (
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.RequestFilter.doFilter(
> RequestFilter.java:134)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java :202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.PersistenceSessionFilter.doFilter(
> PersistenceSessionFilter.java:53)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(
> SchemeEnforcementFilter.java:97)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.CharEncodingFilter.doFilter(
> CharEncodingFilter.java:94)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(
> SchemeEnforcementFilter.java :97)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:214)
>        at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>        at org.apache.catalina.authenticator.AuthenticatorBase.invoke (
> AuthenticatorBase.java:407)
>        at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>        at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>        at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:526)
>        at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>        at org.apache.catalina.connector.CoyoteAdapter.service (
> CoyoteAdapter.java:148)
>        at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:825)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java :738)
>        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:526)
>        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
>        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>        at java.lang.Thread.run(Thread.java:595)
> ERROR 2005-12-17 13:19:49,328 BloggerAPIHandler:newPost - ERROR in
> BlooggerAPIHander.newPost
> org.roller.RollerException: EXCEPTION storing object,
> id=4ffefa9508335817010839f2f2cd0017, class={1}
>        at org.roller.business.hibernate.HibernateStrategy.store(
> HibernateStrategy.java:334)
>        at org.roller.pojos.PersistentObject.save (PersistentObject.java:39)
>        at org.roller.pojos.WeblogEntryData.save(WeblogEntryData.java:542)
>        at org.roller.presentation.xmlrpc.BloggerAPIHandler.newPost(
> BloggerAPIHandler.java:439)
>        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:585)
>        at org.apache.xmlrpc.Invoker.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>        at org.roller.presentation.xmlrpc.RollerXMLRPCServlet.service(
> RollerXMLRPCServlet.java :66)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter (
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.RequestFilter.doFilter(
> RequestFilter.java:134)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java :202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.PersistenceSessionFilter.doFilter(
> PersistenceSessionFilter.java:53)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(
> SchemeEnforcementFilter.java:97)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.CharEncodingFilter.doFilter(
> CharEncodingFilter.java:94)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(
> SchemeEnforcementFilter.java :97)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:214)
>        at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>        at org.apache.catalina.authenticator.AuthenticatorBase.invoke (
> AuthenticatorBase.java:407)
>        at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>        at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>        at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:526)
>        at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>        at org.apache.catalina.connector.CoyoteAdapter.service (
> CoyoteAdapter.java:148)
>        at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:825)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java :738)
>        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:526)
>        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
>        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>        at java.lang.Thread.run(Thread.java:595)
> --- ROOT CAUSE ---
> org.hibernate.PropertyValueException: not-null property references a null or
> transient value: org.roller.pojos.WeblogEntryData.creator
>        at org.hibernate.engine.Nullability.checkNullability(Nullability.java
> :72)
>        at
> org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(
> AbstractSaveEventListener.java :236)
>        at org.hibernate.event.def.AbstractSaveEventListener.performSave(
> AbstractSaveEventListener.java:160)
>        at
> org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(
> AbstractSaveEventListener.java :108)
>        at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId
> (DefaultSaveOrUpdateEventListener.java:184)
>        at
> org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(
> DefaultSaveEventListener.java:33)
>        at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(
> DefaultSaveOrUpdateEventListener.java:173)
>        at
> org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate (
> DefaultSaveEventListener.java:27)
>        at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(
> DefaultSaveOrUpdateEventListener.java:69)
>        at org.hibernate.impl.SessionImpl.save(SessionImpl.java :481)
>        at org.hibernate.impl.SessionImpl.save(SessionImpl.java:476)
>        at org.roller.business.hibernate.HibernateStrategy.store(
> HibernateStrategy.java:315)
>        at org.roller.pojos.PersistentObject.save (PersistentObject.java:39)
>        at org.roller.pojos.WeblogEntryData.save(WeblogEntryData.java:542)
>        at org.roller.presentation.xmlrpc.BloggerAPIHandler.newPost(
> BloggerAPIHandler.java:439)
>        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:585)
>        at org.apache.xmlrpc.Invoker.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>        at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
>        at org.roller.presentation.xmlrpc.RollerXMLRPCServlet.service(
> RollerXMLRPCServlet.java :66)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter (
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.RequestFilter.doFilter(
> RequestFilter.java:134)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java :202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.PersistenceSessionFilter.doFilter(
> PersistenceSessionFilter.java:53)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(
> SchemeEnforcementFilter.java:97)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.CharEncodingFilter.doFilter(
> CharEncodingFilter.java:94)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(
> SchemeEnforcementFilter.java :97)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>        at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:214)
>        at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>        at org.apache.catalina.authenticator.AuthenticatorBase.invoke (
> AuthenticatorBase.java:407)
>        at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>        at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>        at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:526)
>        at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>        at org.apache.catalina.connector.CoyoteAdapter.service (
> CoyoteAdapter.java:148)
>        at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:825)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java :738)
>        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:526)
>        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
>        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>        at java.lang.Thread.run(Thread.java:595) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message