Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Oliver Bayer
Upgrade from 5.2.3 to 6.1.1 broken
17 luglio 2013 7.20
Risposta

Oliver Bayer

Punteggio: Liferay Master

Messaggi: 889

Data di Iscrizione: 18 febbraio 2009

Messaggi recenti

Hi all,

I'm trying to upgrade my liferay installtion from version 5.2.3 to -in the end- 6.1.1 (ga 2).
These are the steps I've took to upgrade from 5.2.3 to 6.0.6:
  • download + extract Liferay v.6.0.6
  • copy the "old" data\document_library to 6.0.6\data
  • copy the portal-ext.properties to 6.0.6\WEB-INF\classes
  • set the permission algorithm to 5
  • start liferay

The upgrade process finished without any errors. But to be able to use/ see images from the document-library you have to run two sql update commands manually (update DLFileEntry set version = replace(version, ',', '.'); update DLFileVersion set version = replace(version, ',', '.');), see the following thread.

The problems arise while/ after upgrading from 6.0.6 to 6.1.1 using the following steps:
  • convert the permission algorithm to 6 (control panel)
  • download, extract, start Liferay v6.1.1


I'm getting a lot of "ERROR [pool-2-thread-1][ImageProcessorImpl:272] com.liferay.portlet.documentlibrary.NoSuchFileException" log entries but the upgrade process still finishes - so I think it's not that critical, if some images are missing ... who cares emoticon.

But after the upgrade process and the indexing I'm getting the following exception:
 1ERROR [pool-2-thread-1][PortalInstances:468] com.liferay.portal.kernel.events.ActionException: com.liferay.portlet.dynamicdatamapping.StructureNameException
 2com.liferay.portal.kernel.events.ActionException: com.liferay.portlet.dynamicdatamapping.StructureNameException
 3    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:64)
 4    at com.liferay.portal.events.AddDefaultDataAction.run(AddDefaultDataAction.java:30)
 5    at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:106)
 6    at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)
 7    at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:53)
 8    at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:462)
 9    at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
10    at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:798)
11    at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:355)
12    at javax.servlet.GenericServlet.init(GenericServlet.java:160)
13    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
14    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
15    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
16    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
17    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
18    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
19    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
20    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
21    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
22    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
23    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
24    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
25    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
26    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
27    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
28    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
29    at java.lang.Thread.run(Thread.java:619)
30Caused by: com.liferay.portlet.dynamicdatamapping.StructureNameException
31    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validateLanguages(DDMStructureLocalServiceImpl.java:681)
32    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validate(DDMStructureLocalServiceImpl.java:648)
33    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validate(DDMStructureLocalServiceImpl.java:624)
34    at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.addStructure(DDMStructureLocalServiceImpl.java:92)
35    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
36    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
37    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
38    at java.lang.reflect.Method.invoke(Method.java:597)
39    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
40    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
41    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
42    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
43    at $Proxy200.addStructure(Unknown Source)
44    at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl.updateDDMStructure(DLFileEntryTypeLocalServiceImpl.java:536)
45    at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl.addFileEntryType(DLFileEntryTypeLocalServiceImpl.java:74)
46    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
47    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
48    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
49    at java.lang.reflect.Method.invoke(Method.java:597)
50    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
51    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
52    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
53    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
54    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
55    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
56    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
57    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
58    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
59    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
60    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
61    at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
62    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
63    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
64    at $Proxy187.addFileEntryType(Unknown Source)
65    at com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalServiceUtil.addFileEntryType(DLFileEntryTypeLocalServiceUtil.java:293)
66    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.addDLFileEntryType(AddDefaultDocumentLibraryStructuresAction.java:100)
67    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.addDLFileEntryTypes(AddDefaultDocumentLibraryStructuresAction.java:115)
68    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.doRun(AddDefaultDocumentLibraryStructuresAction.java:275)
69    at com.liferay.portal.events.AddDefaultDocumentLibraryStructuresAction.run(AddDefaultDocumentLibraryStructuresAction.java:61)
70    ... 26 more

I've found out that it can be patched see the following thread.

The biggest problem/ blocker/ showstopper is that while accessing some pages I'm getting the following exception and the page doesn't show up while others work without any errors:
  1ERROR [http-bio-8080-exec-1][status_jsp:665] org.apache.jasper.JasperException: java.lang.NullPointerException
  2org.apache.jasper.JasperException: java.lang.NullPointerException
  3    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
  4    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
  5    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
  6    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
  7    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  8    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  9    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 10    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 11    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 12    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 13    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 14    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 15    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 16    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
 17    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
 18    at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:468)
 19    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:735)
 20    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
 21    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 22    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 23    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
 24    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 25    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 26    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 27    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
 28    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
 29    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 30    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 31    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 32    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 33    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 34    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 35    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 36    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 37    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 38    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 39    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 40    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 41    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 42    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 43    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 44    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 45    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 46    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 47    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
 48    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
 49    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
 50    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
 51    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 52    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 53    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 54    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 55    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 56    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 57    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 58    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:335)
 59    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 60    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 61    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 62    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 63    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 64    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
 65    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 66    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 67    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 68    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 69    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 70    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 71    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 72    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 73    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 74    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
 75    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 76    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 77    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 78    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 79    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 80    at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:432)
 81    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 82    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 83    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 84    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 85    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:56)
 86    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 87    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 88    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 89    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 90    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
 91    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 92    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 93    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 94    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 95    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 96    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 97    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 98    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
 99    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
100    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
101    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:306)
102    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
103    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
104    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
105    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
106    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
107    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
108    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
109    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
110    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
111    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
112    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
113    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
114    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
115    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
116    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
117    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
118    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
119    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
120    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
121    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
122    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
123    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
124    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
125    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
126    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
127    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
128    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
129    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
130    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
131    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
132    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
133    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
134    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
135    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
136    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
137    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
138    at java.lang.Thread.run(Thread.java:619)
139Caused by: java.lang.NullPointerException
140    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.doDispatch(RuntimePortletImpl.java:363)
141    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processTemplate(RuntimePortletImpl.java:228)
142    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processTemplate(RuntimePortletImpl.java:216)
143    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:113)
144    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:507)
145    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
146    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
147    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
148    ... 134 more

Hopefully an upgrade expert can share some info emoticon.

Greets Oli
Oliver Bayer
RE: Upgrade from 5.2.3 to 6.1.1 broken
25 luglio 2013 1.25
Risposta

Oliver Bayer

Punteggio: Liferay Master

Messaggi: 889

Data di Iscrizione: 18 febbraio 2009

Messaggi recenti

Hi there,

after debugging a while I've found out the root cause of this bug. It's a regression bug. This happens if you try to access a page with a custom layout which isn't deployed (which is the default while upgrading emoticon). In Liferay v6.0.6 it will take a default Liferay layout while in v6.1.1 it will throw a nasty NullPointerException. As soon as I find a bugfix I will let you know and create a jira ticket.

Greets Oli