When trying to generate my project I get this error (repeated twice in a row), together with an error page that says as follow:
Service descriptor not found: WEB-INF/descr/_access.descr
Details:
- Could not create service 'page1' from class: class com.webratio.rtx.core.DefaultPageService
- Error creating service: page1 - WEB-INF/descr/page1.descr
- java.io.IOException: Service descriptor not found: WEB-INF/descr/_access.descr
- Service descriptor not found: WEB-INF/descr/_access.descr
My domain model seems to be fine and without errors, in the site view I'm trying to generate there's only an empty page.
All of this running on JDK 1.6
The stacktrace is:
-------------------------------------------------------------------------------------------
com.webratio.commons.transform.EvaluateException: Cannot invoke method selectSingleNode() on null object
[occurred at line 9 in Authentication.template]
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:173)
at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:124)
at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:112)
at sun.reflect.GeneratedMethodAccessor1271.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:927)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
at com_webratio_generator_webapp_7_2_12_201603020418_Logic_Main_template_1458985253591.run(com_webratio_generator_webapp_7_2_12_201603020418_Logic_Main_template_1458985253591:414)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:124)
at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:108)
at com.webratio.commons.transform.groovy.Script2$ExecuteTemplateClosure.doCall(Script2.java:104)
at sun.reflect.GeneratedMethodAccessor1082.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:927)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
at com_webratio_generator_webapp_7_2_12_201603020418_WebApp_Main_template_1458985261661.run(com_webratio_generator_webapp_7_2_12_201603020418_WebApp_Main_template_1458985261661:117)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:149)
at com.webratio.ide.deploy.core.jobs.GenerateWebAppJob.doRun(GenerateWebAppJob.java:164)
at com.webratio.ide.deploy.core.jobs.AbstractDeploymentJob.runExternal(AbstractDeploymentJob.java:84)
at com.webratio.commons.mf.jobs.ExternalJob.run(ExternalJob.java:53)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException: Cannot invoke method selectSingleNode() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:784)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
at com_webratio_generator_webapp_7_2_12_201603020418_Logic_Authentication_template_1458985252659.getLoginQuery(com_webratio_generator_webapp_7_2_12_201603020418_Logic_Authentication_template_1458985252659:8)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:112)
at com_webratio_generator_webapp_7_2_12_201603020418_Logic_Authentication_template_1458985252659.run(com_webratio_generator_webapp_7_2_12_201603020418_Logic_Authentication_template_1458985252659:51)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
... 34 more
Thanks!!