2 Replies Latest reply: Apr 25, 2013 8:58 AM by 1005118 RSS

    FSM Service

    1005118
      Working on FSM service.
      Implemented two methods exportData()/importData() to export/import data object.
      I have testExport(AM,exportFileLoc,exportCriteria, exportControl) and testExportService(serviceLoc,exportFileLoc,exportCriteria, exportControl) method from MigratorHelper class to test the above method.

      While running testExport() is working and exporting the object to respective exportFileLoc.
      But while running testExportService() its throwing exception as bellow

      Apr 24, 2013 12:08:12 AM oracle.apps.setupHub.remoteApp.log.SetupHubLogger write
      FINEST: Error in export
      java.lang.NullPointerException
           at oracle.apps.setupHub.remoteApp.publicModel.migrator.MigratorWebServiceClient.<init>(MigratorWebServiceClient.java:141)
           at oracle.apps.setupHub.remoteApp.publicModel.migrator.MigratorHelper.runExport(MigratorHelper.java:1052)
           at oracle.apps.setupHub.remoteApp.publicModel.migrator.MigratorHelper.testExportService(MigratorHelper.java:1294)
           at oracle.apps.setupHub.remoteApp.publicModel.migrator.MigratorHelper.testExportService(MigratorHelper.java:1271)
           at oracle.apps.hcm.rates.migrationService.applicationModule.PayRatesMigrationAMImpl.testExport(PayRatesMigrationAMImpl.java:187)
           at oracle.apps.hcm.rates.migrationService.applicationModule.PayRatesMigrationAMImpl.main(PayRatesMigrationAMImpl.java:238)
      Process exited with exit code 0.
        • 1. Re: FSM Service
          Jani Rautiainen-Oracle
          This could be related to security, is user name being passed ? Also is there any errors in the server log ?
          --
          Jani Rautiainen
          Fusion Applications Developer Relations
          https://blogs.oracle.com/fadevrel/
          • 2. Re: FSM Service
            1005118
            Hi Jani,
            The following is my server(Integrated WLS) log.

            <ADFServicePublisher> <afterState> Cannot publish service
            oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during loading Customizations.
                 at oracle.jbo.service.catalog.internal.Helper.getMutableDocument(Helper.java:164)
                 at oracle.jbo.service.catalog.internal.DocumentWrapper.getServiceDocument(DocumentWrapper.java:88)
                 at oracle.jbo.server.svc.ADFServicePublisher.publish(ADFServicePublisher.java:313)
                 at oracle.jbo.server.svc.ADFServicePublisher.afterState(ADFServicePublisher.java:126)
                 at oracle.j2ee.ws.server.provider.weblogic.WLSApplicationLifecycleListener.postStart(WLSApplicationLifecycleListener.java:73)
                 at weblogic.application.internal.flow.BaseLifecycleFlow$PostStartAction.run(BaseLifecycleFlow.java:305)
                 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                 at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:207)
                 at weblogic.application.internal.flow.BaseLifecycleFlow.postStart(BaseLifecycleFlow.java:73)
                 at weblogic.application.internal.flow.TailLifecycleFlow.activate(TailLifecycleFlow.java:33)
                 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
                 at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
                 at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
                 at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
                 at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
            Caused by: oracle.mds.exception.NoTipCustomizationLayerException: MDS-00091: Unable to customize /oracle/apps/meta/adf/catalog/services/PayRatesMigrationService/PayRatesMigrationService.xml, empty or null value for tip customization layer User
                 at oracle.mds.core.MDSSession.getMutableMO(MDSSession.java:4148)
                 at oracle.mds.core.MDSSession.getMutableMO(MDSSession.java:2111)
                 at oracle.jbo.service.catalog.internal.Helper.getMutableDocument(Helper.java:143)
                 ... 30 more
            ## Detail 0 ##
            oracle.mds.exception.NoTipCustomizationLayerException: MDS-00091: Unable to customize /oracle/apps/meta/adf/catalog/services/PayRatesMigrationService/PayRatesMigrationService.xml, empty or null value for tip customization layer User
                 at oracle.mds.core.MDSSession.getMutableMO(MDSSession.java:4148)
                 at oracle.mds.core.MDSSession.getMutableMO(MDSSession.java:2111)
                 at oracle.jbo.service.catalog.internal.Helper.getMutableDocument(Helper.java:143)
                 at oracle.jbo.service.catalog.internal.DocumentWrapper.getServiceDocument(DocumentWrapper.java:88)
                 at oracle.jbo.server.svc.ADFServicePublisher.publish(ADFServicePublisher.java:313)
                 at oracle.jbo.server.svc.ADFServicePublisher.afterState(ADFServicePublisher.java:126)
                 at oracle.j2ee.ws.server.provider.weblogic.WLSApplicationLifecycleListener.postStart(WLSApplicationLifecycleListener.java:73)
                 at weblogic.application.internal.flow.BaseLifecycleFlow$PostStartAction.run(BaseLifecycleFlow.java:305)
                 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                 at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:207)
                 at weblogic.application.internal.flow.BaseLifecycleFlow.postStart(BaseLifecycleFlow.java:73)
                 at weblogic.application.internal.flow.TailLifecycleFlow.activate(TailLifecycleFlow.java:33)
                 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                 at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
                 at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
                 at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
                 at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
                 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
                 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
                 at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
                 at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
                 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

            Edited by: 1002115 on Apr 25, 2013 6:57 AM