Closed ahonor closed 12 years ago
To reproduce:
See error page:
Error 500: Internal Server Error URI /nodeTypeRelationship/create Class groovy.lang.MissingMethodException Message No signature of method: java.util.ArrayList.entrySet() is applicable for argument types: () values: [] Possible solutions: toSet(), intersect(java.util.Collection), every() Around line 30 of grails-app/views/nodeTypeRelationship/create.gsp 27: <fieldset class="form_footer">28: <g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" />29: </fieldset>30: </g:form>31: </div>32: </body>33:</html> Around line 25 of grails-app/views/nodeTypeRelationship/create.gsp 22: </g:hasErrors>23: <g:form action="save" >24: <fieldset class="form">25: <g:render template="form"/>26: </fieldset>27: <fieldset class="form_footer">28: <g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /> Around line 18 of grails-app/views/nodeTypeRelationship/_form.gsp 15: <g:message code="nodeTypeRelationship.parentCardinality.label" default="Parent Cardinality" />16: 17: </label>18: <span class="styled-select"><g:select name="parentCardinality" from="${cardinality.entrySet()}" optionKey="key" optionValue="value" value="${(params.parentCardinality)?params.parentCardinality:nodeTypeRelationshipInstance.parentCardinality}"/></span>19:</div>20:21:<div class="fieldcontain ${hasErrors(bean: nodeTypeRelationshipInstance, field: 'childCardinality', 'error')} "> Trace Line | Method ->> 30 | runTask in /grails-app/views/nodeTypeRelationship/create.gsp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Caused by GrailsTagException: Error executing tag <g:form>: Error executing tag <g:render>: Error evaluating expression [cardinality.entrySet()] on line [18]: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.entrySet() is applicable for argument types: () values: [] Possible solutions: toSet(), intersect(java.util.Collection), every() ->> 30 | doCall in /grails-app/views/nodeTypeRelationship/create.gsp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Caused by GrailsTagException: Error executing tag <g:render>: Error evaluating expression [cardinality.entrySet()] on line [18]: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.entrySet() is applicable for argument types: () values: [] Possible solutions: toSet(), intersect(java.util.Collection), every() ->> 25 | doCall in /grails-app/views/nodeTypeRelationship/create.gsp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Caused by GroovyPagesException: Error evaluating expression [cardinality.entrySet()] on line [18]: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.entrySet() is applicable for argument types: () values: [] Possible solutions: toSet(), intersect(java.util.Collection), every() ->> 18 | run in /grails-app/views/nodeTypeRelationship/_form.gsp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Caused by InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.entrySet() is applicable for argument types: () values: [] Possible solutions: toSet(), intersect(java.util.Collection), every() ->> 26 | run in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship__form_gsp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 60 | doCall in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship_create_gsp$_run_closure2_closure16 | 65 | doCall in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship_create_gsp$_run_closure2 | 68 | run in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship_create_gsp | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker | 908 | run in '' ^ 680 | run . . in java.lang.Thread Caused by MissingMethodException: No signature of method: java.util.ArrayList.entrySet() is applicable for argument types: () values: [] Possible solutions: toSet(), intersect(java.util.Collection), every() ->> 26 | doCall in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship__form_gsp$_run_closure10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 60 | doCall in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship_create_gsp$_run_closure2_closure16 | 65 | doCall in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship_create_gsp$_run_closure2 | 68 | run in Users_alexh_tmp_yana2_grails_app_views_nodeTypeRelationship_create_gsp | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker | 908 | run in '' ^ 680 | run . . in java.lang.Thread
To reproduce:
See error page: