A generic "Unknown error.Method: ''{0}''', Details:" can occur when you change ownership or delete a model


In SAS® Cost and Profitability Management, the application administrator might be unable to act on an existing model to change its assignment or to delete it. In addition, the log file contains errors similar to the following:

ABMLog_<ModelID>.log

FATAL … Unknown error during execution of function: DeleteModel oppure

FATAL … Unknown error during execution of function: GetModuleInformation

SASCostandProfitabilityManagement8.x.log

ERROR 2023-02-27 11:59:53,043 - getModuleInformation()

com.sas.solutions.abm.server.common.exceptions.ABMException: 'Unknown error.Method: ''{0}''', Details: ''

This problem could be caused by the corruption of the model.abm file associated with the specific model.

Workaround

To circumvent this issue, complete the following steps:

Note: Before completing these steps, create a backup of your models or data in case you need to roll back any changes. 

  1. In the SAS Cost and Profitability Management client, right-click the model you that you cannot modify ► Item Properties ► note the Model ID (for example, M1013).
  2. On the server, go to Config\Lev1\SASApp\ABMServer\Models\<Model ID>\ and find the model.abm file.
  3. Import a new model using data from the problem model or another with the same period or scenario setup to create a new, clean model.abm file.
  4. All users need to log out of SAS Cost and Profitability Management. Then, stop the SAS Object Spawner service (which should close all sessions).
  5. Then, replace the file. Copy the model.abm file from the new model’s folder and replace the one in the affected model’s folder.
  6. Restart the SAS Object Spawner, log back in to SAS Cost and Profitability Management, and try changing ownership or deleting the affected model.