ArrayIndexOutOfBoundsException running examples.shard.ContinuousQuery.
----------------------------------------------------------------------

                 Key: ACCUMULO-281
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-281
             Project: Accumulo
          Issue Type: Bug
          Components: docs
            Reporter: David Medinets
            Assignee: Adam Fuchs
            Priority: Minor


If no iteration count is passed to the ContinousQuery program, the following 
exception is thrown:
{noformat}
Thread "org.apache.accumulo.examples.shard.ContinuousQuery" died null
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.accumulo.start.Main$1.run(Main.java:89)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 7
        at 
org.apache.accumulo.examples.shard.ContinuousQuery.main(ContinuousQuery.java:61)
        ... 6 more
{noformat}

The program works if an iteration count is provided.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to