cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2094) SelectById query doesn't work from ROP client with protostuff
Date Fri, 24 Mar 2017 08:52:42 GMT

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

Nikita Timofeev closed CAY-2094.
--------------------------------
       Resolution: Fixed
         Assignee: Nikita Timofeev
    Fix Version/s: 4.0.M6

https://github.com/apache/cayenne/commit/873314765ccf3daf70f98d5ceb3aa1d1661e2fe9

> SelectById query doesn't work from ROP client with protostuff
> -------------------------------------------------------------
>
>                 Key: CAY-2094
>                 URL: https://issues.apache.org/jira/browse/CAY-2094
>             Project: Cayenne
>          Issue Type: Bug
>          Components: ROP
>    Affects Versions: 4.0.M3
>         Environment: protostuff serialization module
>            Reporter: Andrey
>            Assignee: Nikita Timofeev
>             Fix For: 4.0.M6
>
>
> I tried to execute this one on the client side:
> SelectById.query(Contact.class, 1).selectOne(context)
> and have got an exception on server side:
> Caused by: java.lang.NullPointerException
> 	at org.apache.cayenne.query.SelectById.resolveId(SelectById.java:324)
> 	at org.apache.cayenne.query.SelectById.createReplacementQuery(SelectById.java:297)
> 	at org.apache.cayenne.query.IndirectQuery.getReplacementQuery(IndirectQuery.java:98)
> 	at org.apache.cayenne.query.IndirectQuery.getMetaData(IndirectQuery.java:66)
> 	at org.apache.cayenne.access.ClientServerChannelQueryAction.<init>(ClientServerChannelQueryAction.java:59)
> Notice, SelectById.query(Contact.class, contact.objectId).selectOne(context) works well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message