openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wisneski (JIRA)" <j...@apache.org>
Subject [jira] Closed: (OPENJPA-16) NPE in createQuery for EJB QL with nested correlated subqueries
Date Thu, 01 Feb 2007 01:17:06 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Wisneski closed OPENJPA-16.
---------------------------------

    Resolution: Fixed

This problem has been fixed

> NPE in createQuery for EJB QL with nested correlated subqueries
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-16
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-16
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: query
>            Reporter: David Wisneski
>
>  EJBQL:select c from Customer c where  exists ( select o from Order o where o.cutomer
= c and o.delivered=false  and  
> exists ( select l1 from LineItem l, in(o.lineitems) as l2  where l1=l2 )) 
> partial stack trace is 
> Caused by: java.lang.NullPointerException
> 	at org.apache.openjpa.jdbc.kernel.exps.PCPath.initialize(PCPath.java:359)
> 	at org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression.initialize(CompareEqualExpression.java:64)
> 	at org.apache.openjpa.jdbc.kernel.exps.ContainsExpression.initialize(ContainsExpression.java:56)
> 	at org.apache.openjpa.jdbc.kernel.exps.BindVariableAndExpression.initialize(BindVariableAndExpression.java:49)
> 	at org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initializeJoins(SelectConstructor.java:222)
> 	at org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newJoinsSelect(SelectConstructor.java:166)
> 	at org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectConstructor.java:88)
> 	at org.apache.openjpa.jdbc.kernel.exps.SubQ.appendTo(SubQ.java:198)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message