Foros de discusión
Probelma con Liferay 7 y el despliegue de themes
Sergio Gonzalez Barrios González Barrios, modificado hace 8 años.
Probelma con Liferay 7 y el despliegue de themes
Junior Member Mensajes: 65 Fecha de incorporación: 27/04/11 Mensajes recientes
Hola, he creado un tema nuevo en Liferay 7 y al desplegar el tema(el tema está sin modificar, tal cual lo crea yeoman y marcando freemarker como lenguage) con gulp deploy me suelta esto por la consola:
11:05:22,792 ERROR [liferay/hot_deploy-1][SerialDestination:61] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={companyId=0, groupId=0, command=deploy, servletContextName=fremarkerprueba-theme}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.liferay.exportimport.resources.importer.util.FileSystemImporter.setUpAssets(FileSystemImporter.java:1822)
at com.liferay.exportimport.resources.importer.util.FileSystemImporter.doImportResources(FileSystemImporter.java:1332)
at com.liferay.exportimport.resources.importer.util.ResourceImporter.importResources(ResourceImporter.java:49)
at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener._importResources(ResourcesImporterHotDeployMessageListener.java:156)
at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:88)
at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:101)
at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
... 5 more
El resource importer no funciona como debe y no importa lo que debe. Además he intentado luego meterle mi propia importación de páginas y contenidos diferente a la que trae por defecto y tampoco funciona.
¿Alguna idea? Bug de Liferay 7?
11:05:22,792 ERROR [liferay/hot_deploy-1][SerialDestination:61] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={companyId=0, groupId=0, command=deploy, servletContextName=fremarkerprueba-theme}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.liferay.exportimport.resources.importer.util.FileSystemImporter.setUpAssets(FileSystemImporter.java:1822)
at com.liferay.exportimport.resources.importer.util.FileSystemImporter.doImportResources(FileSystemImporter.java:1332)
at com.liferay.exportimport.resources.importer.util.ResourceImporter.importResources(ResourceImporter.java:49)
at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener._importResources(ResourcesImporterHotDeployMessageListener.java:156)
at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:88)
at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:101)
at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
... 5 more
El resource importer no funciona como debe y no importa lo que debe. Además he intentado luego meterle mi propia importación de páginas y contenidos diferente a la que trae por defecto y tampoco funciona.
¿Alguna idea? Bug de Liferay 7?
Marcos Castro, modificado hace 7 años.
RE: Probelma con Liferay 7 y el despliegue de themes
New Member Mensajes: 11 Fecha de incorporación: 16/06/14 Mensajes recientes
Hola Sergio,
¿Puedes decirnos exactamente qué version estás usando?
Existió un bug sobre este error en la RC1, que está resuelto en GA1:
https://issues.liferay.com/browse/LPS-64683
Si estás en GA1 y confirmamos que el bug persiste, podemos reabrir el issue.
Gracias!
¿Puedes decirnos exactamente qué version estás usando?
Existió un bug sobre este error en la RC1, que está resuelto en GA1:
https://issues.liferay.com/browse/LPS-64683
Si estás en GA1 y confirmamos que el bug persiste, podemos reabrir el issue.
Gracias!
Sergio Gonzalez Barrios, modificado hace 7 años.
RE: Probelma con Liferay 7 y el despliegue de themes
Junior Member Mensajes: 65 Fecha de incorporación: 27/04/11 Mensajes recientes
Hola @Marcos, te confirmo que es en la GA1. Creando un tema de apariencia de 0 con Yeoman y desplegándolo con GULP sin modificar absolutamente nada del tema suelta eso por consola.
Gracias!
Gracias!
Andrew Jardine, modificado hace 7 años.
RE: Probelma con Liferay 7 y el despliegue de themes
Liferay Legend Mensajes: 2416 Fecha de incorporación: 22/12/10 Mensajes recientes
Una cosa que puedes hacer por la momento es parrar el plugin de resources-importer en el OSGi con el GoGo shell.
Hay otra gente con el mismo problemas en otro hilo: https://web.liferay.com/community/forums/-/message_boards/message/73668505
Regarding getting rid of the resources importer from your bundle. You can use the GoGo shell to stop that OSGi module. After running
$> telnet localhost 11311
from any command line go ahead and run
g!> lb
and find the resources import bundle. Once you find 'Liferay Export Import Resources Importer' go ahead and run
g!> stop ID_NUMBER
where ID_NUMBER is the id of the resources importer module.
Hay otra gente con el mismo problemas en otro hilo: https://web.liferay.com/community/forums/-/message_boards/message/73668505