4 Replies Latest reply on May 31, 2016 6:42 AM by Hemant Mishra

    NullpointerException on binary image rendering in jboss 7.5 AS

    Hemant Mishra Newbie

      Hi,

       

      We have migrated our GUI from jboss 5.1 EAP to Jboss 7.5 AS, but we want to use existing jboss 5.1 jar's with Jboss 7.5 AS.

      While hitting page, I am rendering byte[] dynamically on GUI, but I am getting below NullPointerException.

      StakeTrace:

      ------------------------------------------------------------------------------------------------------------------------------------------------------------

      18:21:55,676 INFO  [com.globalfoundries.litho.gui.commons.beans.LogManagerBean] (http-localhost/127.0.0.1:8080-4) Preparing chart for schedule run 1152 version 0 ...

      18:21:58,719 INFO  [com.globalfoundries.litho.gui.commons.beans.LogManagerBean] (http-localhost/127.0.0.1:8080-4) Successful: preparing chart for schedule run 1152 version 0 in 3042ms.

      18:21:58,793 SEVERE [facelets.viewhandler] (http-localhost/127.0.0.1:8080-4) Error Rendering View[/pages/lotsChartView.xhtml]: java.lang.NullPointerException

        at org.jboss.seam.ui.graphicImage.GraphicImageRendererBase.doEncodeBegin(GraphicImageRendererBase.java:31) [jboss-seam-ui-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79) [jboss-seam-ui-2.2.2.EAP5.jar:2.2.2.EAP5]

        at javax.faces.component.UIComponentBase.encodeBegin(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:275) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:279) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78) [richfaces-ui-3.3.3.Final.jar:3.3.3.Final]

        at javax.faces.component.UIComponentBase.encodeChildren(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:166) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:124) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:685) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:556) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at javax.faces.component.UIComponent.encodeAll(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]

        at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) [richfaces-api-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at com.sun.faces.lifecycle.RenderResponsePhase.execute(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.lifecycle.LifecycleImpl.render(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at javax.faces.webapp.FacesServlet.service(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at com.globalfoundries.litho.gui.commons.filter.RichFacesFirefox11Filter.doFilter(RichFacesFirefox11Filter.java:26) [classes:]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_66]

       

       

      18:21:58,806 SEVERE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost/127.0.0.1:8080-4) JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /pages/lotsChartView.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@54dfa9b5]

      18:21:58,839 ERROR [org.jboss.seam.exception.Exceptions] (http-localhost/127.0.0.1:8080-4) handled and logged exception: javax.servlet.ServletException

        at javax.faces.webapp.FacesServlet.service(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at com.globalfoundries.litho.gui.commons.filter.RichFacesFirefox11Filter.doFilter(RichFacesFirefox11Filter.java:26) [classes:]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_66]

      Caused by: java.lang.NullPointerException

        at org.jboss.seam.ui.graphicImage.GraphicImageRendererBase.doEncodeBegin(GraphicImageRendererBase.java:31) [jboss-seam-ui-2.2.2.EAP5.jar:2.2.2.EAP5]

        at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79) [jboss-seam-ui-2.2.2.EAP5.jar:2.2.2.EAP5]

        at javax.faces.component.UIComponentBase.encodeBegin(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:275) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:279) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78) [richfaces-ui-3.3.3.Final.jar:3.3.3.Final]

        at javax.faces.component.UIComponentBase.encodeChildren(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:166) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:83) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:157) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:124) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:685) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:556) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at javax.faces.component.UIComponent.encodeAll(Unknown Source) [jsf-api-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]

        at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) [richfaces-api-3.3.3.Final.jar:3.3.3.Final]

        at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

        at com.sun.faces.lifecycle.RenderResponsePhase.execute(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        at com.sun.faces.lifecycle.LifecycleImpl.render(Unknown Source) [jsf-impl-1.2.15.b01-redhat-12.jar:1.2.15.b01-redhat-12]

        ... 38 more


       

       

       

      ------------------------------------------------------------------------------------------------------------------------------------------------------------

      .xhtml Page Code which is rendering binary image:


      upperAxData and chartData datatype is byte[].


      <s:graphicImage id="chartUpperAxis"

        rendered="#{!lotsChartBean.pollEnabled}"

        style="color:white;border:0px;position: fixed;float: left;z-index:100;"

        value="#{lotsChartBean.upperAxData}" />

        <h:panelGroup rendered="#{!lotsChartBean.pollEnabled}">

        <s:graphicImage style="color:white;border:0px;cursor: crosshair"

        id="chart" value="#{lotsChartBean.chartData}"

        usemap="#scheduleChartMap" />

        <map id="scheduleChartMap" name="scheduleChartMap">

        <h:outputText escape="false" value="#{lotsChartBean.htmlMap}" />

        </map>

        </h:panelGroup>


      ------------------------------------------------------------------------------------------------------------------------------------------------------------

       

      Below Jar's I am using with Jboss 7.5 AS.

      Seam jar's:

      ----------------------------------------------------

      jboss-seam 2.2.2 EAP5.jar

      jboss-seam-remoting 2.2.2 EAP5.jar

      jboss-seam-ui 2.2.2 EAP5.jar

      ----------------------------------------------------

      JSFJars:

      JSF api 1.2.12.jar

      ----------------------------------------------------

      Richfaces Jars:

      richfaces-api-3.3.3.Final.jar

      richfaces-impl-3.3.3.Final.jar

      richfaces-ui-3.3.3.Final.jar

      ----------------------------------------------------


      please let me know if you need more information on this to suggest pointers/solution for this problem.


      Thanks and Regard's

      Hemant M.