Skip to content

MissingMethodException: No signature of method: org.grails.samples.Owner.printHtmlPart() is applicable for argument types: (java.lang.Integer) values: [7] #2

@glyn

Description

@glyn

The following stack trace can be produced by adding one owner (use 'a' for all the fields except the phone number which can be '1'), one pet (named 'a', default species), and one visit (with text content 'v'), and then searching for owners after entering the owner's surname ('a'):

org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: Error executing tag <g:link>: groovy.lang.MissingMethodException: No signature of method: org.grails.samples.Owner.printHtmlPart() is applicable for argument types: (java.lang.Integer) values: [7]

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

    at java.lang.Thread.run(Thread.java:722)

Caused by: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <g:link>: groovy.lang.MissingMethodException: No signature of method: org.grails.samples.Owner.printHtmlPart() is applicable for argument types: (java.lang.Integer) values: [7]

    at gsp_pets4u_ownerselection_gsp$_run_closure2.doCall(gsp_pets4u_ownerselection_gsp.groovy:39)

    at gsp_pets4u_ownerselection_gsp.run(gsp_pets4u_ownerselection_gsp.groovy:56)

    ... 3 more

Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: org.grails.samples.Owner.printHtmlPart() is applicable for argument types: (java.lang.Integer) values: [7]

    ... 5 more

Caused by: groovy.lang.MissingMethodException: No signature of method: org.grails.samples.Owner.printHtmlPart() is applicable for argument types: (java.lang.Integer) values: [7]

    at gsp_pets4u_ownerselection_gsp$_run_closure2_closure4.doCall(gsp_pets4u_ownerselection_gsp.groovy:36)

    ... 5 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions