论坛

主页 » Liferay Portal » Português

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Marcelo Guimarães Melo
Import / Export
2011年8月25日 下午8:20
答复

Marcelo Guimarães Melo

等级: Expert

帖子: 250

加入日期: 2008年9月29日

最近的帖子

Boa noite,

Eu estou realizando um procedimento de importação e exportação utilizando a versão do Liferay 6.0.6 CE, mas estou encontrando o seguinte erro na hora de importar:

  123:41:48,334 ERROR [LayoutImporter] No theme loaders are deployed
  223:41:48,855 ERROR [ImportPagesAction] com.liferay.portal.kernel.exception.SystemException: com.thoughtworks.xstream.converters.ConversionException: Could not call com.liferay.portal.kernel.util.UnicodeProperties.readObject() : No such field com.liferay.portal.kernel.util.UnicodeProperties.cache_bitmask
  3---- Debugging information ----
  4message             : Could not call com.liferay.portal.kernel.util.UnicodeProperties.readObject()
  5cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
  6cause-message       : No such field com.liferay.portal.kernel.util.UnicodeProperties.cache_bitmask
  7class               : com.liferay.portal.model.impl.LayoutImpl
  8required-type       : com.liferay.portal.kernel.util.UnicodeProperties
  9path                : /com.liferay.portal.model.impl.LayoutImpl/_typeSettingsProperties/map/default/cache_bitmask
 10line number         : 49
 11-------------------------------
 12com.liferay.portal.kernel.exception.SystemException: com.thoughtworks.xstream.converters.ConversionException: Could not call com.liferay.portal.kernel.util.UnicodeProperties.readObject() : No such field com.liferay.portal.kernel.util.UnicodeProperties.cache_bitmask
 13---- Debugging information ----
 14message             : Could not call com.liferay.portal.kernel.util.UnicodeProperties.readObject()
 15cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
 16cause-message       : No such field com.liferay.portal.kernel.util.UnicodeProperties.cache_bitmask
 17class               : com.liferay.portal.model.impl.LayoutImpl
 18required-type       : com.liferay.portal.kernel.util.UnicodeProperties
 19path                : /com.liferay.portal.model.impl.LayoutImpl/_typeSettingsProperties/map/default/cache_bitmask
 20line number         : 49
 21-------------------------------
 22    at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:690)
 23    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 24    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 25    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 26    at java.lang.reflect.Method.invoke(Unknown Source)
 27    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 28    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 29    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 30    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
 31    at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
 32    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 33    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 34    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 35    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 36    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 37    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 38    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 39    at $Proxy273.importLayouts(Unknown Source)
 40    at com.liferay.portal.service.impl.LayoutServiceImpl.importLayouts(LayoutServiceImpl.java:223)
 41    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 42    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 43    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 44    at java.lang.reflect.Method.invoke(Unknown Source)
 45    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 46    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 47    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 48    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
 49    at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
 50    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 51    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 52    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 53    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 54    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 55    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 56    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 57    at $Proxy274.importLayouts(Unknown Source)
 58    at com.liferay.portal.service.LayoutServiceUtil.importLayouts(LayoutServiceUtil.java:161)
 59    at com.liferay.portlet.communities.action.ImportPagesAction.processAction(ImportPagesAction.java:61)
 60    at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:169)
 61    at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:186)
 62    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
 63    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
 64    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:652)
 65    at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:687)
 66    at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:360)
 67    at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:784)
 68    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:582)
 69    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:232)
 70    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 71    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 72    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:153)
 73    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 74    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 75    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 76    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)
 77    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)
 78    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 79    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 80    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 81    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 82    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 83    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 84    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 85    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 86    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 87    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 88    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 89    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 90    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
 91    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 92    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 93    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 94    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 95    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 96    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 97    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 98    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 99    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:121)
