<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 17, 2011, at 6:01 AM, Paul Stoellberger wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">Hi,</span><div style="font-family: Monaco; font-size: 11px; "><br></div><div style="font-family: Monaco; font-size: 11px; ">some users have report the below pasted bug when using saiku (mondrian 3.3-SNAPSHOT). it doesn't always appear, just sometimes.... and in some environments... i couldnt find a clear path to reproduce the problem...</div></div></blockquote><div><br></div><div>I think I've seen a similar problem -- so even though it's not consistently reproducible, I'm sure there's a bug here. Can you log it please.</div><div><br></div><div>I might have fixed it in my current set of changes for monitoring. (I had to do quite a bit of work on connection/statement/execution lifecycle.) But it's still good to have it logged.</div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-family: Monaco; font-size: 11px; ">My assumption is, since statement.end() is called in RolapConnection:642 (see stacktrace) that in case of an error StatementImpl throws an error because the execution hasn't finished</div><div style="font-family: Monaco; font-size: 11px; "><br></div><div style="font-family: Monaco; font-size: 11px; ">What confuses me as well in MondrianOlap4jStatement is that this.execution is never set. only in<font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px; ">&nbsp;start() and in there i cant see how that would ever work by just using that</span></font></div></div></blockquote><div><br></div>I think start() is OK. It first ensures that the statement is not already executing, then marks it as executing by setting the 'execution' field.</div><div><br></div><div>But I can't think what might be cause right now.</div><div><br></div><div>Julian</div></body></html>