0 Replies Latest reply on Jul 4, 2007 7:11 AM by Wassim Ismael

    ajax4jsf deployment problem on Sun Java System Application S

    Wassim Ismael Newbie

      Dear friends

      i'am facing a strange problem when i try to deploy a simple web application
      using ajax4jsf version 1.1.0 or 1.1.1 on sun application server 9.1 (build
      b41d-beta2) also the same application works fine when i use ajax4jsf 1.0.2
      on the same version of the server and its also worked fine with ajax4jsf
      1.1.1 on a Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01)


      please if any one has any idea its urgent

      Regards

      the exception was

      [#|2007-07-04T14:31:54.429+0400|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=66;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=8ae386bc-b95f-4d6d-9761-58ecddf9b321;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@54a835) threw exception
      javax.faces.FacesException: javax.el.ELException: java.lang.NullPointerException
      at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1550)
      at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
      at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
      at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
      at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:256)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
      Caused by: javax.el.ELException: java.lang.NullPointerException
      at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
      at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
      ... 50 more
      Caused by: java.lang.NullPointerException
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:364)
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:343)
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
      at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
      at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:87)
      at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
      ... 56 more
      |#]

      [#|2007-07-04T14:31:54.444+0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=66;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=8ae386bc-b95f-4d6d-9761-58ecddf9b321;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
      javax.el.ELException: java.lang.NullPointerException
      at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
      at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
      at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
      at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
      at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
      at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:256)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
      at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
      Caused by: java.lang.NullPointerException
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:364)
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:343)
      at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
      at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
      at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:87)
      at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
      ... 56 more
      |#]