Grails

NPE in GrailsDomainConfigurationUtil.isCandidateForOtherSide()

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker 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.

Issue Links

Activity

Hide
Vladimir Konkov added a comment -

Basic patch:
1. prevent reletation cheking on properties of basic type
2. check referenced property class for null

Show
Vladimir Konkov added a comment - Basic patch: 1. prevent reletation cheking on properties of basic type 2. check referenced property class for null
Hide
Jonathan Duty added a comment -

I'm also seeing this behavior on 1.0.1

Show
Jonathan Duty added a comment - I'm also seeing this behavior on 1.0.1
Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: