Unable to create Oracle agent from the Databases dashboard. Below error is seen when agent creation is tried.
Error executing script id=system:oracle_installer_apis_database.isAgentExists name="'isAgentExists' from the System module Databases/Oracle/Installer/APIs/Database"
message: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: java.lang.NullPointerException: Cannot get property 'name' on null object
----script start------
/**
* This software is confidential. Quest Software Inc., or one of its subsidiaries, has supplied this software to you
* under terms of a license agreement, nondisclosure agreement or both.
*
* You may not copy, disclose, or use this software except in accordance with those terms.
*
* Copyright 2017 Quest Software Inc. ALL RIGHTS RESERVED.
*
* QUEST SOFTWARE INC. MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
* OR NON-INFRINGEMENT. QUEST SOFTWARE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
* MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
*/
package system._oracle_installer_apis_database.scripts;
import com.quest.qsi.fason.framework.utils.AgentUtils;
import com.quest.qsi.fason.framework.installer.exceptions.EInstallerErrorType;
import java.util.regex.Pattern;
log = org.apache.commons.logging.LogFactory.getLog("script." + functionHelper.getFunctionId());