2449005 - Error uploading Kapsel app files to SMP 3.0. A truncation error was encountered trying to shrink VARCHAR {"feat&' to length 1024. | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2449005 - Error uploading Kapsel app files to SMP 3.0. A truncation error was encountered trying to shrink VARCHAR {"feat&' to length 1024.

Symptom

Error when tried to upload Kapsel application file to SMP Server, SMP version 3.0 SP12 PL02

Error message:
1. Error Code: 20000Call: INSERT INTO SMP_LCM_REVISION (ID, APPKEY, ARCHIVE_SIZE_KB, DESCRIPTION, FEATURES_REQUIRED,
INSTALL_TYPE, LAST_MODIFIED, MIME_TYPE, OWNER, REQUIRED_KAPSEL_VERSION, REVISION, REVISION_DESCRIPTION, STATUS, VERSION)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) bind => [14 parameters bound]Query: InsertObjectQuery(Revision
[appKey=6730335c7a7a4ec18626baa0ce7167ec, revision=-1])

at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commitInternal(EntityTransactionImpl.java:102)

at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:63)
at com.sap.mobile.platform.server.online.common.service.base.AbstractServicePersistenceBase.commitTransaction(AbstractServicePersistenceBase.java:146)
at com.sap.mobile.platform.server.lcmservices.webapps.admin.service.impl.AppServiceImpl.createPlatformRevision(AppServiceImpl.java:1183)
... 700 common frames omittedCaused by: org.eclipse.persistence.exceptions.DatabaseException:

Internal Exception: java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR
'[{"featureName":"Online"},{"featureName":"SBTPlugin"},{"feat&' to length 1024.


Read more...

Environment

  • SMP Server 3.0 SP12 PL02
  • SMP SDK 3.0 SP14 PL03
  • Cordova ios 4.2.1

Product

SAP Mobile Platform 3.0

Keywords

A truncation error was encountered trying to shrink VARCHAR, lenght, 1024, upload Kapsel, application , KBA , MOB-ONP , SAP Mobile Platform on Premise , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.