EM 12c: Exporting a Patch Oracle Software Deployment Plan with Enterprise Manager 12c Cloud Control emctl Fails With Error: The URN '' is not properly formatted

(Doc ID 2071242.1)

Last updated on NOVEMBER 02, 2015

Applies to:

Enterprise Manager Base Platform - Version and later
Information in this document applies to any platform.


An Enterprise Manager Cloud Control system is in use.

Exporting a Patch Oracle Software deployment plan with emctl results in the following session errors:

emctl partool export -guid 117E568F5D96287BE050030A98900AC9 -file /tmp/exportedDP.par -displayName "User exported DP" -description "Deployment Procedure to be copied to other OMS"

Tue Apr 21 14:03:33 CEST 2015
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Enter Repository password :
Could not locate software library entity:
oracle.sysman.emSDK.swlib.UrnException: The URN '' is not properly formatted
        at oracle.sysman.emSDK.swlib.ProvisioningUrn.getUrnFromString(ProvisioningUrn.java:127)
        at oracle.sysman.emSDK.swlib.ProvisioningUrn.fromString(ProvisioningUrn.java:72)
        at oracle.sysman.emSDK.swlib.URN.fromString(URN.java:121)
        at oracle.sysman.emdrep.jobs.procedure.par.PARFile.extractEntities(PARFile.java:1100)
        at oracle.sysman.emdrep.jobs.procedure.par.PARFile.extractEntitiesAndReplaceURNs(PARFile.java:903)
        at oracle.sysman.emdrep.jobs.procedure.par.PARFile.exportProcedures(PARFile.java:624)
        at oracle.sysman.emdrep.jobs.procedure.par.PARFile.export(PARFile.java:431)
        at oracle.sysman.emdrep.jobs.procedure.par.Main.exportPar(Main.java:610)
        at oracle.sysman.emdrep.jobs.procedure.par.Main.main(Main.java:424)
Caused by: oracle.sysman.emSDK.swlib.UrnException: Expected '6' fields, but received instead '0' fields
        at oracle.sysman.emSDK.swlib.URN.getUrnTypeId(URN.java:245)
        at oracle.sysman.emSDK.swlib.ProvisioningUrn.getUrnFromString(ProvisioningUrn.java:120)
        ... 8 more



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms