SDK Error 'Unable To Serialize Metadata to File' When Generating Artifact (Doc ID 1309456.1)

Last updated on JUNE 20, 2011

Applies to:

Oracle Utilities SDK - Version: 2.2.0.6 and later   [Release: and later ]
Information in this document applies to any platform.

Goal

The Generate Artifacts item was already on the Run ..Favorites and was not available to add.


Here is the results of generate artifacts.


ERROR (shared.context.ContextLoader) Unable to serialize metadata to file 'D:\spl\CCBDEV1\java\sourcegen\cm\com\splwg\cm\domain\contextManagedObjects.xml'
java.io.FileNotFoundException: D:\spl\CCBDEV1\java\sourcegen\cm\com\splwg\cm\domain\contextManagedObjects.xml (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at etc...

ERROR (tools.artifactgen.ArtifactGenerator) Unable to create context managed objects file
Exception in thread "main" com.splwg.shared.common.LoggedException:
The following stacked messages were reported as the LoggedException was rethrown:
com.splwg.shared.environ.ContextManagedObjectSet.emitFiles(ContextManagedObjectSet.java:388): Unable to create context managed objects file

The root LoggedException was: Unable to serialize metadata to file 'D:\spl\CCBDEV1\java\sourcegen\cm\com\splwg\cm\domain\contextManagedObjects.xml'
at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:198)
at etc...

Caused by: java.io.FileNotFoundException: D:\spl\CCBDEV1\java\sourcegen\cm\com\splwg\cm\domain\contextManagedObjects.xml (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at etc...

Solution

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