This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 158476 [details] Netbeans cannot resolve domain class Netbeans cannot resolve domain classes in Grails tests. I have following test void "test deleting deliverySlot deletes deliverySchedule"() { given: def dsl = new DeliverySlot(name: "slot").save(flush: true) def rgn = new Region(name: "region").save(flush: true) def ds = new DeliverySchedule(name: "schedule") ds.region = rgn ds.deliverySlot = dsl ds.save(flush: true) when: DeliverySlot.findById(dsl.id).delete(flush: true) then: !DeliverySlot.exists(dsl.id) !DeliverySchedule.exists(ds.id) } The application is available in github and can be fetched with this link https://github.com/ejaz-ahmed/grails3-cascade-delete. Netbeans screenshot showing this error is also attached.