Com.sun.faces.saveStateFieldmarker in Portlet page

Hi,
I have a Sun JSF application (version 1.1_02) deployed as a portlet in JBoss Portal server 2.4.1, When I launch the portal, I am getting the following text displayed,
com.sun.faces.saveStateFieldmarker
I don't get this text in the same application that I have deployed in the JBoss App Server 4.0.3 and I have implemented java.io.Serializable interface in all my bean classes, I have tried with both the state saving methods server/client.
Please help me in resolving this issue.
Thanks

That marker will be written out whenever a Form is called.
In the JSP case, the ViewHandler (in 1.2) will replace those markers
with the tree state. It sounds like the Portlet's ViewHandler isn't doing any replacement and thus this marker is present in the ouput.
I'd contact the folks who created the portlet/jsf integration library for assistance.

Similar Messages

  • Com.sun.faces.saveStateFieldMarker after upgrading to JSF 1.1_02

    After upgrading from JSF RI 1.1_01 to 1.1_02 , "com.sun.faces.saveStateFieldMarker" is displayed at the bottom on my jsf-page.
    I scanned the forums and found some threads about this. However, I haven't found a proper solution to the problem. Any ideas?
    Thanks
    /Alex
    By the way, I'm using subviews which, according to other threads, cause this problem?
    Message was edited by:
    alexndr

    Yes, I have read this faq.
    The thing is that I'm saving the state on the server side:
    <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
    </context-param>and this contradicts the first lines in the faq:
    "This message only appears if the state is saved on the client"
    Anyhow, I have gone through the checklist with suggestions and none of them conforms to my project.
    I just found out that I only get this problem using specific Ajax funcionality so I think I will move my question to another forum.
    Thanks.

  • [JSF] com.sun.faces.saveStateFieldMarker

    hi
    iam using folllow libraries
    - myfaces 1.5 and tomahawk 1.5
    - trinidad 1.0.0
    - richfaces 3.0.0
    over the pages i am navigate with panelTabs.
    if start the weba-app i get at the end of first page i get the message "com.sun.faces.saveStateFieldMarker" and i cant navigate to next page.
    in my classpath is also set the jsf-impl and jsf-api (sun jsf ri).
    regards
    mathias

    Hi,
    since most of the components originate from MyFaces I suggest to ask this on their mailing list first.
    I think that it will take longer for us to create a testcase than them (beside of that we are not in control of this software stack).
    So unless you experience issues with JDeveloper - which in this combination I would be very interested in - the problem should be forwarded to Apache MyFaces.
    http://wiki.apache.org/myfaces/FrontPage
    Frank

  • Com.sun.faces.saveStateFieldMarker

    Using JSF2, Primefaces, facelets. Glassfish 3.
    I have a page with a tabset and several tabs.
    When I navigate to the page it displays as expected, however when I change tabs, the new tab is displayed, but I get the text string
    com.sun.faces.saveStateFieldMarker
    displayed at the top of the new tab.
    What causes that and how can I get rid of it?
    Thanks

    BalusC wrote:
    It would be helpful if you didn't ignore the stacktrace and share it with us.Thanks for your response. I don't get any error message. Simply com.sun.faces.saveStateFieldMarker that at the top of my web page and also thelinks in that page is not working.

  • Why is there a string "com.sun.faces.saveStateFieldMarker" on my screen?

    Hi All,
    I am getting the above message i dont know what is causing that error no clue
    Here is my JSP code
    <h:form>
    <%
    //String usergroup=(String)session.getAttribute("usergroup");
    String usergroup="APPLE ADMIN";
    if(SidAccessvaribales.report_acs.containsKey(usergroup))     
    {%>     
    <h:commandLink value="Search" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim>    </f:verbatim>
    <h:commandLink value="New SI" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim>    </f:verbatim>
    <h:commandLink value="Work List" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim>    </f:verbatim>
    <h:commandLink value="Reports" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim>    </f:verbatim>
    <% }else{%>
    <h:commandLink value="Search" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim>    </f:verbatim>
    <h:commandLink value="New SI" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim>    </f:verbatim>
    <h:commandLink value="Worklist" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim>    </f:verbatim>
    <%}
    String usergroup1="User Admin";
    if(usergroup1.equals("User Admin"))
    {%>
    <h:commandLink value="User Admin" styleClass="blueleft_rt" onmouseover="MM_showMenu(window.useradmin,255,95,null,'link2')" onmouseout="MM_startTimeout();"></h:commandLink>
    <%}%>
    </h:form>
    please anybody help..me..........
    Thanks.. in Advance....
    Susy..

    http://www.jsf-faq.com/faqs/faces-misc.html

  • Bug? using f:subview leads to visible string  com.sun.faces.saveStateFieldM

    Hi,
    when I use f:subview instead of f:view the string ' com.sun.faces.saveStateFieldMarker' shows up on my page.
    Is this caused by something I do wrong? Is it a bug?
    Sincerely,
    Joost de Vries

    I have a similar problem. I also figured out, that all static HTML must be enclosed by verbatim tags, but when I click a link in the following form (which is a included subview, in this case the footer.jsp page), I get a nullpointer - exception):
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:loadBundle basename="de.pixxi.resources" var="messages" />
    <!-- NOTICE: all static HTML has to be endclosed by verbatim tags -->
    <h:form>
    <h:commandLink id="de" actionListener="#{methodsBean.chooseLocale}"><h:outputText value="#{messages.german}"/></h:commandLink>
    <f:verbatim> | </f:verbatim>
    <h:commandLink id="en" actionListener="#{methodsBean.chooseLocale}"><h:outputText value="#{messages.english}"/></h:commandLink>     
    <f:verbatim> | </f:verbatim>
    <h:commandLink action="register"><h:outputText value="#{messages.register_for_free}"/></h:commandLink>
    <f:verbatim> | </f:verbatim>
    <h:commandLink action="about"><h:outputText value="#{messages.about}"/></h:commandLink>
    <f:verbatim> | </f:verbatim>
    <h:commandLink action="invite"><h:outputText value="#{messages.invite}"/></h:commandLink>               
    </h:form>
    here the exception:
    java.lang.NullPointerException
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:997)
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1008)
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1008)
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1008)
         com.sun.faces.application.StateManagerImpl.restoreComponentState(StateManagerImpl.java:273)
         com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:186)
         com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:239)
         com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:157)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    Why? Is it not allowed to have a form withina subview??
    Any help is really greatly appreciated. I am already working few weeks around this problem.
    thanx!

  • NullPointerException at com.sun.faces.context.ExternalContextImpl.dispatch?

    Hi All,
    i got this Exception in the log of the application on the application server with big rate
    java.lang.NullPointerException at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    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 javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    any idea???

    Hi guys,
    I'm pretty sure I found the problem.
    If there is a wrong url for a link in your JSF page it will throw this error in the log.
    in my case i was referring a javascript file in the page which doesn't exist at the path.
    So check all of your links on the page to make sure they are right. that should fix the problem.
    atleast it did in my case.
    Thanks
    Praveen
    Message was edited by:
    bpraveen

  • Error com/sun/faces/config/ConfigureListener  when creating/opening project

    Hi
    I have installed creator and everything was working fine. I was able to develop some projects and deployed fine. I have closed my creator and reopened it again. From then it startted giving this problem.
    I am unable to create a new project. When I click on Create New Project button on welcome page, it asks me the project name and the directory. Once I enter the name for the project and click on OK there, nothing comes up and the welcome screen remains there. Now there is a red cross mark at the bottm left that shows com/sun/faces/config/ConfigureListener. It behaves the same even if I try to open an existing project.
    I believe this problem started after I upgraded my patch to 112785-43. But even after I removed this patch nothing happens. Reinstalled few times but still it shows same com/sun/faces/config/ConfigureListener at bottom left corner.
    Any ideas ?
    Thanks
    SR

    Got it finally .. The user settings directory is created as[b] //.Creator/1_0 instead of /.Creator/1_0. I know that I need to remove the folder .Creator/1_0 but could not find in the root directory. Went in to // and found the .Creator folder there. Deleted the folder and reinstalled it..
    -Srinivas

  • Context parameter com.sun.faces.DEFAULT_SUFFIX

    Hi All
    I was wondering about the context parameter com.sun.faces.DEFAULT_SUFFIX. Back when I learned JSF for the first time, together with learning Facelet, we use javax.faces.DEFAULT_SUFFIX context parameter to set to xhtml, as such:
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    Now, I noticed that almost all javax.faces context parameter has been refactored to com.faces.* context parameter, and all have been documented in the wiki here:
    http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI#section-JavaServerFacesRI-WhatContextParametersAreAvailableAndWhatDoTheyDo
    well, all context parameter but DEFAULT_SUFFIX. since all our code in my company uses this. If we omit this context parameter, the code wouldnt work.
    Question:
    1. Why there is no documentation about this context parameter in wiki?
    2 If this context param has been refactored to com.faces.DEFAULT_SUFFIX, why is it when we use com.faces.DEFAULT_SUFFIX, the code would not work, but when we changed back to javax.faces.DEFAULT_SUFFIX it would work.?

    Well, I am using apache tomcat 6.26, below is what I got when starting the app server (I commented out javax.faces.DEFAULT_SUFFIX in web.xml when I started this).
    INFO: JSF1026: [xray] Configuration option 'com.sun.faces.managedBeanFactoryDecoratorClass' not configured
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1018: [xray] Configuration option 'com.sun.faces.STATE_SAVING_METHOD' set to 'server'
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    *INFO: JSF1018: [xray] Configuration option 'com.sun.faces.DEFAULT_SUFFIX' set to '.jsp'*
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1026: [xray] Configuration option 'com.sun.faces.CONFIG_FILES' not configured
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1026: [xray] Configuration option 'com.sun.faces.LIFECYCLE_ID' not configured
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1018: [xray] Configuration option 'com.sun.faces.numberOfViewsInSession' set to '15'
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1018: [xray] Configuration option 'com.sun.faces.numberOfLogicalViews' set to '15'
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1021: [xray] Configuration option 'com.sun.faces.validateXml' - DISABLED
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1021: [xray] Configuration option 'com.sun.faces.verifyObjects' - DISABLED
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1021: [xray] Configuration option 'com.sun.faces.forceLoadConfiguration' - DISABLED
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1021: [xray] Configuration option 'com.sun.faces.disableVersionTracking' - DISABLED
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1021: [xray] Configuration option 'com.sun.faces.enableHtmlTagLibValidator' - DISABLED
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1021: [xray] Configuration option 'com.sun.faces.preferXHTML' - DISABLED
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
    INFO: JSF1021: [xray] Configuration option 'com.sun.faces.compressViewState' - ENABLED
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_20060407) for context '/xray'
    Jul 3, 2010 12:31:24 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_20060407) for context '/xray'
    Jul 3, 2010 12:31:24 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory docs
    Jul 3, 2010 12:31:24 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory examples
    Jul 3, 2010 12:31:25 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory ROOT
    Jul 3, 2010 12:31:25 PM org.apache.coyote.http11.Http11AprProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jul 3, 2010 12:31:25 PM org.apache.coyote.ajp.AjpAprProtocol start
    INFO: Starting Coyote AJP/1.3 on ajp-8009
    Jul 3, 2010 12:31:25 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1789 ms
    Edited by: niner on Jul 2, 2010 11:07 PM

  • Com.sun.faces.lifecycle.ApplyRequestValuesPhase java.lang.IndexOutOfBoundsE

    Dear Members,
    I have a page developed in Oracle ADF Version 10.1.3
    In the page I have a query and results region.
    I am entering the values in the query region and clicking on the search button to populate the results region.
    The results region is getting populated perfectly. But after that when I click on any other button or tab in the page, I am getting the below error. Can any one please help me in resolving this issue. Many thanks in advance.
    4/10/2012 05:57:22 com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
    SEVERE: Index: 1, Size: 1
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
         at java.util.ArrayList.RangeCheck(ArrayList.java:546)
         at java.util.ArrayList.get(ArrayList.java:321)
         at oracle.adf.view.faces.component.StampState.restoreChildStampState(StampState.java:119)
         at oracle.adf.view.faces.component.UIXTable.restoreStampState(UIXTable.java:428)
         at oracle.adf.view.faces.component.UIXCollection._restoreStampState(UIXCollection.java:1069)
         at oracle.adf.view.faces.component.UIXCollection.postRowDataChange(UIXCollection.java:695)
         at oracle.adf.view.faces.component.UIXCollection.setRowIndex(UIXCollection.java:380)
         at oracle.adf.view.faces.component.UIXTable._processStamps(UIXTable.java:499)
         at oracle.adf.view.faces.component.UIXTable.processFacetsAndChildren(UIXTable.java:379)
         at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:142)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:137)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXForm.processDecodes(UIXForm.java:53)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi.
    the error occur always? only when the appmodule is in passivate state?

  • Com.sun.faces.el.impl.parser.ParseException

    hi all;
    i' have encountered an error. Do you have any idea.?
    i think its about jsf syntax , but i couldn't see an syntax fault in jsp file (at least eclipse IDE did not warn me.)
    http://asahin.net
    2006-05-30 14:18:12 StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    com.sun.faces.el.impl.ElException: Encountered "d", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||", "?"]
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:289)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:199)
         at com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:741)
         at com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:291)
         at org.apache.shale.faces.ShaleViewHandler.setupViewController(ShaleViewHandler.java:226)
         at org.apache.shale.faces.ShaleViewHandler.createView(ShaleViewHandler.java:123)
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:285)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sun.faces.el.impl.parser.ParseException: Encountered "d" at line 1, column 36.
    Was expecting one of:
    ">" ...
    "gt" ...
    "<" ...
    "lt" ...
    "==" ...
    "eq" ...
    "<=" ...
    "le" ...
    ">=" ...
    "ge" ...
    "!=" ...
    "ne" ...
    "+" ...
    "div" ...
    "mod" ...
    "and" ...
    "or" ...
    "||" ...
         at com.sun.faces.el.impl.parser.ELParserImpl.generateParseException(ELParserImpl.java:2234)
         at com.sun.faces.el.impl.parser.ELParserImpl.jj_consume_token(ELParserImpl.java:2102)
         at com.sun.faces.el.impl.parser.ELParserImpl.AttrValueExpression(ELParserImpl.java:110)
         at com.sun.faces.el.impl.parser.ELParserImpl.ExpressionString(ELParserImpl.java:50)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:282)
         ... 36 more

    Hello all,
    I face the same problem and as A_SAHIN stated although the jsp page is rendered there exists error messages in log files. Here is some part of the jsp file that cause the exception.
                             <tr>
                                  <td height="3" nowrap="nowrap" valign="top" width="16%"><h:outputLabel
                                       value="Start Date" binding="#{sp$createSAContract.lblstartDate}"
                                       id="lblstartDate" /></td>
                                  <td height="3" valign="top" nowrap="nowrap"><h:inputText
                                       binding="#{sp$createSAContract.txtstartDate}" id="txtstartDate"
                                       style="behavior:url(../resourceSite/htc/DateTime.htc);text-align:right;"
                                       maxlength="15" value="#{sp$createSAContract.generalStartDate}"></h:inputText>
                                  <h:graphicImage url="/resourceSite/images/calendar.gif" alt="Calendar"
                                       binding="#{sp$createSAContract.imgstartDate}" id="imgstartDate"
                                       height="14" width="16" /></td>
                                  <td height="3" nowrap="nowrap" valign="top" width="19%"><h:outputLabel
                                       value="End Date" binding="#{sp$createSAContract.lblendDate}"
                                       id="lblEndDate" /></td>
                                  <td nowrap="nowrap" width="34%" valign="top" height="3"><h:inputText
                                       binding="#{sp$createSAContract.txtendDate}" id="txtendDate"
                                       style="behavior:url(../resourceSite/htc/DateTime.htc);text-align:right;"
                                       maxlength="15" value="#{sp$createSAContract.generalEndDate}" /> <h:graphicImage
                                       url="/resourceSite/images/calendar.gif" alt="Calendar"
                                       binding="#{sp$createSAContract.imgendDate}" id="imgendDate" height="14"
                                       width="16" /></td>
                             </tr>

  • Javax.servlet.ServletException: The message id 'com.sun.faces.MISSING_RESOU

    Hi,
    trying to use the cardemo and jwsdp1.01 plain I've got the following message.
    Same with tomcat 4.1x standalone.
    JDK1.3.1, NT/Win2000/IE5.5-6.0
    Any ideas why ?
    Thanks
    Oliver
    P.S. The same with the other examples
    javax.servlet.ServletException: The message id 'com.sun.faces.MISSING_RESOURCE_ERROR' was not found in the message catalog
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:207)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:376)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:518)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    javax.faces.FacesException: The message id 'com.sun.faces.MISSING_RESOURCE_ERROR' was not found in the message catalog
         at com.sun.faces.context.MessageResourcesImpl.getMessage(MessageResourcesImpl.java:221)
         at com.sun.faces.context.MessageResourcesImpl.getMessage(MessageResourcesImpl.java:208)
         at com.sun.faces.util.Util.getExceptionMessage(Util.java:213)
         at com.sun.faces.util.Util.getExceptionMessage(Util.java:222)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getKeyAndLookupInBundle(HtmlBasicRenderer.java:204)
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.getImageSrc(ButtonRenderer.java:116)
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.encodeEnd(ButtonRenderer.java:231)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:1127)
         at javax.faces.component.UICommand.encodeEnd(UICommand.java:156)
         at javax.faces.webapp.FacesTag.doEndTag(FacesTag.java:278)
         at org.apache.jsp.Storefront$jsp._jspService(Storefront$jsp.java:239)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
         at com.sun.faces.lifecycle.ViewHandlerImpl.renderView(ViewHandlerImpl.java:57)
         at com.sun.faces.lifecycle.JspRenderResponsePhase.execute(JspRenderResponsePhase.java:91)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:259)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:205)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:376)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:518)
         at java.lang.Thread.run(Thread.java:536)
    Java Web Services Developer Pack/1.0_01-fcs

    Do you using a German environment?
    See the FAQ: http://java.sun.com/j2ee/javaserverfaces/faq.html#missing_resource
    Or just add the line: <?xml version="1.0" encoding="iso-8859-1"?>
    at the beginning of the "JSFImplMessages_de.xml" of the "jsf-ri.jar", because it contains non ASCII-7 chars.

  • Com.sun.faces.el.impl.ElException

    Hi all,
    my web app works fine so far with Firefox or NC7 but with IE the server throws the following exception (same thing is happen with Tomcat):
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Encountered "}", expected one of [, , , "true", "false", "null", "(", "-", "not", "!", "empty", ]
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
         sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    com.sun.faces.el.impl.ElException: Encountered "}", expected one of [, , , "true", "false", "null", "(", "-", "not", "!", "empty", ]
         com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:289)
         com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:199)
         com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:741)
         com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:291)
         com.sun.jsfcl.app.ViewHandlerImpl.setupPageBean(ViewHandlerImpl.java:267)
         com.sun.jsfcl.app.ViewHandlerImpl.createView(ViewHandlerImpl.java:126)
         com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)This is happen after clicking on an image hyperlink .
    The code for the image hyperlink component looks like this:
    <h:outputLink binding="#{Index.hyperlinkHome1}" id="hyperlinkHome1"
                                        onclick="window.open('resources/DSSMain.png','newWindow','width=745,height=530')" style="margin-bottom: 10px" styleClass="imagelink">
                                        <h:graphicImage binding="#{Index.image1}" id="image1" style="margin-bottom: 10px; text-align: center" value="resources/DSSMainSmall.png"/>
                                    </h:outputLink>Any help is greatly appreciated.
    Stephan

    In my case it was an IE related problem. I solved it
    by adding
    return falseto the onclick javascript.
    StephanCan you post what it ended up looking like?
    I'm having this same issue and I don't like messing with the underlying javascript unless I am certain of exactly what it should look like.
    In my case I have this:
                            <h:panelGrid binding="#{ImageReports.gridPanel9}" columns="1" id="gridPanel9" styleClass="centeredTextOnly">
                                <h:outputText binding="#{ImageReports.leftBuccalImageOutputText}" id="leftBuccalImageOutputText" style="height: 24px; width: 98px" value="Left Buccal"/>
                                <h:commandButton action="#{ImageReports.leftBuccalImage_action}" binding="#{ImageReports.leftBuccalImage}" id="leftBuccalImage"
                                    style="height: 96px; width: 112px" value="leftBuccalImage"/>
                            </h:panelGrid>

  • Com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class..

    I create a enterprise application using jsf 2.0, ejb3, primefaces 2 and I want to show data in table immediately after ejb call findAll() method. But it's always appear: "can't instantiate class". Here is my code:
    index.xhtml
            <h:form>
                <p:dataTable id="tbl" var="p" value="#{Product.products}" >
                    <p:column>
                        <f:facet name="header">
                            Product Id
                        </f:facet>
                        <h:outputText value="#{p.productID}" />
                    </p:column>
                    <p:column>
                        <f:facet name="header">
                            Product Name
                        </f:facet>
                        <h:outputText value="#{p.productName}" />
                    </p:column>
                    <p:column>
                        <f:facet name="header">
                            Unit Price
                        </f:facet>
                        <h:outputText value="#{p.unitPrice}" />
                    </p:column>
                </p:dataTable>
            </h:form>
    package myEntity;
    @Entity
    @Table(name = "Products")
    @NamedQueries({
        @NamedQuery(name = "Products.*findAll*", query = "SELECT p FROM Products p"),
    public class Products implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @Basic(optional = false)
        @Column(name = "productID")
        private Integer productID;
        @Basic(optional = false)
        @Column(name = "productName")
        private String productName;
        @Basic(optional = false)
        @Column(name = "unitPrice")
        private double unitPrice;
        public Products() {
        public Products(Integer productID) {
            this.productID = productID;
        public Products(Integer productID, String productName, double unitPrice) {
            this.productID = productID;
            this.productName = productName;
            this.unitPrice = unitPrice;
        public Integer getProductID() {
            return productID;
        public void setProductID(Integer productID) {
            this.productID = productID;
        public String getProductName() {
            return productName;
        public void setProductName(String productName) {
            this.productName = productName;
        public double getUnitPrice() {
            return unitPrice;
        public void setUnitPrice(double unitPrice) {
            this.unitPrice = unitPrice;
    package mySessionBean;
    @Stateless
    public class ProductsFacade implements ProductsFacadeLocal {
        @PersistenceContext(unitName = "demoProduct-ejbPU")
        private EntityManager em;
        public List<Products> *findAll*() {
            CriteriaQuery cq = em.getCriteriaBuilder().createQuery();
            cq.select(cq.from(Products.class));
            return em.createQuery(cq).getResultList();
    package myManagedBean;
    @ManagedBean(name="Product")
    @RequestScoped
    public class Product {
        @EJB
        private ProductsFacadeLocal productsFacade;
        private List<Products> products;
        /** Creates a new instance of Product */
        public Product() {
            *products = productsFacade.findAll();*
        public List<Products> getProducts() {
            return products;
        public void setProducts(List<Products> products) {
            this.products = products;
    An Error Occurred:
    Cant instantiate class: myManagedBean.Product.
    +- Stack Trace
    com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class: myManagedBean.Product.
         at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:193)
    Caused by: java.lang.NullPointerException
         at myManagedBean.Product.<init>(Product.java:36)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:188)

    This is just baffling. The OP 'created' an enterprise application, but doesn't know the basics of the basics that is null-references? That is like knowing how to do your taxes without knowing how to add and subtract.

  • Com.sun.faces.el.impl.parser.ParseException on weblogic 10.3.3

    I have a sample web application from ESRI working on tomcat but fails on weblogic 10.3.3. errors are below.
    jsf jars are in web-inf/lib directory of war. also tried..
    <container-descriptor>
         <prefer-web-inf-classes>
         true
         </prefer-web-inf-classes>
         </container-descriptor>
    any help is appreciated.
    thanks!
    Error Message:
    javax.faces.el.ReferenceSyntaxException: (mapContext.attributes.mapEditor.shapeType == \'POINT\')? \'hiddenButton\':\'disabledButton\'
    com.sun.faces.el.impl.parser.ParseException: Encountered "\\" at line 1, column 49.
    Was expecting one of:
    "true" ...
    "false" ...
    "null" ...
    "not" ...
    "empty" ...
         at com.sun.faces.el.impl.parser.ELParserImpl.generateParseException(ELParserImpl.java:2254)
         at com.sun.faces.el.impl.parser.ELParserImpl.jj_consume_token(ELParserImpl.java:2122)
         at com.sun.faces.el.impl.parser.ELParserImpl.ValuePrefix(ELParserImpl.java:782)
         at com.sun.faces.el.impl.parser.ELParserImpl.Value(ELParserImpl.java:721)
         at com.sun.faces.el.impl.parser.ELParserImpl.UnaryExpression(ELParserImpl.java:697)
         at com.sun.faces.el.impl.parser.ELParserImpl.MultiplyExpression(ELParserImpl.java:543)

    That will work only when all the supporting classes are placed inside the WEB-INF/lib directory only in form of Jar files.
    If any one of the Class is being loaded from outside of the WEB-INF/lib jars then you will definately face this issue......
    Example:
    Suppose "com.sun.faces.el.impl.parser.* " classes are present in some other Jar file outside WEB-INF/lib but rest of the JSF Jars and Parser Jars are present inside the WEB-INF/lib directory ..in that case you will see this kind of issue Because the JSF config Parser will change according to the version of JSF and WLS also provides some supporting Jars in "modules/" or "server/lib" or in "common/lib" directories.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic  (Middleware Magic Is here)

Maybe you are looking for

  • How can I capture all CAN traffic in VS2009?

    I am debugging CAN communications in VS2009 having the XNET add-on. Frames send fine. Incoming frames look fine monitored externally, but I get value 0 for all channels from incoming frames, To troubleshoot the issue I would like to see all frames on

  • Am I connected to my Airport Express or Airport Extreme?

    I just set up my Airport Express to extend my AEBS and am not sure which device I am connecting to on my iPad. Is there a way to find this out? I am only getting one bar on the iPad, even though I am sitting ten feet from the Express. The light is a

  • Reverb sound come out from my mac mini

    Hi my mac mini sound output always include sound like reverb/echo . No matter i try phone jack out or usb out to speaker and headphone. its easy to hear the reverb sound when play any sound file(voice over). my mac mini up to date version Please help

  • How to populate SQL Text in auditing table?

    Hi, Only modifying the 'AUDIT_TRAIL' .ora parameter is enough to popoulate SQL text? Plz reply,if you have any concerns. Thanks,

  • FCP FREEZING UP

    Hello everyone...again. Here is my newest problem. My capture window is giving me the preview disabled again. So I did the procedure that seemed to work before... Go to /library/receipts and delete any files that say Quicktime followed by a number e.