-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE RC1, 6.2.0 CE RC2, 6.2.0 CE RC3
-
Fix Version/s: 6.1.X EE, 6.2.0 CE RC1, 6.2.0 CE RC2, 6.2.0 CE RC3
-
Component/s: Staging
-
Labels:
-
Environment:Tomcat 7 + MySQL 5. Portal ee-6.2.x EE GIT ID: 03b8c10e438ce0f610a8ade7c43570b8bd6744d9.
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Fix Priority:5
-
Git Pull Request:
This bug was found while running this manual cert:
https://github.com/liferay/liferay-qa-ee/blob/master/liferay-portal/6.1.x/staging/6.1%20-%20LP%20-%20Staging%20-%20Remote%20%20Live%20-%20SSL%20Connection.markdown#SaveTheCertificateFromRemoteMachineOnLocalMachine
Steps to reproduce:
- Set up portal-ext on remote and local machine
- Modify the hosts file on remote machine
- Generate certificate keystore with keytool in remote machine
- Configure tomcat server.xml
- Start remote instance
- Create Site
- Copy certificate into publisher-cert.txt and send it to the local machine
- Modify the hosts file on local machine
- Generate certificate keystore with keytool in local machine
- Configure tomcat server.xml
- Import the certificate
- Start local machine
- Activate Remote Staging
- Add Web Content Display portlet and add a Web Content Article
- Mark as ready for publication and publish to remote live
Expected result:
The portlet and content should publish successfully
Actual result:
The portlet and content are published, but the Staging process says Fail and there is a console error:
17:27:54,711 ERROR [liferay/background_task-1][LayoutStagingHandler:92] java.lang.NullPointerException java.lang.NullPointerException at com.liferay.portal.model.LayoutStagingHandler._getLayoutRevision(LayoutStagingHandler.java:150) at com.liferay.portal.model.LayoutStagingHandler.<init>(LayoutStagingHandler.java:124) at com.liferay.portal.model.LayoutStagingHandler.<init>(LayoutStagingHandler.java:55) at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.getProxiedLayout(LayoutLocalServiceStagingAdvice.java:539) at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.wrapLayout(LayoutLocalServiceStagingAdvice.java:569) at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.wrapReturnValue(LayoutLocalServiceStagingAdvice.java:626) at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:141) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175) at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62) at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51) at $Proxy134.getLayout(Unknown Source) at com.liferay.portal.service.LayoutLocalServiceUtil.getLayout(LayoutLocalServiceUtil.java:227) at com.liferay.portal.lar.backgroundtask.LayoutRemoteStagingBackgroundTaskExecutor.exportLayoutsAsFile(LayoutRemoteStagingBackgroundTaskExecutor.java:156) at com.liferay.portal.lar.backgroundtask.LayoutRemoteStagingBackgroundTaskExecutor.execute(LayoutRemoteStagingBackgroundTaskExecutor.java:78) at com.liferay.portal.kernel.backgroundtask.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:56) at com.liferay.portal.backgroundtask.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:108) at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72) at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:69) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593) at java.lang.Thread.run(Thread.java:722)
- relates
-
LPE-14374 CheckArticleMessageListener unable to publish scheduled JournalArticle, fails with NullPointerException
-
- Closed
-