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

com.liferay.portal.verify.VerifyException

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.2.X EE, 7.0.X EE, Master
    • Fix Version/s: 7.0.X EE, Master
    • Component/s: WCM, WCM > Upgrade
    • Labels:
      None
    • Fix Priority:
      4

      Description

      Upgrade to DXP fails with:

      21:40:12,252 ERROR [main][VerifyProcessTrackerOSGiCommands:246] com.liferay.portal.verify.VerifyException: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: 'HOME-FEATURETTE-3'
      com.liferay.portal.verify.VerifyException: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: 'HOME-FEATURETTE-3'
          at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:73)
          at com.liferay.portal.verify.extender.internal.osgi.commands.VerifyProcessTrackerOSGiCommands.executeVerifyProcesses(VerifyProcessTrackerOSGiCommands.java:243)
          at com.liferay.portal.verify.extender.internal.osgi.commands.VerifyProcessTrackerOSGiCommands$1.run(VerifyProcessTrackerOSGiCommands.java:297)
          at com.liferay.portal.output.stream.container.OutputStreamContainerFactoryTracker.runWithSwappedLog(OutputStreamContainerFactoryTracker.java:100)
          at com.liferay.portal.verify.extender.internal.osgi.commands.VerifyProcessTrackerOSGiCommands.executeVerifyProcesses(VerifyProcessTrackerOSGiCommands.java:292)
          at com.liferay.portal.verify.extender.internal.osgi.commands.VerifyProcessTrackerOSGiCommands.execute(VerifyProcessTrackerOSGiCommands.java:78)
          at com.liferay.portal.verify.extender.internal.osgi.commands.VerifyProcessTrackerOSGiCommands$VerifyServiceTrackerMapListener.keyEmitted(VerifyProcessTrackerOSGiCommands.java:405)
          at com.liferay.portal.verify.extender.internal.osgi.commands.VerifyProcessTrackerOSGiCommands$VerifyServiceTrackerMapListener.keyEmitted(VerifyProcessTrackerOSGiCommands.java:394)
          at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$DefaultEmitter.emit(ServiceTrackerMapImpl.java:222)
          at com.liferay.osgi.service.tracker.collections.map.PropertyServiceReferenceMapper.map(PropertyServiceReferenceMapper.java:43)
          at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$ServiceReferenceServiceTrackerCustomizer.addingService(ServiceTrackerMapImpl.java:261)
          at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl$ServiceReferenceServiceTrackerCustomizer.addingService(ServiceTrackerMapImpl.java:248)
          at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
          at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
          at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
          at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
          at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318)
          at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)
          at com.liferay.osgi.service.tracker.collections.internal.map.ServiceTrackerMapImpl.open(ServiceTrackerMapImpl.java:94)
          at com.liferay.portal.verify.extender.internal.osgi.commands.VerifyProcessTrackerOSGiCommands.activate(VerifyProcessTrackerOSGiCommands.java:165)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:224)
          at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)
          at org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:617)
          at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:501)
          at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:302)
          at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:294)
          at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:297)
          at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:108)
          at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:906)
          at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:879)
          at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:748)
          at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1012)
          at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:968)
          at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1215)
          at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1136)
          at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:945)
          at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:881)
          at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1167)
          at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)
          at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
          at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
          at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
          at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
          at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
          at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
          at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
          at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
          at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
          at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482)
          at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1001)
          at com.liferay.registry.internal.RegistryImpl.registerService(RegistryImpl.java:305)
          at com.liferay.portal.tools.DBUpgrader._registerModuleServiceLifecycle(DBUpgrader.java:410)
          at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:106)
      Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: 'HOME-FEATURETTE-3'
          at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4118)
          at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
          at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
          at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
          at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
          at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
          at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
          at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
          at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
          at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
          at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
          at com.liferay.journal.verify.JournalServiceVerifyProcess.updateExpirationDate(JournalServiceVerifyProcess.java:438)
          at com.liferay.journal.verify.JournalServiceVerifyProcess.verifyArticleExpirationDate(JournalServiceVerifyProcess.java:738)
          at com.liferay.journal.verify.JournalServiceVerifyProcess.doVerify(JournalServiceVerifyProcess.java:116)
          at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:70)
          ... 56 more
      

      We use articleIdinstead of id_ and we treat it as a long while it's a String.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                norbert.kocsis Norbert Kocsis
                Reporter:
                norbert.kocsis Norbert Kocsis
                Participants of an Issue:
                Recent user:
                Norbert Kocsis
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 22 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.X EE
                  Master