throw new XAException("end called with no transaction associated");
log.println("end called with no transaction associated: " + id + ", flags: " + flags); (            new Exception()).printStackTrace(); throw new XAException("end called with no transaction associated");
    public void end(Xid id, int flags) throws javax.transaction.xa.XAException {        log.println("End called: " + id);        if (currentTr == null) {            throw new XAException("end called with no transaction associated");        }        if (mcf.lookupXid(id) != currentTr) {            throw new XAException("end called with wrong xid");        }        currentTr = null;    }