I am facing a typical problem which is as follows--
I have one session bean in my application. Here following
operations are happening ------
1> I am executing one SQL query.
2> inside the loop ==> while(rs.next) {.......}
(a) Create a ValueObject Instance
(b) Retrieving each field value from the resultset, I am putting the value
in the ValueObject calling its respective set methods.
(c)At the end of the loop I am putting each ValueObject instance in one
ArrayList using the .add() method of ArrayList.
3> At the end I am returning the ArrayList containg all the valuObject
instances.
Through step by step debugging ( by printing log statement), I have found that
every thing is working fine EXCEPT step (3). Here I am encountering an runtime
exception as
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated
]
at weblogic.utils.Debug.assertion(Debug.java:47)
at
weblogic.rmi.cluster.BasicReplicaList.reset(BasicReplicaList.java:188)
at
weblogic.rmi.cluster.BasicReplicaHandler.refreshReplicaList(BasicReplica......
................................................................
For the information, I am using both the webServer and ApplicationServer of
WebLogic 8.1.