You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2015/02/26 13:05: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=14338300#comment-14338300 ] 

Kasper Sørensen commented on METAMODEL-112:
-------------------------------------------

Hmm no that looks wrong in deed. Can you reproduce this in a small unittest or so? Or just provide a code snippet at least.

> 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)