100    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
101    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
102    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
103    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
104    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
105    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
106    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
107    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
108    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
109    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
110    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
111    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
112    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
113    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
114    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
115    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
116    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
117    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:134)
118    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
119    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
120    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
121    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
122    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
123    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
124    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
125    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
126    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
127    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
128    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
129    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
130    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)
131    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
132    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
133    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
134    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
135    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
136    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
137    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
138    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
139    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:110)
140    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
141    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
142    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
143    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
144    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
145    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
146    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
147    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
148    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
149    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:222)
150    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
151    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
152    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
153    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
154    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
155    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
156    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
157    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
158    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
159    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
160    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
161    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
162    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:45)
163    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
164    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
165    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
166    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
167    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
168    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
169    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
170    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
171    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
172    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
173    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
174    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
175    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
176    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
177    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
178    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
179    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
180    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
181    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
182    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:240)
183    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
184    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
185    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
186    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
187    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
188    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
189    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
190    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
191    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
192    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
193    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
194    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
195    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
196    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
197    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
198    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
199    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
200    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
201    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
202    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
203    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
204    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
205    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
206    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
207    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
208    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
209    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
210    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
211    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
212    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
213    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
214    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
215    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
216    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
217    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
218    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
219    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
220    at java.lang.Thread.run(Unknown Source)
221Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not call com.liferay.portal.kernel.util.UnicodeProperties.readObject() : No such field com.liferay.portal.kernel.util.UnicodeProperties.cache_bitmask
222---- Debugging information ----
223message             : Could not call com.liferay.portal.kernel.util.UnicodeProperties.readObject()
224cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
225cause-message       : No such field com.liferay.portal.kernel.util.UnicodeProperties.cache_bitmask
226class               : com.liferay.portal.model.impl.LayoutImpl
227required-type       : com.liferay.portal.kernel.util.UnicodeProperties
228path                : /com.liferay.portal.model.impl.LayoutImpl/_typeSettingsProperties/map/default/cache_bitmask
229line number         : 49
230-------------------------------
231    at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadObject(SerializationMethodInvoker.java:88)
232    at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:402)
233    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
234    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
235    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
236    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
237    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)
238    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)
239    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
240    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
241    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
242    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
243    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
244    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
245    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
246    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
247    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
248    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
249    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
250    at com.liferay.portal.lar.PortletDataContextImpl.fromXML(PortletDataContextImpl.java:430)
251    at com.liferay.portal.lar.PortletDataContextImpl.getZipEntryAsObject(PortletDataContextImpl.java:606)
252    at com.liferay.portal.lar.LayoutImporter.importLayout(LayoutImporter.java:671)
253    at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:315)
254    at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:680)
255    ... 198 more
256Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: No such field com.liferay.portal.kernel.util.UnicodeProperties.cache_bitmask
257    at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:94)
258    at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:151)
259    at com.thoughtworks.xstream.converters.reflection.ReflectionProviderWrapper.getFieldType(ReflectionProviderWrapper.java:38)
260    at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.defaultReadObject(SerializableConverter.java:359)
261    at com.thoughtworks.xstream.core.util.CustomObjectInputStream.defaultReadObject(CustomObjectInputStream.java:82)
262    at java.util.HashMap.readObject(Unknown Source)
263    at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
264    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
265    at java.lang.reflect.Method.invoke(Unknown Source)
266    at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadObject(SerializationMethodInvoker.java:84)
267    ... 221 more
268   

Alguém pode me ajudar?

Obrigado.
Thiago Leão Moreira
RE: Import / Export
2011年9月5日 下午4:10
答复

Thiago Leão Moreira

LIFERAY STAFF

等级: Liferay Legend

帖子: 1431

加入日期: 2007年10月10日

最近的帖子

Boa noite Marcelo,

Você já procurou no nosso gerenciador de incidentes por esse problema?

http://issues.liferay.com
Donatas Pocius
RE: Import / Export
2011年9月13日 上午12:11
答复

Donatas Pocius

等级: New Member

帖子: 2

加入日期: 2011年3月2日

最近的帖子

The import does not work for some reason. I found out the problem is that Liferay adds more data to the exported xmls than it can actually parse.

Steps to make it work:
Export lar file (choose whatever options needed)
Rename *.lar to *.zip
Extract
Remove line " <cache__bitmask>-1</cache__bitmask>" in all files matching this pattern "/groups/<group_id>/layouts/<layout_id>/layout.xml"
Compress everything back to *.zip and rename to *.lar
Import

This seems to work and not to break anything.