Headless Build Throwing Exception saxonica (Doc ID 2099340.1)

Last updated on FEBRUARY 01, 2016

Applies to:

Oracle Communications Design Studio - Version 7.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

The automated build failed with the following java exception

  [exec] [studio.buildProject] !ENTRY com.mslv.studio.provisioning
    [exec] [studio.buildProject] !MESSAGE Unexpected Exception
    [exec] [studio.buildProject] !STACK 0
    [exec] [studio.buildProject] java.lang.NoClassDefFoundError: com/saxonica/bytecode/GeneratedCode
    [exec] [studio.buildProject] at java.lang.ClassLoader.defineClass1(Native Method)
    [exec] [studio.buildProject] at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    [exec] [studio.buildProject] at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
    [exec] [studio.buildProject] at net.sf.saxon.java.JavaPlatform$1.findClass(JavaPlatform.java:256)
    [exec] [studio.buildProject] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    [exec] [studio.buildProject] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    [exec] [studio.buildProject] at com.saxonica.bytecode.util.CompilerService.makeClass(CompilerService.java:900)
    [exec] [studio.buildProject] at com.saxonica.bytecode.util.CompilerService.compileToByteCode(CompilerService.java:655)
    [exec] [studio.buildProject] at com.saxonica.expr.ee.OptimizerEE.compileToByteCode(OptimizerEE.java:1362)
    [exec] [studio.buildProject] at net.sf.saxon.query.XQueryExpression.<init>(XQueryExpression.java:104)
    [exec] [studio.buildProject] at net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:183)
    [exec] [studio.buildProject] at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:526)
    [exec] [studio.buildProject] at oracle.communications.studio.xml.XQueryValidator.validate(XQueryValidator.java:46)

Cause

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