Fixes are available
APAR status
Closed as program error.
Error description
The method IlrSession.getElementDetails does not work as documented anymore and is not able to find an element that is not directly in the baseline, for example, if it is in a different branch. at ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.findCurre ntVersionOf(IlrSessionFacadeImpl.java:3044) at ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.getElemen tDetails(IlrSessionFacadeImpl.java:2984) at ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.getElemen tDetails(IlrSessionFacadeImpl.java:2953) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:88) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:613) at ilog.rules.teamserver.transaction.IlrTransactionalInvocationHand ler.invoke(IlrTransactionalInvocationHandler.java:35) at com.sun.proxy.$Proxy104.getElementDetails(Unknown Source) at ilog.rules.teamserver.model.impl.IlrAbstractSession.getElementDe tails(IlrAbstractSession.java:839) at ilog.rules.teamserver.model.impl.IlrAbstractCachingSession.getEl ementDetails(IlrAbstractCachingSession.java:54) at ilog.rules.teamserver.model.impl.IlrAbstractSession.getElementDe tails(IlrAbstractSession.java:830) at ilog.rules.rts.samples.notification.event.ModelHelper.recordUpda te(ModelHelper.java:65) at ilog.rules.rts.samples.notification.model.NotificationController .onCommitElement(NotificationController.java:92)
Local fix
Redefine a method getDetails in a helper class, as follows: private IlrElementDetails getDetails( IlrElementHandle handle ) { IlrElementDetails details = null; try { details = session.getElementDetails( handle ) ; }catch( IlrObjectNotFoundException e) { try{ details = session.getElementDetailsForThisHandle( handle ); }catch( IlrObjectNotFoundException e1) { e1.printStackTrace(); } } return details; } Invoke this method instead of calling session.getElementDetails(handle) directly.
Problem summary
some element that are not committed are not found using the direct method. It is required to use the session cache for those.
Problem conclusion
the code is modified to fix this issue
Temporary fix
Comments
APAR Information
APAR number
RS01645
Reported component name
WS DECISION CTR
Reported component ID
5725B6900
Reported release
851
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-06-09
Closed date
2014-07-03
Last modified date
2014-07-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
999
Fix information
Fixed component name
WS DECISION CTR
Fixed component ID
5725B6900
Applicable component levels
R851 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.1","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
08 January 2022