Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Deploy Error typeRtaNormalizationRulesDeploy; customer OTB; institution null

    • Article Type: General
    • Product: Primo
    • Product Version: 4

    Problem Symptoms:
    Deploy all failed with the following log messages:
    2013-02-03 05:56:18.243 - Preparing Deploy of Real-Time Normalization rules.
    2013-02-03 05:56:18.386 - Unexpected error deploying Real-Time Normalization rulesjava.lang.NullPointerException
    2013-02-03 05:56:18.386 - at com.exlibris.primo.publish.preprocess.datasource.exporter.DataSourceExporter.dataSource2DOM(DataSourceExporter.java:60)
    2013-02-03 05:56:18.386 - at com.exlibris.primo.publish.preprocess.datasource.exporter.DataSourceExporter.<init>(DataSourceExporter.java:33)
    2013-02-03 05:56:18.386 - at com.exlibris.primo.server.normalization.NormalizationWebSeviceUtil.createRtaSourceRulesConfig(NormalizationWebSeviceUtil.java:129)
    2013-02-03 05:56:18.386 - at com.exlibris.primo.server.normalization.NormalizationWebSeviceUtil.createSubSetPipe(NormalizationWebSeviceUtil.java:117)
    2013-02-03 05:56:18.386 - at com.exlibris.primo.server.normalization.NormalizationWebSeviceUtil.refreshSubPipeConfiguration(NormalizationWebSeviceUtil.java:64)
    2013-02-03 05:56:18.386 - at com.exlibris.primo.admin.web.deployall.impl.v4.RtaNormalizationRulesDeploy$1.doInTransaction(RtaNormalizationRulesDeploy.java:58)
    2013-02-03 05:56:18.386 - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
    2013-02-03 05:56:18.386 - at com.exlibris.primo.admin.web.deployall.impl.v4.RtaNormalizationRulesDeploy.deploy(RtaNormalizationRulesDeploy.java:40)
    2013-02-03 05:56:18.386 - at com.exlibris.common.deploy.impl.DeployImpl.deployCustomer(DeployImpl.java:74)
    2013-02-03 05:56:18.386 - at com.exlibris.common.deploy.impl.DeployImpl.executeDeploy(DeployImpl.java:50)
    2013-02-03 05:56:18.386 - at com.exlibris.common.deploy.impl.DeployRun.call(DeployRun.java:130)
    2013-02-03 05:56:18.386 - at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2013-02-03 05:56:18.386 - at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    2013-02-03 05:56:18.386 - at com.exlibris.common.deploy.impl.DeployFutureTask.run(DeployFutureTask.java:160)
    2013-02-03 05:56:18.386 - at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2013-02-03 05:56:18.386 - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    2013-02-03 05:56:18.386 - at java.lang.Thread.run(Thread.java:662)
    2013-02-03 05:56:18.387 - DeployImpl - LogEndAction - Done executing deploy: Deploy Info:id:4b6dfca7-e85e-4b2e-baa3-7e6a98e8b814; typeRtaNormalizationRulesDeploy; customer OTB; institution null

    Cause:
    Some lines in a mapping table refer to non-existent institutions.

    Resolution:
    1. Go to Advanced Configuration > All Mapping Tables > Installation > Back Office > Real-Time Availability (using normalization rules) and mark any lines that are not in active use with Active=N.
    2. Save and deploy.
    This should result in some lines showing one or both of these error messages: "Mapping Set does not exist in DB" or "Data Source does not exist in DB"
    3. These lines should be deleted.
    4. If clicking on delete results in a message saying that it can't be deleted because it is a duplicate entry, change the owner to OTB and try again.
    5. Save and deploy.

    Category: BO Configuration

    Subject: Normalization Rule Configuration


    • Article last edited: 10/8/2013
    //Feedback