OS command with "sudo" issued via HOST() built-in fails with FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000 (Doc ID 1907078.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle Forms - Version 11.1.1.2.0 and later
Generic UNIX

Symptoms

Calling Unix OS command via HOST() built-in may fail with:

FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000

When this happens, get more info by modifying the parameter passed to HOST() to redirect the stdout/stderr to a file:

Changes

Deployed the forms application on a new environment.

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