My Oracle Support Banner

Getting Error When Trying To Submit A Contract For Approval (Doc ID 2738854.1)

Last updated on DECEMBER 21, 2020

Applies to:

Oracle Fusion Sales for Consumer Goods - Version 11.13.20.10.0 and later
Information in this document applies to any platform.

Goal

On : 11.13.20.10.0 version, Accounts

Getting Error when trying to submit a Contract for Approval


Getting the below error when trying to submit the contract for approval.

Exception in expression "__ORACO__CGContract_c" object function __ORACO__submitContract() : org.codehaus.groovy.control.MultipleCompilationErrorsException : startup failed: General error during class generation: Cannot use return statement with an expression on a method that returns void . At [388:1] sessiondef_oracle_apps_custom___extension___views___ORACO__CGContract_c___ORACO__CGContract_cRowOperations.bcs org.codehaus.groovy.syntax.RuntimeParserException: Cannot use return statement with an expression on a method that returns void . At [388:1] sessiondef_oracle_apps_custom___extension___views___ORACO__CGContract_c___ORACO__CGContract_cRowOperations.bcs at org.codehaus.groovy.classgen.AsmClassGenerator.throwException(AsmClassGenerator.java:648) at org.codehaus.groovy.classgen.asm.StatementWriter.writeReturn(StatementWriter.java:581) at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeReturn(OptimizingStatementWriter.java:319) at org.codehaus.groovy.classgen.AsmClassGenerator.visitReturnStatement(AsmClassGenerator.java:616) at org.codehaus.groovy.ast.stmt.ReturnStatement.visit(ReturnStatement.java:49) at org.codehaus.groovy.classgen.asm.StatementWriter.writeBlockStatement(StatementWriter.java:84) at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeBlockStatement(OptimizingStatementWriter.java:158) at org.codehaus.groovy.classgen.AsmClassGenerator.visitBlockStatement(AsmClassGenerator.java:566) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71) at org.codehaus.groovy.classgen.asm.StatementWriter.writeBlockStatement(StatementWriter.java:84) at org.codehaus.groovy.classgen.asm.OptimizingStatementWriter.writeBlockStatement(OptimizingStatementWriter.java:158) at org.codehaus.groovy.classgen.AsmClassGenerator.visitBlockStatement(AsmClassGenerator.java:566) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.