Abhijit Sarkar edited a comment on Bug WELD-1606

Upgrading to 2.2.0.Alpha2 fixes the Unit tests but the application remains broken when deployed to Jetty. From the logs, I see both proxies created but not sure if both are needed.

[2014-02-15 20:37:27,765] [TRACE] org.jboss.weld.Bean - WELD-001543: Created Proxy class of type class name.abhijitsarkar.moviemanager.service.search.MovieSearchService$Proxy$_$$_WeldSubclass supporting interfaces [interface groovy.lang.GroovyObject, interface java.io.Serializable, interface org.jboss.weld.interceptor.proxy.LifecycleMixin, interface org.jboss.weld.interceptor.util.proxy.TargetInstanceProxy, interface org.jboss.weld.bean.proxy.ProxyObject]

[2014-02-15 20:37:31,271] [TRACE] org.jboss.weld.Bean - WELD-001543: Created Proxy class of type class name.abhijitsarkar.moviemanager.service.index.MovieIndexService$Proxy$_$$_WeldClientProxy supporting interfaces [interface groovy.lang.GroovyObject, interface java.io.Serializable, interface org.jboss.weld.interceptor.proxy.LifecycleMixin, interface org.jboss.weld.interceptor.util.proxy.TargetInstanceProxy, interface org.jboss.weld.bean.proxy.ProxyObject]

Decompiling the MovieFacade class, I see that the method advancedSearch uses this.movieSearchService. It smells awfully similar to the WELD-1498.

 public Set<MovieRip> advancedSearch(String searchText)
  {
    CallSite[] arrayOfCallSite = $getCallSiteArray(); Query query = (Query)ScriptBytecodeAdapter.castToType(arrayOfCallSite[4].call(this.queryBuilder, searchText), Query.class);

    return (Set)ScriptBytecodeAdapter.castToType(arrayOfCallSite[5].call(this.movieSearchService, query), Set.class); return null;
  }
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira