Sunday, July 13, 2014

Re: symbolMap file : wrong source line number ?


Hi Paul,

Thanks for the reply. I managed to get the symbolMap file point to the line of the method that throws the exception by declaring the method in a java body :

 

myLink.addClickHandler(new ClickHandler() {

                                   @Override

                                   public void onClick(ClickEvent event) {

 

Previously I was declaring the clickHandler through the @UiHandler annotation :

 

@UiHandler("myLink ")

            void onMyLinkClick(ClickEvent e) {

 

I guess that confuses the symbolMap process because the line that it then returned did not correspond to anything I can trace back to the method that throws the error.

 

Does someone knows how to make the SymbolMap files correspond to the @UiHandler method ?

Otherwise it is not big deal, I will update my scripts to not use the @UiHandler.

Thomas


It's probably the line number of the start of the method the exception occurred in.

Paul

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment