History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-2713
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Blocker Blocker
Assignee: Graeme Rocher
Reporter: Vladimir Konkov
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Grails

NPE in GrailsDomainConfigurationUtil.isCandidateForOtherSide()

Created: 25/Mar/08 06:21 AM   Updated: 21/Apr/08 03:33 PM
Component/s: Persistence
Affects Version/s: 1.0.2
Fix Version/s: 1.0.3

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive cms.zip (189 kb)
2. Text File GRAILS-2713.patch (2 kb)

Environment: Win XP, Sun JDK 1.6.0_5
Issue Links:
Duplicate

Testcase included: yes


 Description  « Hide
NPE in GrailsDomainConfigurationUtil when it looking for relation candidates. Most of projects that uses JPA approach are broken (all my projects too).
I provide minimal test project.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Vladimir Konkov - 25/Mar/08 07:00 AM
Basic patch:
1. prevent reletation cheking on properties of basic type
2. check referenced property class for null

Jonathan Duty - 21/Apr/08 03:33 PM
I'm also seeing this behavior on 1.0.1