Issue Details (XML | Word | Printable)

Key: NUCJPA-187
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jerome Alberto
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus API JPA

Datanucleus in combination with spring-data throws a Nullpointerexception

Created: 05/Sep/12 08:39 PM   Updated: 12/Sep/12 05:00 PM   Resolved: 06/Sep/12 11:00 AM
Component/s: API
Affects Version/s: 3.1.1
Fix Version/s: 3.1.2


 Description  « Hide
class JPAQuery

public Set<Parameter<?>> getParameters()
{
Line 673: a null check for the implicit parameters should be done - otherwise a NPE is thrown when setParameters is not called before.
   Set paramKeys = query.getImplicitParameters().keySet();
...

Andy Jefferson made changes - 06/Sep/12 11:00 AM
Field Original Value New Value
Priority Major [ 3 ] Minor [ 4 ]
Andy Jefferson made changes - 06/Sep/12 11:00 AM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.1.2 [ 11683 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 12/Sep/12 05:00 PM
Status Resolved [ 5 ] Closed [ 6 ]