Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Duplicate
-
Affects Version/s: 1.0.2
-
Fix Version/s: 1.0.3
-
Component/s: Persistence
-
Labels:None
-
Environment:Win XP, Sun JDK 1.6.0_5
-
Testcase included:yes
Description
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.
Attachments
Issue Links
| This issue duplicates: | ||||
| GRAILS-2689 | Domain classes with that have properties of the same class cause grails hibernate to crash on startup |
|
|
|
| This issue is duplicated by: | ||||
| GRAILS-2733 | recursive GORM relationship causes NPE |
|
|
|
Basic patch:
1. prevent reletation cheking on properties of basic type
2. check referenced property class for null