Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9221869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:40:32+00:00 2026-06-18T03:40:32+00:00

This code adds getBean() methods to the classes we are using: clazz.metaClass.getBean = {

  • 0

This code adds getBean() methods to the classes we are using:

    clazz.metaClass.getBean = { String name ->
        return VaadinUtils.getBean(name)
    }
    clazz.metaClass.getBean = { Class type ->
        return VaadinUtils.getBean(type)
    }

It works without problem when the application is started and it also survives few recompilations. Recompilation is done like this:

def reloadedClass = application.classLoader.loadClass(vaadinGrailsClass.clazz.name)

After few recompilations, it says that getBean() method is missing and the exception is thrown (so one has to restart and redeploy the application under development).

Caused by MissingMethodException: No signature of method:
com.myapp.SaveIssueDetailListener.getBean() is applicable for argument types: 
(java.lang.Class) values: [class agiletool.core.IssueService]
Possible solutions: getClass(), getForm(), getAt(java.lang.String)

->> 30   buttonClick in com.myapp.SaveIssueDetailListener$$ENRHmYFM
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
512  receiveEvent in com.vaadin.event.ListenerMethod
164  fireEvent . . . . . in com.vaadin.event.EventRouter
1219     fireEvent in com.vaadin.ui.AbstractComponent
550  fireClick . . . . . in com.vaadin.ui.Button
217  changeVariables in ''
1451     changeVariables . . in com.vaadin.terminal.gwt.server.AbstractCommunicationManager
1399     handleVariableBurst in ''
1318     handleVariables . . in ''
763  doHandleUidlRequest in ''
296  handleUidlRequest . in com.vaadin.terminal.gwt.server.CommunicationManager
501  service in com.vaadin.terminal.gwt.server.AbstractApplicationServlet
191  service . . . . . . in com.vaadin.terminal.gwt.server.GrailsAwareApplicationServlet
886  runTask in java.util.concurrent.ThreadPoolExecutor$Worker
908  run . . . . . . . . in ''
680  run in java.lang.Thread

This is how we call the getBean() method:

public void buttonClick(ClickEvent event) {
    UserService userService = getBean(UserService) //...

Any idea what might be wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:40:33+00:00Added an answer on June 18, 2026 at 3:40 am

    The problem occurs only in old versions of plugin for Vaadin 6. Vaadin plugin (for Vaadin 7) for Grails has been done from scratch and this issue doesn’t exist there.

    More info can be found in related JIRA issue.

    More details about new Vaadin can be found on http://vaadinongrails.com/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

so my code generates like this (when click a it adds active class to
I have JavaScript code that adds and removes classes using the classList object. The
I have this jquery code that adds a class of 'close' and slides in
I have this code which adds a x number of views to a Multiview
so this code here dynamically adds buttons to my wpf windows application. I cant
I have this code, which creates an image, and then adds some effects to
This code gives me this error:Cannot implicitly convert type ArrayList[] to ArrayList[][] at this
In this code, when user adds delete button, raw is being deleted from database,
I have this code, wich adds Node to array and then changes it, the
This code adds the text liked inside div.gdt-starrating : $(a.gdt-starrating).live(click, function() { $(div.gdt-starrating).text(liked); });

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.