You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Coke <jo...@myanalytika.com> on 2018/03/26 09:05:02 UTC

ArrayIndexOutOfBoundsException: -1 in IgniteQueryGenerator.getOptions

Hi,
There is a bug when you declare a function in a IgniteRepository without
parameters:
The IgniteQueryGenerator.getOptions function is not validating that the
parameter list can be null. The error is thrown when the application starts
up.

@Query("SELECT sum(vlSale) FROM SalFDetLin")
double calculateTotalSumV();

Something like

@Query("SELECT sum(vlSale) FROM SalFDetLin")
double calculateTotalSumV(int a);

instead works. i'm using 2.4.0 version in both cases.

Regards.

-- 



Carr. Fuencarral, 14-16. 28108 Alcobendas, Madrid
Phone.: +34 91 173 2350

 

*This message and any attached documents are confidential.  They contain 
information that cannot be divulged.  If you have received this message by 
error, please eliminate it from your system and notify the sender by 
resending it to the email from which it came from. Do not copy or divulge 
the message or its contents to other parties. Although we have taken 
reasonable steps to ensure that this communication (including attachments) 
are free from computer virus, you are advised to take your own steps to 
ensure that they are actually virus free.**Thank You.*

 

*Este mensaje y los ficheros anexos son confidenciales. Los mismos 
contienen información reservada que no puede ser difundida. Si usted ha 
recibido este correo por error, tenga la amabilidad de eliminarlo de su 
sistema y avisar al remitente mediante reenvío a su dirección de correo 
electrónico. No deberá copiar el mensaje ni divulgar su contenido a ninguna 
persona. Aunque hemos tomado, razonablemente,todas las precauciones para 
asegurar que este e-mail (incluidos los archivos adjuntos) están libres de 
virus, le reomendamos tome sus propias precauciones para asegurar que este 
e-mail está libre de virus. Gracias.*

Re: ArrayIndexOutOfBoundsException: -1 in IgniteQueryGenerator.getOptions

Posted by "slava.koptilin" <sl...@gmail.com>.
Hello,

It looks like a bug. I've created the following JIRA ticket for that
https://issues.apache.org/jira/browse/IGNITE-8044

Best regards,
Slava.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/