Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-83063

Unable to track installed apps with Marketplace errors during upgrade

    Details

      Description

      The upgrade process is throwing errors that installed apps cannot be tracked by the Marketplace.

       [java] 01:46:20,308 INFO  [main][UpgradeProcess:86] Upgrading com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeApp
           [java] INFO - Upgrading com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeApp
           [java] 01:46:20,314 INFO  [main][UpgradeProcess:103] Completed upgrade process com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeApp in 6ms
           [java] INFO - Completed upgrade process com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeApp in 6ms
           [java] 01:46:20,335 INFO  [main][UpgradeProcess:86] Upgrading com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeModule
           [java] INFO - Upgrading com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeModule
           [java] 01:46:20,339 INFO  [main][UpgradeProcess:103] Completed upgrade process com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeModule in 4ms
           [java] INFO - Completed upgrade process com.liferay.marketplace.internal.upgrade.v1_0_0.UpgradeModule in 4ms
           [java] 01:46:20,384 INFO  [main][UpgradeProcess:86] Upgrading com.liferay.marketplace.internal.upgrade.v2_0_0.UpgradeApp
           [java] INFO - Upgrading com.liferay.marketplace.internal.upgrade.v2_0_0.UpgradeApp
           [java] 01:46:20,451 INFO  [main][UpgradeProcess:103] Completed upgrade process com.liferay.marketplace.internal.upgrade.v2_0_0.UpgradeApp in 67ms
           [java] INFO - Completed upgrade process com.liferay.marketplace.internal.upgrade.v2_0_0.UpgradeApp in 67ms
           [java] 01:46:20,807 ERROR [main][JDBCExceptionReporter:234] Unknown column 'moduleimpl0_.companyId' in 'field list'
           [java] 01:46:20,811 ERROR [main][LPKGDeployerRegistrar:151] Unable to track installed app Liferay CE Forms and Workflow - Liferay CE Portal Rules Engine - Impl with Marketplace
           [java] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
           [java] 	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:270)
           [java] 	at com.liferay.marketplace.service.persistence.impl.ModulePersistenceImpl.findByAppId(ModulePersistenceImpl.java:1390)
           [java] 	at com.liferay.marketplace.service.persistence.impl.ModulePersistenceImpl.findByAppId(ModulePersistenceImpl.java:1281)
           [java] 	at com.liferay.marketplace.service.persistence.impl.ModulePersistenceImpl.removeByAppId(ModulePersistenceImpl.java:1658)
           [java] 	at com.liferay.marketplace.service.impl.ModuleLocalServiceImpl.deleteModules(ModuleLocalServiceImpl.java:82)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
           [java] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
           [java] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:47)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:39)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.cache.thread.local.ThreadLocalCacheAdvice.invoke(ThreadLocalCacheAdvice.java:48)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
           [java] 	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
           [java] 	at com.sun.proxy.$Proxy417.deleteModules(Unknown Source)
           [java] 	at com.liferay.marketplace.internal.lpkg.deployer.LPKGDeployerRegistrar._doRegister(LPKGDeployerRegistrar.java:104)
           [java] 	at com.liferay.marketplace.internal.lpkg.deployer.LPKGDeployerRegistrar._register(LPKGDeployerRegistrar.java:148)
           [java] 	at com.liferay.marketplace.internal.lpkg.deployer.LPKGDeployerRegistrar.activate(LPKGDeployerRegistrar.java:64)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:224)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:617)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:501)
           [java] 	at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:302)
           [java] 	at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:294)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:297)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:108)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:906)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:879)
           [java] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:748)
           [java] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1012)
           [java] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:968)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1215)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1136)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:945)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:881)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1167)
           [java] 	at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
           [java] 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
           [java] 	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
           [java] 	at com.liferay.portal.spring.extender.internal.bean.ApplicationContextServicePublisher._registerService(ApplicationContextServicePublisher.java:144)
           [java] 	at com.liferay.portal.spring.extender.internal.bean.ApplicationContextServicePublisher.register(ApplicationContextServicePublisher.java:65)
           [java] 	at com.liferay.portal.spring.extender.internal.context.ModuleApplicationContextRegistrator.start(ModuleApplicationContextRegistrator.java:78)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [java] 	at org.apache.felix.dm.InvocationUtil.invokeMethod(InvocationUtil.java:111)
           [java] 	at org.apache.felix.dm.InvocationUtil.invokeCallbackMethod(InvocationUtil.java:66)
           [java] 	at org.apache.felix.dm.impl.ComponentImpl.invokeCallbackMethod(ComponentImpl.java:769)
           [java] 	at org.apache.felix.dm.impl.ComponentImpl.invoke(ComponentImpl.java:760)
           [java] 	at org.apache.felix.dm.impl.ComponentImpl.bindService(ComponentImpl.java:705)
           [java] 	at org.apache.felix.dm.impl.ComponentImpl.access$400(ComponentImpl.java:54)
           [java] 	at org.apache.felix.dm.impl.ComponentImpl$7.run(ComponentImpl.java:202)
           [java] 	at org.apache.felix.dm.impl.SerialExecutor.runTask(SerialExecutor.java:137)
           [java] 	at org.apache.felix.dm.impl.SerialExecutor.runTasks(SerialExecutor.java:119)
           [java] 	at org.apache.felix.dm.impl.SerialExecutor.execute(SerialExecutor.java:85)
           [java] 	at org.apache.felix.dm.impl.ComponentImpl.calculateStateChanges(ComponentImpl.java:252)
           [java] 	at org.apache.felix.dm.impl.ComponentImpl.dependencyAvailable(ComponentImpl.java:379)
           [java] 	at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl.doAddedService(ServiceDependencyImpl.java:849)
           [java] 	at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl.access$200(ServiceDependencyImpl.java:60)
           [java] 	at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl$4.run(ServiceDependencyImpl.java:317)
           [java] 	at org.apache.felix.dm.impl.SerialExecutor.runTask(SerialExecutor.java:137)
           [java] 	at org.apache.felix.dm.impl.SerialExecutor.runTasks(SerialExecutor.java:119)
           [java] 	at org.apache.felix.dm.impl.SerialExecutor.execute(SerialExecutor.java:85)
           [java] 	at org.apache.felix.dm.impl.SerialExecutor.execute(SerialExecutor.java:104)
           [java] 	at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl.addedService(ServiceDependencyImpl.java:314)
           [java] 	at org.apache.felix.dm.tracker.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1331)
           [java] 	at org.apache.felix.dm.tracker.AbstractTracked.trackAdding(AbstractTracked.java:290)
           [java] 	at org.apache.felix.dm.tracker.AbstractTracked.track(AbstractTracked.java:236)
           [java] 	at org.apache.felix.dm.tracker.ServiceTracker$Tracked.serviceChangedHideAspects(ServiceTracker.java:1212)
           [java] 	at org.apache.felix.dm.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1107)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
           [java] 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
           [java] 	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1001)
           [java] 	at com.liferay.portal.upgrade.internal.release.ReleasePublisher.publish(ReleasePublisher.java:66)
           [java] 	at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.executeUpgradeInfos(ReleaseManagerOSGiCommands.java:353)
           [java] 	at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.doExecute(ReleaseManagerOSGiCommands.java:281)
           [java] 	at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands$UpgradeInfoServiceTrackerMapListener.keyEmitted(ReleaseManagerOSGiCommands.java:506)
           [java] 	at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands$UpgradeInfoServiceTrackerMapListener.keyEmitted(ReleaseManagerOSGiCommands.java:496)
           [java] 	at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$DefaultEmitter.emit(ServiceTrackerMapImpl.java:222)
           [java] 	at com.liferay.osgi.service.tracker.collections.map.PropertyServiceReferenceMapper.map(PropertyServiceReferenceMapper.java:43)
           [java] 	at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$ServiceReferenceServiceTrackerCustomizer.addingService(ServiceTrackerMapImpl.java:261)
           [java] 	at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$ServiceReferenceServiceTrackerCustomizer.addingService(ServiceTrackerMapImpl.java:248)
           [java] 	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
           [java] 	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
           [java] 	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
           [java] 	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
           [java] 	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318)
           [java] 	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)
           [java] 	at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl.<init>(ServiceTrackerMapImpl.java:64)
           [java] 	at com.liferay.osgi.service.tracker.collections.map.ServiceTrackerMapFactory.openMultiValueMap(ServiceTrackerMapFactory.java:120)
           [java] 	at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.activate(ReleaseManagerOSGiCommands.java:241)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:224)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:617)
           [java] 	at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:501)
           [java] 	at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:302)
           [java] 	at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:294)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:297)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:108)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:906)
           [java] 	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:879)
           [java] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:748)
           [java] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1012)
           [java] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:968)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1215)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1136)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:945)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:881)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1167)
           [java] 	at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
           [java] 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
           [java] 	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
           [java] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:886)
           [java] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:873)
           [java] 	at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:132)
           [java] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:940)
           [java] 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:740)
           [java] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1012)
           [java] 	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:968)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1215)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1136)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:945)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:881)
           [java] 	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1167)
           [java] 	at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
           [java] 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
           [java] 	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
           [java] 	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482)
           [java] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1001)
           [java] 	at com.liferay.registry.internal.RegistryImpl.registerService(RegistryImpl.java:355)
           [java] 	at com.liferay.portal.tools.DBUpgrader._registerModuleServiceLifecycle(DBUpgrader.java:421)
           [java] 	at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:114)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [java] 	at com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:55)
           [java] Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
           [java] 	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:34)
           [java] 	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:132)
           [java] 	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:111)
           [java] 	at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:59)
           [java] 	at com.liferay.marketplace.service.persistence.impl.ModulePersistenceImpl.findByAppId(ModulePersistenceImpl.java:1371)
           [java] 	... 195 more
           [java] Caused by: org.hibernate.exception.SQLGrammarException: could not execute query
           [java] 	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
           [java] 	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
           [java] 	at org.hibernate.loader.Loader.doList(Loader.java:2545)
           [java] 	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
           [java] 	at org.hibernate.loader.Loader.list(Loader.java:2271)
           [java] 	at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:940)
           [java] 	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
           [java] 	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
           [java] 	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
           [java] 	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:120)
           [java] 	... 198 more
           [java] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'moduleimpl0_.companyId' in 'field list'
           [java] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           [java] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
           [java] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           [java] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
           [java] 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
           [java] 	at com.mysql.jdbc.Util.getInstance(Util.java:386)
           [java] 	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
           [java] 	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
           [java] 	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
           [java] 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
           [java] 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
           [java] 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
           [java] 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
           [java] 	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
           [java] 	at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
           [java] 	at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
           [java] 	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
           [java] 	at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
           [java] 	at org.hibernate.loader.Loader.doQuery(Loader.java:802)
           [java] 	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
           [java] 	at org.hibernate.loader.Loader.doList(Loader.java:2542)
           [java] 	... 205 more
      

      Reproduced on
      Tomcat 9.0.6 + MySQL 5.7.19.
      Portal 7.1.x GIT ID: 439f94cc22eea87c56abb3405b6f8e3ba705dacb.

        Attachments

          Activity

            People

            • Assignee:
              john.co John Co
              Reporter:
              albert.lee Albert Lee
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 20 weeks, 6 days ago

                Packages

                Version Package
                7.0.X
                7.1.X
                Master