Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException when executing query with 'RANGE' pattern #6

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Executing a CQELS query with a 'RANGE' pattern but without a corresponding 
'SLIDE' pattern causes a IllegalArgumentException as 
java.util.Timer.schedule(...) is called with a period = 0 which is not allowed. 
Adding a 'SLIDE' pattern resolves this problem, as it changed the period to > 0.

What steps will reproduce the problem?
1. Download and compile current trunk version from SVN
2. Execute CQELS query with 'RANGE' pattern but without 'SLIDE' pattern. For 
example modify the example query 'query1.cqels' by changing the line

STREAM <http://deri.org/streams/rfid> [NOW] 

to 

STREAM <http://deri.org/streams/rfid> [RANGE 1s] 

3. execute example code running modified query with 'Paul Erdoes' as AUTHORNAME.



Original issue reported on code.google.com by [email protected] on 7 Mar 2014 at 10:56

@GoogleCodeExporter
Copy link
Author

Thanks for your report. This problem has been fixed. Now it's ok to use 
TUMBLING and SLIDE keywords.

Original comment by [email protected] on 16 Apr 2014 at 9:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant