My Oracle Support Banner

Error "java.lang.Exception com.agile.api.pc.UnitOfMeasureValue@XXXXXXX" When Attempting to Retreive and Update Mass Attribute Through Event PX (Doc ID 2758543.1)

Last updated on MARCH 15, 2021

Applies to:

Oracle Agile PLM Framework - Version 9.3.0.1 to 9.3.1.2 [Release 9.3]
Information in this document applies to any platform.

Symptoms

Fails to retrieve Mass attribute in Title Block and update to another one by Update Title Block Event with below error


Error

java.lang.Exception com.agile.api.pc.UnitOfMeasureValue@1114919




Steps

The issue can be reproduced at will with the following steps:

  1. Log into Java Client as admin user
  2. Go to Admin tab > Data Settings > Classes, and create a part subclass starts with: P, i.e. P01
  3. Enable Page Three.List01, and select List:Items
  4. Go to Admin tab > System Settings > Event Management > Event, and create Update Title Block Event with below information:
    Name: Test_UpdatePartMass
    Object Type: Parts
    5. Go to Event Management > Event Handlers, and create Event Handler with below information:
    Event Handler Type: Script PX
    Name: Test_UpdatePartMassEH
    Script:
  5. Go to Event Management > Event Subscribers, and create Event Subscribers with below information:
    Name: Test_UpdatePartMassES
    Event: Test_UpdatePartMass
    Event Handler: Test_UpdatePartMassEH
    Trigger Type: Post
    ExecutionMode: Synchronous
    Error Handling Rule: Continue
  6. Create a new part P01, and set
    Description: TEST MASS
    Mass: 1234
  7. Create a new subclass P02
  8. Edit Page Three.List01, and set P01
  9. Update the Description field of P02 to xxx and Save
  10. Gets error

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
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.