it can appear anywhere of the flow service, even : add, map, concat…
When it occurs, the transaction control of database operations in flow service will also lost.
I thought it was caused by insufficient memory of IS. After increasing the memory, the frequency of it decreased, but it still occur occasionally.
Does anyone know the reason? How can we completely solve this problem?
which Messaging Provider are you using?
Broker or UM?
Are there any Fixes applied to your installation?
Regarding database transaction control:
What about using this pattern:
startTransaction
SEQ (Exit on Success)
- SEQ (Exit on Failure)
-- your work here
-- submitTransaction
- SEQ (Exit on Done)
-- getLastError
-- Errorhandling here
-- rollbackTransaction
Did you check if the messages received by the Trigger are correct?
but i don’t think this problem related to the UM. I see lots of the nullPointException in anywhere.
try to imaging that, you wrote a flow service to do a simple concat with two strings, then the concat function throws a nullPointException. at the same time, another service maybe a addInt function throws a nullPointException too.
This problem is very strange, I can only relate it with the JVM or webMethods IS runtime issue.
I can only find the error logs from WMERROR.log file. It occasionally occurs, but it is certain that it’s not related to program logic or data. the data can process successfully if I retry it. And it is no reason a null pointer exception can be thrown.
Your environment doesn’t have the latest fixes. Usually these kind of problems are fixed later by patches. I would install latest fixes and check if it fixes your problem first.