Hi,

running a current PostgeSQL driver we found that some publisher
transactions are lost, because they run into a java nullpointer
exception.

Working through the trace files we found, that some events on the
publisher have a dest-entry-id xml attribute within the modify right
from the start, and some transactions do not have this xml attribute.

<modify class-name="indirect.usr" *dest-entry-id="34336"* event-id="20"
jdbcerpetrator="ulbtester" jdbc:record-id="20"
src-dn="IDU=4,table=USR,schema=INDIRECT">

All transactions (events) coming along with the dest-entry-id running
into the nullpointer exception and therefore are not processed!

[10/22/15 09:16:31.332]:ULB PT:Found non-class attribute
idmLibraryReaderNo.
[10/22/15 09:16:31.332]:ULB PT:Optimize Modify returned:
[10/22/15 09:16:31.332]:ULB PT:
<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20150417_0410" instance="ULB"
version="4.0.1.0">DirXML Driver for JDBC</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<modify class-name="User" dest-entry-id="34336" event-id="20"
jdbcerpetrator="ulbtester" jdbc:record-id="20"
src-dn="IDU=4,table=USR,schema=INDIRECT">
<association>IDU=4,table=USR,schema=INDIRECT</association>
<modify-attr attr-name="idmLibraryReaderNo">
<add-value>
<value type="string">001701597066</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[10/22/15 09:16:31.334]:ULB PT:No command transformation policies.
[10/22/15 09:16:31.334]:ULB PT:Filtering out notification-only
attributes.
[10/22/15 09:16:31.335]:ULB PT:Pumping XDS to eDirectory.
[10/22/15 09:16:31.335]:ULB PT:
DirXML Log Event -------------------
Driver: \IDMS-DEV\tu-darmstadt\res\DriverSet\ULB
Channel: Publisher
Object: IDU=4,table=USR,schema=INDIRECT
Status: Error
Message: Code(-9010) An exception occurred:
java.lang.NullPointerException

The strange thing is, that we did not found out so far under which
conditions the received xds object contains the dest-entry-id or not!

Regards,

Thorsten


--
tschloesser
------------------------------------------------------------------------
tschloesser's Profile: https://forums.netiq.com/member.php?userid=3232
View this thread: https://forums.netiq.com/showthread.php?t=54634