com.vaadin.event.ListenerMethod$MethodException

Can somebody tell me when this exception is fired?

2014-01-15 15:33:57.404:WARN::/myApplication/1/loginHandler
com.vaadin.event.ListenerMethod$MethodException: Invocation of method onLogin in de.myApplication.views.LoginView$1 failed.
    at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)
    at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
    at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
    at com.vaadin.ui.LoginForm$2.handleParameters(LoginForm.java:103)
    at com.vaadin.ui.Window.handleParameters(Window.java:515)
    at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:528)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

this is my onLogin method:


			public void onLogin(LoginEvent event) {
		        String username = event.getLoginParameter("username");
		        String password = event.getLoginParameter("password");
		        statusIndicator.setEnabled(true);
		        statusIndicator.setVisible(true);
				
				MyApplication.getInstance().getMainWindow().setContent(new MainView();
		    }
		});

There should be another exception in the Logs after that one which mentions the “real” exception. The ListenerMethod-Exception was caused by the one which is logged afterwards.

can somebody tell me where this exception is thrown and how i can catch it?

^^ This will probably help you out Phi lipp. If you want to debug something, use breakpoints (if you’re using Eclipse that is).