Discussion

Installing hotfix during upgrade of SCMFS

Hi Team,

Upgrading the SCMFS framework to 714 requires an installation of HFix-21732. During this hot fix installation We are facing the below error.

2016-04-20 06:06:07,940 [ PegaRULES-Batch-3] [ STANDARD] [ ] [ PegaRULES:07.10] (ga_importexport_pximportexport) ERROR Administrator@pega.com - ImportArchive: Encountered the following error: A problem occurred.
com.pega.pegarules.pub.PRException: A problem occurred.
From: (B880BE2001014AE2529E41EE9C62198D0)
at com.pega.pegarules.deploy.internal.loaders.SaverLoader.importContents(SaverLoader.java:558)
at com.pega.pegarules.deploy.internal.util.ImportImpl.performImport(ImportImpl.java:888)
at com.pega.pegarules.deploy.internal.util.ImportImpl.performImport(ImportImpl.java:743)
at com.pega.pegarules.deploy.internal.util.ImportImpl.importArchive(ImportImpl.java:700)
at com.pega.pegarules.deploy.internal.util.ImportImpl.importPegaArchive(ImportImpl.java:706)
at com.pega.pegarules.deploy.internal.archive.PegaArchiveAbstract.doImport(PegaArchiveAbstract.java:360)
at com.pegarules.generated.pxImportArchive_071021_tI_7qJ4OCdFAaj__QDX3Eg.pxImportArchive07_10_21(pxImportArchive_071021_tI_7qJ4OCdFAaj__QDX3Eg.java:149)
at com.pegarules.generated.pxImportArchive_071021_tI_7qJ4OCdFAaj__QDX3Eg.invoke(pxImportArchive_071021_tI_7qJ4OCdFAaj__QDX3Eg.java:84)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9017)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pega_importexport_pximportexport.pxImportArchive(pega_importexport_pximportexport.java:282)
at com.pegarules.generated.activity.ra_action_pegarulesmove_zip_to_db_1a8c2a15efecf7c137e6741ac20f3c55.step8_circum0(ra_action_pegarulesmove_zip_to_db_1a8c2a15efecf7c137e6741ac20f3c55.java:919)
at com.pegarules.generated.activity.ra_action_pegarulesmove_zip_to_db_1a8c2a15efecf7c137e6741ac20f3c55.perform(ra_action_pegarulesmove_zip_to_db_1a8c2a15efecf7c137e6741ac20f3c55.java:207)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3510)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:572)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:458)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:257)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:321)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:967)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1266)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1015)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:908)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:684)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532)
at java.lang.Thread.run(Thread.java:744)
Caused by: com.pega.pegarules.pub.PRException: Cannot save instance of class PegaFS-Int-FSF_SAMPLE_CUST; it belongs to fully exposed table PEGADATA.FSF_SAMPLE_CUST in database PegaDATA, but the instance has properties which do not correspond to columns: C_ISLE , C_LEI
From: (B880BE2001014AE2529E41EE9C62198D0)
at com.pega.pegarules.deploy.internal.loaders.SaverLoader.issueCommit(SaverLoader.java:856)
at com.pega.pegarules.deploy.internal.loaders.SaverLoader.importContents(SaverLoader.java:267)
... 28 more
Caused by: com.pega.pegarules.pub.database.BadTableMappingException: Database-BadTableMapping-TooManyProperties
PegaFS-Int-FSF_SAMPLE_CUST
PEGADATA.FSF_SAMPLE_CUST
PegaDATA C_ISLE , C_LEI
From: (B880BE2001014AE2529E41EE9C62198D0)
at com.pega.pegarules.data.internal.access.PageDatabaseMapperImpl.fillInSaveStatementWithoutStream(PageDatabaseMapperImpl.java:1650)
at com.pega.pegarules.data.internal.access.Saver.getStatementWithPrepValues(Saver.java:1707)
at com.pega.pegarules.data.internal.access.Saver.addBatch(Saver.java:975)
at com.pega.pegarules.data.internal.access.Saver.saveInstance(Saver.java:837)
at com.pega.pegarules.data.internal.access.Saver.saveInstance(Saver.java:777)
at com.pega.pegarules.data.internal.access.Committer.performOps(Committer.java:243)
at com.pega.pegarules.data.internal.access.DatabaseImpl.attemptToProcessUpdates(DatabaseImpl.java:2751)
at com.pega.pegarules.data.internal.access.DatabaseImpl.processUpdates(DatabaseImpl.java:2400)
at com.pega.pegarules.data.internal.access.DatabaseImpl.commit(DatabaseImpl.java:2127)
at com.pega.pegarules.deploy.internal.loaders.SaverLoader.issueCommit(SaverLoader.java:850)
... 29 more

I have gone through an article in PDN.

https://pdn.pega.com/support-articles/cannot-save-instance-class-error

As per this article we need to define the external mapping for properties in class.But "PegaFS-Int-FSF_SAMPLE_CUST" is a pega class so we cannot edit it.

Is this the only solution for it or do we have any other hotfix to be installed prior to this?

Regards,

Rakesh

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

April 20, 2016 - 2:56am

Resaving the DADT rule for class "PegaFS-Int-FSF_SAMPLE_CUST" resolved issue.