My Oracle Support Banner

E-CI: Compiling PT 8.59 Java Template Returns " 'catch' without 'try' " Error for CIs with Level 2 Sibling Collections (Doc ID 2874513.1)

Last updated on JANUARY 07, 2025

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.59 to 8.59 [Release 8.4]
Information in this document applies to any platform.

Symptoms

After upgrading to PeopleTools (PT) 8.59.07, the Component Interface (CI) Java API template was generated for a CI (FSCM's DC_PENDITEM_CI in this case) containing level 2 sibling collections in Application Designer. A command prompt window was subsequently opened, and environment variables were set up. When compiling the template class, instead of a successful compilation and .class file being created, the following errors were returned in the command prompt window.



Steps to replicate:

1. In a PT 8.59.xx environment, log into Application Designer, and open a multi-level CI such as FSCM's DC_PENDITEM_CI.
2. Right-click in the CI definition window, and select "Generate Java Template".
3. Ensure that the "Helper" class source files (in the PeopleSoft.Generated.CompIntfc package) have been compiled.
4. Open a command prompt window and navigate to a test directory containing the Java template.
5. Set up the environment variables (e.g. Path and CLASSPATH).
6. Attempt to compile the template source file, and observe the errors above.


Sample Environment:
PT 8.59.07
FSCM 9.20

 

Changes

Upgraded to PT 8.59.xx.

Cause

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
Symptoms
Changes
Cause
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.