I ran into the problem described here:
https://issues.apache.org/jira/browse/DERBY-4027

Apparently the fix is ready. How can I get it? 
It seems that it will be released in 10.5 and 10.4.2.1, but it's not clear to me when those will be available.

Is there a daily build that I can put my hands on?

Thanks!