Re: PAT 0.5.1 Load Query Error:com.thoughtworks.xstream.converters.ConversionException: null : null

41 views
Skip to first unread message

t...@wamonline.org.uk

unread,
Jan 27, 2010, 9:14:06 AM1/27/10
to pentahoanaly...@googlegroups.com
We currently have issues with Mondrian connections deserializing them with XStream, XMLA connections currently save and load ok

Tom



On Wed 27/01/10 1:23 AM , LiuHaidong liuha...@gmail.com sent:
I'm running the PAT 0.5.1 with MySql, when I save and load a query,
this error happened. Please advice:
ERROR - !Servlet.Query.LoadQueryError!
com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception : java.lang.NullPointerException
cause-message : null
class : org.olap4j.query.Query
required-type : java.util.HashMap
line number : 6289
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:60)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:71)
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection
(CollectionConverter.java:68)
at
com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal
(CollectionConverter.java:61)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:60)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem
(AbstractCollectionConverter.java:71)
at
com.thoughtworks.xstream.converters.collections.MapConverter.populateMap
(MapConverter.java:79)
at
com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal
(MapConverter.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField
(AbstractReflectionConverter.java:246)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal
(AbstractReflectionConverter.java:218)
at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal
(AbstractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert
(AbstractReferenceUnmarshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:60)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start
(TreeUnmarshaller.java:137)
at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal
(AbstractTreeMarshallingStrategy.java:33)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
at org.pentaho.pat.server.servlet.QueryServlet.loadQuery
(QueryServlet.java:708)
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 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:562)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:188)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost
(RemoteServiceServlet.java:224)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost
(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
at
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke
(FilterSecurityInterceptor.java:109)
at
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter
(FilterSecurityInterceptor.java:83)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp
(SessionFixationProtectionFilter.java:67)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp
(ExceptionTranslationFilter.java:101)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp
(AnonymousProcessingFilter.java:105)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp
(RememberMeProcessingFilter.java:116)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp
(SecurityContextHolderAwareRequestFilter.java:91)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp
(BasicProcessingFilter.java:174)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp
(AbstractProcessingFilter.java:277)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp
(LogoutFilter.java:89)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp
(HttpSessionContextIntegrationFilter.java:235)
at org.springframework.security.ui.SpringSecurityFilter.doFilter
(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
at org.springframework.security.util.FilterChainProxy.doFilter
(FilterChainProxy.java:175)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate
(DelegatingFilterProxy.java:236)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter
(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at mondrian.rolap.RolapSchema.hashCode(RolapSchema.java:261)
at java.util.HashMap.put(HashMap.java:372)
at
com.thoughtworks.xstream.converters.collections.MapConverter.populateMap
(MapConverter.java:82)
at
com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal
(MapConverter.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert
(TreeUnmarshaller.java:82)
... 166 more

--
You received this message because you are subscribed to the Google Groups "pentahoanalysistool-users" group.
To post to this group, send email to pentahoanaly...@googlegroups.com.
To unsubscribe from this group, send email to pentahoanalysistool-users+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pentahoanalysistool-users?hl=en.



刘海东

unread,
Jan 27, 2010, 10:26:49 PM1/27/10
to pentahoanaly...@googlegroups.com
Thanks a lot!


谢谢

刘海东



Reply all
Reply to author
Forward
0 new messages