Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces Core, Component Showcase, JBoss 4.0.3.SP1

      Description

      From Component Showcase's logs:

      2009-07-22 18:31:11,146 ERROR [com.icesoft.faces.facelets.D2DFaceletViewHandler] Problem in renderResponse: /WEB-INF/includes/examples/custom/outputMedia.jspx @76,49 source="#{media.source}": Error getting property 'source' from bean of type org.icefaces.application.showcase.view.bean.examples.component.outputMedia.Media: java.lang.NullPointerException
      javax.faces.el.EvaluationException: /WEB-INF/includes/examples/custom/outputMedia.jspx @76,49 source="#{media.source}": Error getting property 'source' from bean of type org.icefaces.application.showcase.view.bean.examples.component.outputMedia.Media: java.lang.NullPointerException
              at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
              at com.icesoft.faces.component.outputmedia.OutputMedia.getAttribute(OutputMedia.java:127)
              at com.icesoft.faces.component.outputmedia.OutputMedia.getSource(OutputMedia.java:60)
              at com.icesoft.faces.component.outputmedia.OutputMediaRenderer.encodeEnd(OutputMediaRenderer.java:101)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
              at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:370)
              at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
              at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
              at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
              at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
              at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:365)
              at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
              at com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:339)
              at com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.writeTabCell(PanelTabSetRenderer.java:977)
              at com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.encodeEnd(PanelTabSetRenderer.java:423)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:528)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
              at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)
              at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
              at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
              at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
              at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:19)
              at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)
              at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)
              at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:28)
              at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
              at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
              at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
              at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:47)
              at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:22)
              at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
              at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:135)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
              at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
              at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
              at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
              at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
              at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
              at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
              at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
              at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
              at org.icefaces.application.showcase.view.bean.examples.component.outputMedia.Media.getSource(Media.java:90)
              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:585)
              at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:99)
              at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
              at com.sun.el.parser.AstValue.getValue(AstValue.java:96)
              at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183)
              at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
              at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
              ... 65 more

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19173 Tue Aug 18 15:41:20 MDT 2009 yip.ng ICE-4749: Added handling of null pointer exception.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/common-src/org/icefaces/application/showcase/view/bean/examples/component/outputMedia/Media.java

          People

          • Assignee:
            yip.ng
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: