You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Francisco Javier Cano (JIRA)" <ji...@apache.org> on 2015/03/02 12:42:04 UTC

[jira] [Commented] (METAMODEL-112) query.getSelectClause.getItems returns null list

    [ https://issues.apache.org/jira/browse/METAMODEL-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14343065#comment-14343065 ] 

Francisco Javier Cano commented on METAMODEL-112:
-------------------------------------------------

Hello Kasper,

It looks like a debugger issue with intelliJ IDEA. I put some traces to get the error in the real environment. I'm going to close the issue, in case that I get the issue again I will reopen it, is it OK for you?

Thanks a lot,

> query.getSelectClause.getItems returns null list
> ------------------------------------------------
>
>                 Key: METAMODEL-112
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-112
>             Project: Apache MetaModel
>          Issue Type: Bug
>    Affects Versions: 4.3.2
>            Reporter: Francisco Javier Cano
>            Priority: Minor
>
> Query:
> {code:sql}
> SELECT COUNT(*) FROM film_text;*
> {code}
> Debug:
> {code}
> query.getSelectClause.getItemCount
> -
> 1
> {code}
> {code}
> query.getSelectClause.getItem(0)
> -
> COUNT(*)
> {code}
> {code}
> query.getSelectClause.getItems
> -
> java.lang.NullPointerException
> {code}
> Is this the right behaviour?
> Thanks,



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)