Thursday, September 26, 2013

Development mode does not work or does pick up code changes

Dear GWT community members,

I use the latest Eclipse version (4.3) and the latest versions of maven and GWT eclipse plugins. I have a problem with the development mode which does not pick up code changes which I did or fails at startup. I use maven to build my project and deploy it on tomcat 7.

My GWT project compiles with no errors. On clicking the dev mode url (http://localhost:8080/MyModule.jsp?gwt.codesvr=127.0.0.1:9997#!login) in browser I get immediately the following the error: 

[DEBUG] [MyModule] - Validating units:
[TRACE] [MyModule] - Finding entry point classes
[ERROR] [MyModule] - Errors in 'file:/Users/myuser/smis/branches/smis-main-ms2/smis-web-application/src/main/java/com/company/proj/gwt/client/MyModule.java'
[ERROR] [MyModule] - Line 63: No source code is available for type com.company.proj.core.gwt.shared.action.LoadLoggedInUserAction; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 71: No source code is available for type com.company.proj.core.gwt.client.util.StringUtils; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 76: No source code is available for type com.company.proj.core.gwt.shared.action.LoadLoggedInUserResult; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 80: No source code is available for type com.company.proj.core.gwt.shared.dto.UserDto; did you forget to inherit a required module?
[ERROR] [MyModule] - Errors in 'file:/Users/myuser/smis/branches/smis-main-ms2/smis-web-application/src/main/java/com/company/proj/gwt/client/gin/SmisGinjector.java'
[ERROR] [MyModule] - Line 39: No source code is available for type com.company.proj.core.gwt.client.util.LoggedInGatekeeper; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 41: No source code is available for type com.company.proj.core.gwt.client.util.ClientContext; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 42: No source code is available for type com.company.proj.core.gwt.client.widget.element.ElementWidgetBuilder; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 47: No source code is available for type com.company.proj.core.gwt.client.header.HeaderPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 48: No source code is available for type com.company.proj.core.gwt.client.login.LoginPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 49: No source code is available for type com.company.proj.core.gwt.client.mainpage.MainPagePresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 50: No source code is available for type com.company.proj.core.gwt.client.patientfinder.PatientFinderPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 51: No source code is available for type com.company.proj.core.gwt.client.patient.searchresultgrid.SearchResultGridPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 52: No source code is available for type com.company.proj.core.gwt.client.patient.masterdata.MasterDataPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 54: No source code is available for type com.company.proj.core.gwt.client.patient.healthrecord.HealthRecordPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 55: No source code is available for type com.company.proj.core.gwt.client.patient.healthrecord.records.RecordsPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 56: No source code is available for type com.company.proj.core.gwt.client.patient.healthrecord.records.elements.ElementsPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 57: No source code is available for type com.company.proj.core.gwt.client.patient.healthrecord.records.element.ElementPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 58: No source code is available for type com.company.proj.core.gwt.client.patient.healthrecord.records.meeting.MeetingPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 59: No source code is available for type com.company.proj.core.gwt.client.patient.healthrecord.info.InfoPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Line 60: No source code is available for type com.company.proj.core.gwt.client.message.MessagesPresenter; did you forget to inherit a required module?
[ERROR] [MyModule] - Unable to find type 'com.company.proj.gwt.client.MyModule'
[ERROR] [MyModule] - Hint: Previous compiler errors may have made this type unavailable
[ERROR] [MyModule] - Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
[ERROR] [MyModule] - Failed to load module 'MyModule' from user agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36' at localhost:59410

When I somehow manage to launch the development mode, the code changes I've just made, are not seen in the dev mode. The dev mode works but it uses the last compiled by maven version of my project.

Is there any way to force the dev mode to recompile the project each time a new code is saved? It looks that there some problems about the build of the GWT project which result in dev mode failure. Any ideas what could it be? I had the same project configuration in Eclipse 3.7 and the dev mode always run, but I cannot use 3.7 anymore. Can GWT Eclipse plugins cause the issues with dev mode? 

Thank you in advance for any hints.

--
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/groups/opt_out.

synthesizing sounds in GWT application

Hello, 

I wanted to ask whether it would be possible to synthesize sounds in a GWT application (I don't mean playing a sound file of some format, but actually playing a PCM 
signal held by a byte array, or something similar that will allow me to synthesize and manipulate it, or at least to have  the option to play given sounds with pith as parameter). 
If not, would it be possible with JS on HTML5, using JS native interface (I'm not really familiar with JS just yet, sorry)

Thank you

--
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/groups/opt_out.

Re: gwt-unitCache

Where and how can I set this property?

среда, 25 сентября 2013 г., 21:42:36 UTC+3 пользователь Jens написал:
I think you can set the system property gwt.persistentunitcache to false to disable the unit cache.

-- J.

--
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/groups/opt_out.

java.lang.IllegalArgumentException

We are using Gwt with struts and hibernate.

Few of my customers are facing an issue.

This is my call stack, hope you could help me 

          [TP-Processor15] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/application] - Exception while dispatching incoming RPC call
        com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.company.cm.ui.client.model.group.GroupData com.company.cm.ui.client.GroupService.getGroup(java.lang.Integer) throws com.company.cm.ui.client.exception.ServiceException' threw an unexpected exception: java.lang.IllegalArgumentException: [Assertion failed] - this collection must not be empty: it must contain at least 1 element
                at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
                at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
                at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:551)
                at com.company.cm.ui.server.GwtSpringController.processCall(GwtSpringController.java:107)
                at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
                at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
                at com.company.cm.ui.server.GwtSpringController.handleRequest(GwtSpringController.java:88)
                at sun.reflect.GeneratedMethodAccessor944.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
                at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                at com.sun.proxy.$Proxy122.handleRequest(Unknown Source)
                at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
                at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
                at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
                at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
                at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at com.company.cm.ui.server.i18n.filter.I18nFilter.doFilter(I18nFilter.java:37)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at com.company.cm.ui.server.header.filter.ExpiresHeaderFilter.doFilter(ExpiresHeaderFilter.java:65)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at com.integrien.alive.ui.util.MainPortalFilter.doFilter(MainPortalFilter.java:255)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
                at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
                at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
                at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
                at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
                at java.lang.Thread.run(Unknown Source)
        Caused by: java.lang.IllegalArgumentException: [Assertion failed] - this collection must not be empty: it must contain at least 1 element
                at org.springframework.util.Assert.notEmpty(Assert.java:268)
                at org.springframework.util.Assert.notEmpty(Assert.java:280)
                at com.integrien.alive.vm.manager.group.GroupManagerImpl.getGroup(GroupManagerImpl.java:629)
                at sun.reflect.GeneratedMethodAccessor1755.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
                at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:256)
                at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:110)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                at com.sun.proxy.$Proxy107.getGroup(Unknown Source)
                at com.company.cm.ui.server.GroupServiceImpl.getGroup(GroupServiceImpl.java:172)
                at sun.reflect.GeneratedMethodAccessor1759.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
                at org.springframework.aop.interceptor.CustomizableTraceInterceptor.invokeUnderTrace(CustomizableTraceInterceptor.java:256)
                at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:110)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                at com.sun.proxy.$Proxy122.getGroup(Unknown Source)
                at sun.reflect.GeneratedMethodAccessor2580.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
                ... 51 more

                                                                                                              

