5 Replies Latest reply on Aug 14, 2007 2:53 AM by haoues klklk

    Error send script to client for resource org.ajax4jsf.javas

    haoues klklk Newbie

      Hello!

      I had to update the richfaces framework to the 3.1.0 due to many problems of
      "OutOfMemory " in IE6 and to use the news components... but I'm struggling to understand this error when I'm connecting to my application. I've recently changed from richfaces-3.0.2 to 3.1.0 (SNAPSHOT from SVN)... below the stack trace :

      [ScriptRenderer] Error send script to client for resource org.ajax4jsf.javascript.PrototypeScript
      org.ajax4jsf.javascript.JSMin$UnterminatedStringLiteralException
      at org.ajax4jsf.javascript.JSMin.action(JSMin.java:191)
      at org.ajax4jsf.javascript.JSMin.jsmin(JSMin.java:289)
      at org.ajax4jsf.resource.ScriptRenderer.send(ScriptRenderer.java:94)
      at org.ajax4jsf.resource.InternetResourceBase.send(InternetResourceBase.java:373)
      at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:89)
      at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:336)
      at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
      at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
      at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:198)
      at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:259)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      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:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:595)

      Sometimes before it worked but a4j:support not. This is my menu :




      <rich:dropDownMenu value="Members" jointPoint="bl">
      <f:facet name="label">
      <h:panelGrid cellpadding="0" cellspacing="0" columns="2" style="vertical-align:middle">
      <h:graphicImage value="images/member.jpg"/>
      <h:outputText value="Members" />
      </h:panelGrid>
      </f:facet>
      <rich:menuItem value="Add" action="admin_member-edit" actionListener="#{memberEdit.load}">
      <a4j:actionparam name="member_id" value="0" />
      <a4j:actionparam name="member_role_id" value="0" />
      <a4j:support event="onclick" actionListener="#{panelBarMgr.loadParams}">
      <a4j:actionparam name="panel_reset" value="true" />
      <a4j:actionparam name="panel_selected" value="panel0" />
      <a4j:actionparam name="panel_param" value="panel0@label=Add Member" />
      <a4j:actionparam name="panel_param" value="panel1@label=Add Roles" />
      <a4j:actionparam name="panel_param" value="panel0@disabled=false" />
      <a4j:actionparam name="panel_param" value="panel1@disabled=false" />
      </a4j:support>
      </rich:menuItem>
      ....
      </rich:dropDownMenu>

      Thank you in advance for help....