Affects Version/s: 1.6, 1.6.1, 1.5.8, 1.6.2
Fix Version/s: None
Environment:Mac OSX, JDK 1.5
Going through the upgrade from 1.0.3 to 1.1RC2, my integration tests are failing. It won't compile at all. The exception I receive is the following:
java.lang.TypeNotPresentException: Type INode not present
Upon doing some searching online, I found a Groovy-related issue to this:
At this point, I looked into my service classes. My service classes implement GWT service interfaces and then implements the methods as standard java methods (ie. no groovy "def" terms). For example:
Item and ItemValue classes are located in src/java.
This compiled and tested fine under Grails 1.0.3.
Based on what the above Groovy issue says, it could possibly be an issue with the joint compilation when running "grails test-app". Grails test-app is might not be doing a joint compiling which includes the src/java source files.
My current workaround is to redefine all my service methods to use the "def". This is ok, but since Groovy 1.6 support true generics, Grails should take the opportunity to become fully generics-capable.