--
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/groups/opt_out.

Wednesday, September 25, 2013

Nick Cannon, demetria lovato, and 4 others have Tweets for you

     
gwt,
Here's what's trending on Twitter this week.
  gwt
     

Nick Cannon @NickCannon

Find out some of my #Ncredible style secrets with @Esquiremag esquire.com/blogs/mens-fas…

24 Sep

Style Profile: Nick Cannon

The entertainer and business multi-hyphenate tells us how he dresses now

Nick Cannon @NickCannon

#NickCannonRocks Times Square for @StMarysKidsNY. October 3 @HardRockCaféNYC. Be there! Tickets at bit.ly/1dDvLVo

24 Sep

About

St. Mary's Healthcare System for Children is committed to improving the health and quality of life for children and families with special needs. St. Mary's Healthcare System is one of only a handfu...

Nick Cannon @NickCannon

The @MalariaNoMore #PowerofOne campaign is live! Use code POWER1-NOW ths wk to save a child's life from #malaria act.po1.org

24 Sep

Malaria No More - Power of One

Use your promo code to sign up and one life-saving test and treatment will be sent to Africa. That's the Power of

demetria lovato @ddlovato

24 Sep

#bored

Login or sign up to view Kred details and vote on this user. Gender: Female | Age: 21 | Views: 6,326,295

Kevin Hart @KevinHart4real

If ur tired of @NickCannon & his tight ass suits with the vest to match retweet this ASAP! Stop dressing like a DEACON at a failing church

24 Sep

1

Retweet

Freeway Ricky Ross @FreewayRicky

@NickCannon @ArsenioHall salute 2 both my nephews for the love tonight on the SHOW #THEREAL pic.twitter.com/1dXIwSmux5

24 Sep

1

Retweet

Tracy H. Nguyen @TracyHNguyen

23 Sep

1

Retweet

♫MUSIC IS MY DRUG♫ @patricialynn757

@NickCannon ♥ Me love it Nick "Me SEXY" You rocked the house! You go wit your SEXY A$$ ♥ youtu.be/8U8gdiUcppA

24 Sep

1

Retweet

Don't miss out. Stay up to date on what's happening.
Go to Twitter