Strange Runtime Error - Error setting property 'page1' in bean of type null

All I have here is a treenode with its URL set to a web page. When the node is clicked, I get this:
===============================
[#|2006-07-25T09:39:20.204-0600|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=16;|WebModule[/HNESWebApp]org.apache.jasper.JasperException: Error setting property 'page1' in bean of type null
javax.faces.FacesException: org.apache.jasper.JasperException: Error setting property 'page1' in bean of type null
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:327)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
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 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at ccic2s.netsvr.hnes.web.hneswebapp.login.LoginFilter.doFilter(LoginFilter.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
Caused by: org.apache.jasper.JasperException: Error setting property 'page1' in bean of type null
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
... 49 more
|#]
======================
Any ideas?
TIA

Okay, I found it - my bad but this might help you..
Turns out the managed-beans.xml (and possibly other files /directories) under WEB-INF were set to read only due to the CM tool I am using - these files were checked in at one point (probably shouldn't have been). I thought I got them all but had missed a few.
So the moral of the story is beware of setting read-only files!

Similar Messages

  • Error setting property 'html1' in bean of type null

    Dear All;
    I am currently on site, and away from my team, so they send over additional screens, that i treid to add to the project i have with me, i added the model, i add the SRC folder, and the .JSPX pages, only when i run the pages, i get Error setting property 'html1' in bean of type null, i checked previous threads, and i know the error and accordingly i checked that the page def exists, which it does, and that all the managed beans are there, and linked to faces config, which they are, so i am just wondering if any1 has any idea, as to how to make the pages work...
    regards
    Halim

    hi frank,
    I cross checked, all the entries in the bean, with those in the JSPX source code, and chceked in the auto comment of the JSPX page the name of the bean, i have checked the faces config, i am going to remove the the new models and re-add them, just tell me if i need to add any files other than those:
    MODEL X folder, which contains the model
    JSPX folder, which contans the pages
    SRC folder in view controller
    And the faces config to web-inf
    thanks in advance man
    regards
    Halim

  • Please help me! Error setting property 'out' in bean of type null

    I got this "nice" exception 2 days ago, but I realy can't find the problem.
    As you can see next all beans have setters/getters and are initializated.
    Please help me:
    index.jsp:
    f:view>
    <h:dataTable value="#{DataBaseReaderBean.todayArticles}" var="articleBean">
    <h:column>
    <h:outputText binding="#{articleBean.out}"/>
    </h:column>
    </h:dataTable>
    </f:view>
    <faces-config>
    <component>
    <component-type>articleComponentType</component-type>
    <component-class>news.UiArticle</component-class>
    </component>
    <managed-bean>
    <description>
    Reads articles from database
    </description>
    <managed-bean-name>DataBaseReaderBean</managed-bean-name>
    <managed-bean-class>news.DataBaseReaderBean</managed-bean-class>
    <managed-bean-scope>application</managed-bean-scope>
    <managed-property>
    <property-name>todayArticles</property-name>
    <property-class>java.util.ArrayList</property-class>
    <value>#{todayArticles}</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>ArticleBean</managed-bean-name>
    <managed-bean-class>news.ArticleBean</managed-bean-class>
    <managed-bean-scope>none</managed-bean-scope>
    <managed-property>
    <property-name>out</property-name>
    <property-class>javax.faces.component.html.HtmlOutputText</property-class>
    <value>#{out}</value>
    </managed-property>
    </managed-bean>
    <lifecycle/>
    <application>
    <locale-config/>
    </application>
    <factory/>
    </faces-config>
    public class DataBaseReaderBean implements Serializable{
    private ArrayList todayArticles=new ArrayList();
    public DataBaseReaderBean() {
    todayArticles.add(new ArticleBean(new Article("First news","this is my first news","articlesimage/1.jpg","First img"),new Boolean(true)));
    todayArticles.add(new ArticleBean(new Article("Second news","this is my second news","articlesimages/2.jpg","Second img"),new Boolean(true)));
    todayArticles.add(new ArticleBean(new Article("Third news","this is my third news","articlesimages/3.jpg","Third img"),new Boolean(false)));
    todayArticles.add(new ArticleBean(new Article("Last news","this is my last news","articlesimages/4.jpg","Last img"),new Boolean(false)));
    public ArrayList getTodayArticles() {
    return todayArticles;
    public void setTodayArticles(ArrayList todayArticles) {
    this.todayArticles = todayArticles;
    public class ArticleBean implements Serializable {
    private Boolean collapsed;
    private news.UiArticle myUIArticle;
    private Article article;
    private HtmlOutputText out;
    public void setOut(HtmlOutputText out) {
    this.out = out;
    public HtmlOutputText getOut() {
    out.setValue("myText");
    return out;
    public ArticleBean() {
    out=new HtmlOutputText();
    }

    hi frank,
    I cross checked, all the entries in the bean, with those in the JSPX source code, and chceked in the auto comment of the JSPX page the name of the bean, i have checked the faces config, i am going to remove the the new models and re-add them, just tell me if i need to add any files other than those:
    MODEL X folder, which contains the model
    JSPX folder, which contans the pages
    SRC folder in view controller
    And the faces config to web-inf
    thanks in advance man
    regards
    Halim

  • Error setting property x in bean of type a.b.c

    Hi
    I have added to my page sun's tab panel. But when I try to switch the tab and nothing happens. h:messages displays this:
    Error setting property 'notes' in bean of type adminconsole.customer.CustomerDetails Error setting property 'notes' in bean of type adminconsole.customer.CustomerDetails Error setting property 'customerId' in bean of type adminconsole.customer.CustomerDetails Error setting property 'customerId' in bean of type adminconsole.customer.CustomerDetails Error setting property 'limit' in bean of type adminconsole.customer.CustomerDetails Error setting property 'limit' in bean of type adminconsole.customer.CustomerDetails
    But this actually tells me nothing. Still can't locate the problem. Those data are used in following components:
    <ui:staticText binding="#{customer$CustomerDetails.customerIdStaticText}" id="customerIdStaticText" text="#{customer$CustomerDetails.customerId}"/>
    <ui:textArea binding="#{customer$CustomerDetails.notesArea}" id="notesArea" rows="5" style="width: 230px" text="#{customer$CustomerDetails.notes}"/>
    <ui:textField binding="#{customer$CustomerDetails.l}"
    converter="#{customer$CustomerDetails.doubleConverter1}" id="limitText" style="width: 60px"
    text="#{customer$CustomerDetails.limit}" validator="#{customer$CustomerDetails.doubleRangeValidator1.validate}"/>
    I don't what is going on about 'setting property'. Tried to create setCustomerId, but message didn't disappear.
    Regards,
    Michal

    hi frank,
    I cross checked, all the entries in the bean, with those in the JSPX source code, and chceked in the auto comment of the JSPX page the name of the bean, i have checked the faces config, i am going to remove the the new models and re-add them, just tell me if i need to add any files other than those:
    MODEL X folder, which contains the model
    JSPX folder, which contans the pages
    SRC folder in view controller
    And the faces config to web-inf
    thanks in advance man
    regards
    Halim

  • Error testing property 'inputValue' in bean of type null

    Hi, I'm developing two simple pages: List and Edit. When I execute a Submit button to go to Edit page I get the next exception in the page
    exception
    org.apache.jasper.JasperException: javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
    oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    root cause
    javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    com.sun.faces.el.PropertyResolverImpl.isReadOnly(PropertyResolverImpl.java:274)
    oracle.adfinternal.view.faces.model.FacesPropertyResolver.isReadOnly(FacesPropertyResolver.java:124)
    com.sun.faces.el.impl.ArraySuffix.isReadOnly(ArraySuffix.java:236)
    com.sun.faces.el.impl.ComplexValue.isReadOnly(ComplexValue.java:209)
    com.sun.faces.el.ValueBindingImpl.isReadOnly(ValueBindingImpl.java:266)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:211)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.FormElementRenderer.renderAsElement(FormElementRenderer.java:155)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getLabelFor(InputLabelAndMessageRenderer.java:53)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer$Label.getForId(LabelAndMessageRenderer.java:500)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputLabelRenderer.encodeAll(OutputLabelRenderer.java:69)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderLabelCell(LabelAndMessageRenderer.java:222)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:159)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:94)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:246)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeColumnChild(PanelFormRenderer.java:275)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.renderColumn(PanelFormRenderer.java:251)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._renderColumns(PanelFormRenderer.java:545)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._encodeChildren(PanelFormRenderer.java:153)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeAll(PanelFormRenderer.java:69)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
    javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
    oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspx_meth_afh_005fbody_005f0(am_005fprovincia_jspx.java:196)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspx_meth_afh_005fhtml_005f0(am_005fprovincia_jspx.java:148)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspx_meth_f_005fview_005f0(am_005fprovincia_jspx.java:118)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspService(am_005fprovincia_jspx.java:88)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
    oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    In the Tomcat console....
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel makeCurrent
    WARNING: No row found for rowKey:null
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    SEVERE: attribute 'validatorId' is missing
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    WARNING: could not create validator for validatorId:null and binding:#{bindings.ProvId.validator}
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    SEVERE: attribute 'validatorId' is missing
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    WARNING: could not create validator for validatorId:null and binding:#{bindings.ProvNombre.validator}
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    SEVERE: attribute 'validatorId' is missing
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    WARNING: could not create validator for validatorId:null and binding:#{bindings.ProvDescripcion.validator}
    I'm developing with ADF Faces, JDeveloper 10.1.3.4, BC4J, Tomcat 6.0.18 and MySQL. When I set redirect = true in navigation-case (faces-config.xml) the exception dissapear but not WARNING: rowIterator is null message.
    Can anybody help me with this, please?
    Regards

    I'm confused :-(
    first you said the problem is solved, now you state it isn't.
    It looks like you have a problem with your first page. As far as I see it from the stack trace you try to use an iterator on this page which returns no row, but you try to make on the current row.
    Check the binding of the iterator.
    Timo

  • ServletException: Error testing property 'foo' in bean of type null

    Hi,
    JSF is new to me. First test pojects were fine but now i am running into some prolems. maybe you could help. here are my error message, my classes and jsps. If you need more information to solve the porblem please let me know. thanx felix
    javax.servlet.ServletException: Error testing property 'vorname' in bean of type null
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    javax.faces.el.PropertyNotFoundException: Error testing property 'vorname' in bean of type null
         com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
         com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
         com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
         com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:345)
         com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
         javax.faces.component.UIInput.getConvertedValue(UIInput.java:713)
         javax.faces.component.UIInput.validate(UIInput.java:638)
         javax.faces.component.UIInput.executeValidate(UIInput.java:849)
         javax.faces.component.UIInput.processValidators(UIInput.java:412)
         javax.faces.component.UIForm.processValidators(UIForm.java:170)
         javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
         javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
         com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
         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)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    My Start-JSP:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <head>
    Eingabe Person
    </head>
    <body>
    <h3>
    Eingabe Person
    </h3>
    Bitte geben Sie ihre Daten ein:
    <f:view>
    <h:form>
    Vorname: <h:inputText id="vorname" value="#{PersonController.currentPerson.vorname}" />
    Nachname: <h:inputText id="nachname" value="#{PersonController.currentPerson.nachname}" />
    <h:commandButton action="#{PersonController.save}" value="Submit" />
    </h:form>
    </f:view>
    </body>
    </html>
    PersonController:
    package test1;
    import java.util.*;
    import org.hibernate.HibernateException;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.Transaction;
    import org.hibernate.cfg.Configuration;
    import org.hibernate.tool.hbm2ddl.SchemaExport;
    import org.hibernate.Query;
    public class PersonController {
    private SessionFactory aSessionFactory;
    private Person currentPerson=null;
    private List<Person> personList = null;
    private Session session;
    private static final String personConfirm = "personConfirm";
    private static final String test = "test";
    /** Creates a new instance of PersonController */
    public PersonController() {
    personList = new LinkedList<Person>();
    this.setUp();
    public String createPerson(){
    currentPerson = new Person();
    return personConfirm;
    public String test(){
    return test;
    public String save(){
    personList.add(currentPerson);
    Transaction transaction = null;
    transaction = session.beginTransaction();
    session.save(currentPerson);
    transaction.commit();
    return personConfirm;
    public Person getCurrentPerson(){
    return currentPerson;
    public void setCurrentPerson(Person currentPerson){
    this.currentPerson=currentPerson;
    public List<Person> getPersonList(){
    return personList;
    public void setPersonList(List<Person> personList){
    this.personList=personList;
    public void closeSession(){
    session.close();
    protected void setUp(){
    Configuration configuration = new Configuration().configure();
    // SchemaExport export = new SchemaExport(configuration);
    //export.create(false, true);
    aSessionFactory = configuration.buildSessionFactory();
    session = aSessionFactory.openSession();
    public Person loadPerson(long id){
    return (Person)session.load(Person.class, id);     
    Bean Person:
    package test1;
    * @author F.Thomas
    public class Person {
    private long id;
    private String vorname;
    private String nachname;
    /** Creates a new instance of Person */
    public Person() {
    public long getId() {
    return id;
    public void setId(long id) {
    this.id = id;
    public String getVorname() {
    return vorname;
    public void setVorname(String vorname) {
    this.vorname = vorname;
    public String getNachname() {
    return nachname;
    public void setNachname(String nachname) {
    this.nachname = nachname;
    Target JSP:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <head>
    Best�tigung Person
    </head>
    <body>
    <h3>
    Best�tigung Person
    </h3>
    Ergebnis Ihrer Eingabe:
    <f:view>
    <h:form>
    Vorname: <h:outputText value="#{PersonController.currentPerson.vorname}" />
    Nachname: <h:outputText value="#{PersonController.currentPerson.nachname}" />
    <h:commandButton action="success" value="Submit" />
    </h:form>
    </f:view>
    </body>
    </html>
    faces-config.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config>
    <navigation-rule>
    <navigation-case>
    <from-outcome>personConfirm</from-outcome>
    <to-view-id>/person/confirm.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <navigation-case>
    <from-outcome>test</from-outcome>
    <to-view-id>/person/test.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>PersonController</managed-bean-name>
    <managed-bean-class>test1.PersonController</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>Person</managed-bean-name>
    <managed-bean-class>test1.Person</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </faces-config>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <context-param>
    <param-name>com.sun.faces.verifyObjects</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.validateXml</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>Start2</servlet-name>
    <servlet-class>test1.Start2</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>Start3</servlet-name>
    <servlet-class>test1.Start3</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>Start2</servlet-name>
    <url-pattern>/Start2</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>Start3</servlet-name>
    <url-pattern>/Start3</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
         <welcome-file>
    index.jsp
    </welcome-file>
    </welcome-file-list>
    </web-app>

    A quick analysis indicates that perhaps the currentPerson attribute of the PersonController is null at render time.

  • Error setting property in bean of type null

    Hi i have jsf page and input text
    a managed bean with property sum of type float
    i attached this property to the input text:
    <h:inputText id="adr" value="#{userBean.sum}"/>
    but when enter a value and submit the page
    it prints me error in the page:
    Error setting property 'sum' in bean of type null
    any idea?

    The message says that the userBean is null.
    Check your faces-config.xml.

  • Exception:Error getting property 'add' from bean of type sample1.edit

    Hi when i try to build and run the applicaiton it is displaying that build and run is successful. But when i try to access the jsp page through the url then it is showing error as below.
    Exception Details:org.apache.jasper.JasperException
    Error getting property 'add' from bean of type sample1.edit
    Can anyone please help me out from this problem.
    Thank you in Advance.

    I solved the problem. The issue was everytime I was compiling only the JSP and the componenets couldn't recognize the bean methods.
    Now I am running the project after any changes.
    Thanks

  • Error getting property 'lovFieldValue' from bean of type LovItemBean

    Hi Team,
    We are currently using a form with one LOVform.
    I added a new LOVform.
    Now I'm getting this Error:
    500 Internal Server Error
    javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'lovFieldValue' from bean of type oracle.jheadstart.controller.jsf.bean.LovItemBean: java.lang.NullPointerException
    We are using JHeadstart 10.1.3.1.26.
    Where should I look for a cause?
    Should I post the complete trace?
    Thanks in advance.
    Erik

    Steven,
    This is the source:
    <?xml version='1.0' encoding="windows-1252"?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    >
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html id="html">
    <afh:head title="#{createModes.CreateBenchmarks ? nls['INSERT_TITLE_BENCHMARKS'] : nls['VIEW_TITLE_BENCHMARK:#{bindings.BenchmarksClientName}']}" id="head">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/jheadstart/css/jhsStyles.css" type="text/css" id="jhsStyles"/>
    </afh:head>
    <afh:body id="body">
    <af:form id="dataForm" usesUpload='false'>
    <af:region id="pageConfig" regionType="oracle.jheadstart.region.pageConfig" value="#{bindings}"/>
    <afh:script id="hasPendingChanges" partialTriggers="BenchmarksClient" text="hasPendingChanges='#{hasPendingChanges}';"/>
    <af:panelPage title="#{createModes.CreateBenchmarks ? nls['INSERT_TITLE_BENCHMARKS'] : nls['VIEW_TITLE_BENCHMARK:#{bindings.BenchmarksClientName}']}" id="panelPage">
    <f:facet name="brandingAppContextual">
    <af:region id="brandingAppContextual" value="#{bindings}"
    regionType="oracle.jheadstart.region.brandingAppContextual"/>
    </f:facet>
    <f:facet name="branding">
    <af:region id="branding" value="#{bindings}"
    regionType="oracle.jheadstart.region.branding"/>
    </f:facet>
    <f:facet name="menuGlobal">
    <af:region id="menuGlobal" value="#{bindings}"
    regionType="oracle.jheadstart.region.menuGlobal"/>
    </f:facet>
    <!-- DEBUG:BEGIN:BREADCRUMB_AREA : default/pageComponent/breadcrumbArea.vm, nesting level: 2 -->
    <f:facet name="location">
    <af:menuPath var="bc" value="#{jhsBreadcrumbStack}" id="breadcrumbs">
    <f:facet name="nodeStamp">
    <af:commandLink action="#{bc.goToDestination}" text="#{bc.label}"
    immediate="true" onclick="return alertForChanges();" >
    <f:actionListener type="oracle.jheadstart.controller.jsf.listener.DoRollbackActionListener"/>
    <af:resetActionListener/>
    </af:commandLink>
    </f:facet>
    </af:menuPath>
    </f:facet><!-- DEBUG:END:BREADCRUMB_AREA : default/pageComponent/breadcrumbArea.vm, nesting level: 2-->
    <!-- DEBUG:BEGIN:PAGE_MENU : default/misc/menu/pageMenu.vm, nesting level: 2 -->
    <f:facet name="menu1">
    <af:region id="GbpServiceMenu1Tabs" value="#{bindings}" regionType="nl.openi.gbp.view.region.GbpServiceMenu1Tabs">
    <af:attribute name="selectedTab" value="Benchmarks"/>
    </af:region>
    </f:facet>
    <!-- DEBUG:END:PAGE_MENU : default/misc/menu/pageMenu.vm, nesting level: 2-->
    <f:facet name="messages">
    <af:messages id="messages"/>
    </f:facet>
    <!-- DEBUG:BEGIN:FORM_PAGE_CONTENT : default/page/formPageContent.vm, nesting level: 2 -->
    <f:facet name="actions">
    <af:panelButtonBar id="pageButtons">
    <!-- DEBUG:BEGIN:NEW_BUTTON : default/button/newButton.vm, nesting level: 3 -->
    <af:commandButton actionListener="#{bindings.CreateBenchmarks.execute}"
    action="CreateBenchmarks"
    textAndAccessKey="#{nls['NEW_BUTTON_LABEL_BENCHMARKS']}"
    rendered="#{!createModes.CreateBenchmarks }"
    immediate="true" onclick="return alertForChanges();" id="BenchmarksNewButton">
    <f:actionListener type="oracle.jheadstart.controller.jsf.listener.DoRollbackActionListener"/>
    <af:resetActionListener/>
    </af:commandButton>
    <!-- DEBUG:END:NEW_BUTTON : default/button/newButton.vm, nesting level: 3-->
    <!-- DEBUG:BEGIN:DELETE_BUTTON : default/button/deleteButton.vm, nesting level: 3 -->
    <!-- DEBUG:END:DELETE_BUTTON : default/button/deleteButton.vm, nesting level: 3-->
    <!-- DEBUG:BEGIN:SAVE_BUTTON : default/button/saveButton.vm, nesting level: 3 -->
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    action="Commit" onclick="return validateForm('dataForm');"
    textAndAccessKey="#{nls['SAVE_BUTTON_LABEL_BENCHMARKS']}"
    id="BenchmarksSaveButton">
    <af:resetActionListener/>
    </af:commandButton>
    <!-- DEBUG:END:SAVE_BUTTON : default/button/saveButton.vm, nesting level: 3-->
    </af:panelButtonBar>
    </f:facet>
    <!-- DEBUG:BEGIN:FORM_GROUP : default/pageComponent/formGroup.vm, nesting level: 3 -->
    <!-- DEBUG:BEGIN:SEARCH_AREA : default/search/searchArea.vm, nesting level: 4 -->
    <!-- DEBUG:END:SEARCH_AREA : default/search/searchArea.vm, nesting level: 4-->
    <af:panelGroup rendered="#{bindings.BenchmarksIterator.findMode!='true'}" id="BenchmarksFormGroup">
    <af:outputFormatted value="#{nls['NO_ROWS_FOUND']}"
    styleUsage="pageStamp"
    rendered="#{!((bindings.BenchmarksIterator.currentRowIndexInRange!=-1 and bindings.BenchmarksIterator.findMode!='true'))}"
    id="BenchmarksNoRowsFound"/>
    <af:panelGroup rendered="#{(bindings.BenchmarksIterator.currentRowIndexInRange!=-1 and bindings.BenchmarksIterator.findMode!='true')}" id="BenchmarksFormContent" >
    <!-- DEBUG:BEGIN:FORM_BROWSE_BUTTONS : default/pageComponent/formBrowseButtons.vm, nesting level: 4 -->
    <af:region id="formBrowseButtonsBenchmarks"
    value="#{bindings}"
    rendered="#{bindings.BenchmarksIterator.estimatedRowCount>1 and !createModes.CreateBenchmarks and bindings.BenchmarksIterator.currentRowIndexInRange!=-1 and bindings.BenchmarksIterator.findMode!='true'}"
    regionType="oracle.jheadstart.region.formBrowseButtons">
    <af:attribute name="iteratorBinding"
    value="#{bindings.BenchmarksIterator}"/>
    <af:attribute name="firstBinding"
    value="#{bindings.FirstBenchmarks}"/>
    <af:attribute name="previousBinding"
    value="#{bindings.PreviousBenchmarks}"/>
    <af:attribute name="nextBinding"
    value="#{bindings.NextBenchmarks}"/>
    <af:attribute name="lastBinding"
    value="#{bindings.LastBenchmarks}"/>
    </af:region>
    <!-- DEBUG:END:FORM_BROWSE_BUTTONS : default/pageComponent/formBrowseButtons.vm, nesting level: 4-->
    <af:panelForm rows="1" maxColumns="1" width="10%" id="BenchmarksFormItems">
    <!-- DEBUG:BEGIN:FORM_LOV_ITEM : default/item/form/formLovItem.vm, nesting level: 4 -->
    <af:selectInputText id="BenchmarksClient" label="Client" partialTriggers = " BenchmarksClient" showRequired="false" columns="40" maximumLength="35" readOnly="#{!(createModes.CreateBenchmarks)}" value="#{BenchmarksClientLovItem.lovFieldValue}"
    autoSubmit="true"
    immediate="true"
    valueChangeListener="#{BenchmarksClientLovItem.validateWithLov}"
    binding="#{BenchmarksClientLovItem.lovField}"
    action="dialog:Clients" windowHeight="200" windowWidth="600"
    returnListener="#{BenchmarksClientLovItem.returnedFromLov}">
    </af:selectInputText>
    <!-- DEBUG:END:FORM_LOV_ITEM : default/item/form/formLovItem.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksClientName" value="#{bindings.BenchmarksClientName.inputValue}" label="Client Name" partialTriggers = " BenchmarksClient" required="#{bindings.BenchmarksClientName.mandatory}" rows="#{bindings.BenchmarksClientName.displayHeight}" columns="40" maximumLength="50" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksClientContact" value="#{bindings.BenchmarksClientContact.inputValue}" label="Client Contactperson" partialTriggers = " BenchmarksClient" required="#{bindings.BenchmarksClientContact.mandatory}" rows="1" columns="40" maximumLength="240" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksClientContactDetails" value="#{bindings.BenchmarksClientContactDetails.inputValue}" label="Client Contact Details" partialTriggers = " BenchmarksClient" required="#{bindings.BenchmarksClientContactDetails.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksGurIdRequestorOf" value="#{bindings.BenchmarksGurIdRequestorOf.inputValue}" label="GurIdRequestorOf" partialTriggers = " BenchmarksRequestor" required="#{bindings.BenchmarksGurIdRequestorOf.mandatory}" rows="#{bindings.BenchmarksGurIdRequestorOf.displayHeight}" columns="40" readOnly="#{!(createModes.CreateBenchmarks)}" >
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.BenchmarksGurIdRequestorOf.format}"/>
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksLocation" value="" label="Location" required="#{bindings.BenchmarksLocation.mandatory}" rows="#{bindings.BenchmarksLocation.displayHeight}" columns="40" readOnly="true" >
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.BenchmarksLocation.format}"/>
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_DATE_FIELD : default/item/form/formDateField.vm, nesting level: 4 -->
    <af:selectInputDate id="BenchmarksRequiredDelDate" value="#{bindings.BenchmarksRequiredDelDate.inputValue}" label="Required Delivery Date" required="#{bindings.BenchmarksRequiredDelDate.mandatory}" readOnly="#{!(createModes.CreateBenchmarks)}" >
    <af:convertDateTime pattern="#{nls.datepattern}"/>
    </af:selectInputDate>
    <!-- DEBUG:END:FORM_DATE_FIELD : default/item/form/formDateField.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_RADIO_VERTICAL : default/item/form/formRadioVertical.vm, nesting level: 4 -->
    <af:selectOneRadio id="BenchmarksRequestType" value="#{bindings.BenchmarksRequestType.inputValue}" label="Request Type" required="#{bindings.BenchmarksRequestType.mandatory}" readOnly="#{!(createModes.CreateBenchmarks)}" layout="vertical" >
    <!-- DEBUG:BEGIN:STATIC_DOMAIN_OPTIONS : default/item/staticDomainOptions.vm, nesting level: 5 -->
    <af:selectItem id="SiBenchmarksRequestType1" value="A" label="Economic Analysis"/>
    <af:selectItem id="SiBenchmarksRequestType2" value="U" label="Updated Economic Analysis"/>
    <af:selectItem id="SiBenchmarksRequestType3" value="S" label="Special Purpose Benchmark"/>
    <af:selectItem id="SiBenchmarksRequestType4" value="I" label="Economic Indicator"/>
    <!-- DEBUG:END:STATIC_DOMAIN_OPTIONS : default/item/staticDomainOptions.vm, nesting level: 5-->
    </af:selectOneRadio>
    <!-- DEBUG:END:FORM_RADIO_VERTICAL : default/item/form/formRadioVertical.vm, nesting level: 4-->
    </af:panelForm>
    <af:objectSpacer height="10" id="BenchmarksFormRegionsSpacer"/>
    <!-- DEBUG:BEGIN:VERTICAL_REGION_CONTAINER : default/pageComponent/verticalRegionContainer.vm, nesting level: 4 -->
    <af:panelGroup id="BenchmarksRegionsPanelGroup">
    <af:panelGroup id="BenchmarksRegionsrcHorizontalPanelGroup">
    <!-- DEBUG:BEGIN:HORIZONTAL_REGION_CONTAINER : default/pageComponent/horizontalRegionContainer.vm, nesting level: 5 -->
    <afh:tableLayout id="BenchmarksrcHorizontalTableLayout">
    <afh:rowLayout valign="top" id="BenchmarksrcHorizontalRowLayout">
    <afh:cellFormat valign="top" id="BenchmarksrcHorizontalirSearch1Cell">
    <af:panelHeader text="Search Details Primary Function Secondary Function Geography" id="BenchmarksrcHorizontalirSearch1PanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6 -->
    <af:panelForm rows="1" maxColumns="2" width="100%" id="BenchmarksirSearch1PanelForm">
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCupPrimary" value="#{bindings.BenchmarksCupPrimary.inputValue}" label="CUP" required="#{bindings.BenchmarksCupPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCutPrimary" value="#{bindings.BenchmarksCutPrimary.inputValue}" label="CUT" required="#{bindings.BenchmarksCutPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksTnmmPrimary" value="#{bindings.BenchmarksTnmmPrimary.inputValue}" label="TNMM + (Ratio)" required="#{bindings.BenchmarksTnmmPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksResalePrimary" value="#{bindings.BenchmarksResalePrimary.inputValue}" label="Resale Margin" required="#{bindings.BenchmarksResalePrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksGrossPrimary" value="#{bindings.BenchmarksGrossPrimary.inputValue}" label="Gross Margin" required="#{bindings.BenchmarksGrossPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCostPrimary" value="#{bindings.BenchmarksCostPrimary.inputValue}" label="Cost Plus" required="#{bindings.BenchmarksCostPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCupGeography" value="#{bindings.BenchmarksCupGeography.inputValue}" label="" required="#{bindings.BenchmarksCupGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCutGeography" value="#{bindings.BenchmarksCutGeography.inputValue}" label="" required="#{bindings.BenchmarksCutGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksTnmmGeography" value="#{bindings.BenchmarksTnmmGeography.inputValue}" label="" required="#{bindings.BenchmarksTnmmGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksResaleGeography" value="#{bindings.BenchmarksResaleGeography.inputValue}" label="" required="#{bindings.BenchmarksResaleGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksGrossGeography" value="#{bindings.BenchmarksGrossGeography.inputValue}" label="" required="#{bindings.BenchmarksGrossGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCostGeography" value="#{bindings.BenchmarksCostGeography.inputValue}" label="" required="#{bindings.BenchmarksCostGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6-->
    </af:panelHeader>
    </afh:cellFormat>
    <afh:cellFormat valign="top" id="BenchmarksrcHorizontalirTypeOfSaleCell">
    <af:panelHeader text="Type of Sale (Industry / Product)" id="BenchmarksrcHorizontalirTypeOfSalePanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6 -->
    <af:panelForm rows="1" maxColumns="1" width="100%" id="BenchmarksirTypeOfSalePanelForm">
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksWholesaleIndProd" value="#{bindings.BenchmarksWholesaleIndProd.inputValue}" label="Wholesale Distributor" required="#{bindings.BenchmarksWholesaleIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksLimitedIndProd" value="#{bindings.BenchmarksLimitedIndProd.inputValue}" label="Limited Risk Distibutor" required="#{bindings.BenchmarksLimitedIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksAgentIndProd" value="#{bindings.BenchmarksAgentIndProd.inputValue}" label="Agent" required="#{bindings.BenchmarksAgentIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksRetailIndProd" value="#{bindings.BenchmarksRetailIndProd.inputValue}" label="Retail" required="#{bindings.BenchmarksRetailIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksManufactoringIndProd" value="#{bindings.BenchmarksManufactoringIndProd.inputValue}" label="Manufactoring" required="#{bindings.BenchmarksManufactoringIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksRdIndProd" value="#{bindings.BenchmarksRdIndProd.inputValue}" label="R &amp; D" required="#{bindings.BenchmarksRdIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksEngineeringIndProd" value="#{bindings.BenchmarksEngineeringIndProd.inputValue}" label="Engineering" required="#{bindings.BenchmarksEngineeringIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksFinancialIndProd" value="#{bindings.BenchmarksFinancialIndProd.inputValue}" label="Financial" required="#{bindings.BenchmarksFinancialIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksManagementIndProd" value="#{bindings.BenchmarksManagementIndProd.inputValue}" label="Management" required="#{bindings.BenchmarksManagementIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksItIndProd" value="#{bindings.BenchmarksItIndProd.inputValue}" label="IT" required="#{bindings.BenchmarksItIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksHrIndProd" value="#{bindings.BenchmarksHrIndProd.inputValue}" label="HR" required="#{bindings.BenchmarksHrIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksTrainingIndProd" value="#{bindings.BenchmarksTrainingIndProd.inputValue}" label="Training" required="#{bindings.BenchmarksTrainingIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksMarketingIndProd" value="#{bindings.BenchmarksMarketingIndProd.inputValue}" label="Marketing" required="#{bindings.BenchmarksMarketingIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksOtherIndProd" value="#{bindings.BenchmarksOtherIndProd.inputValue}" label="Other" required="#{bindings.BenchmarksOtherIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6-->
    </af:panelHeader>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout>
    <!-- DEBUG:END:HORIZONTAL_REGION_CONTAINER : default/pageComponent/horizontalRegionContainer.vm, nesting level: 5-->
    </af:panelGroup>
    <af:panelHeader text="Comments / Further Information" id="BenchmarksRegionsTypeOfSearch2PanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 5 -->
    <af:panelForm rows="1" maxColumns="1" width="100%" id="BenchmarksTypeOfSearch2PanelForm">
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 6 -->
    <af:inputText id="BenchmarksSearchKeywords" value="#{bindings.BenchmarksSearchKeywords.inputValue}" label="" required="#{bindings.BenchmarksSearchKeywords.mandatory}" rows="2" columns="40" maximumLength="500" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 6-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 5-->
    </af:panelHeader>
    </af:panelGroup>
    <!-- DEBUG:END:VERTICAL_REGION_CONTAINER : default/pageComponent/verticalRegionContainer.vm, nesting level: 4-->
    </af:panelGroup>
    <!-- DEBUG:BEGIN:FORM_GROUP_BUTTONS : default/pageComponent/formGroupButtons.vm, nesting level: 4 -->
    <!-- DEBUG:END:FORM_GROUP_BUTTONS : default/pageComponent/formGroupButtons.vm, nesting level: 4-->
    <af:objectSpacer height="10" id="BenchmarksFormGroupSpacer"/>
    <!-- DEBUG:BEGIN:DETAIL_GROUPS : default/pageComponent/detailGroups.vm, nesting level: 4 -->
    <!-- DEBUG:END:DETAIL_GROUPS : default/pageComponent/detailGroups.vm, nesting level: 4-->
    </af:panelGroup>
    <!-- DEBUG:END:FORM_GROUP : default/pageComponent/formGroup.vm, nesting level: 3-->
    <!-- DEBUG:END:FORM_PAGE_CONTENT : default/page/formPageContent.vm, nesting level: 2-->
    </af:panelPage>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    Happy Eastern!
    Erik

  • Cannot find any information on property  in a bean of type mypackage??

    Hi
    I got an error org.apache.jasper.JasperException: Cannot find any information on property in a bean of type mypackage. I tried to find the solution and found that I need to use the naming convention so I fixed it. But I still got that error. Please help me.
    Here's my Jsp file.
    <%@ taglib prefix="fm" uri="/WEB-INF/matcher.tld"%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <jsp:useBean id="obj" scope="session" class="com.webIndex.match.Matcher"/>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link href="wixIndex.css" rel="stylesheet" type="text/css">
            <title>Web Index</title>
        </head>
         <body>
              <%@ include file="header.html" %>
                 <jsp:setProperty name="obj" property="*" /> 
             <h4>WIX files for your search
                  "<jsp:getProperty name="obj" property="keyword"/>"
             </h4>     
             <h4>  and  
                  "<jsp:getProperty name="obj" property="kwinfo"/>":
             </h4>     
             <br>
              ${fm:Matcher(obj, obj.keyword, obj.kwinfo)}
         </body>
    </html>And here's my first java program.
    public class Matcher {
         public static String match(FindMatch object,
                String keyword, String kwinfo) {
            return object.exact_match(keyword, kwinfo);
             //return keyword;
    }And here's my second Java program.
    public class FindMatch {
         private String keyword;
         private String kwinfo;
         static String refile;
         public FindMatch() {
            keyword = "";
            kwinfo = "";
         public String getKeyword() {
            return keyword;
         public void setKeyword(String keyword) {
            this.keyword = keyword;
         public String getKwinfo(){
              return kwinfo;
         public void setKwinfo(String kwinfo){
              this.kwinfo = kwinfo;
        public String exact_match(String keyword, String kwinfo)  {
        //     do something here
         return refile.toString();
      }And here's my tld:
    <?xml version="1.0" encoding="UTF-8" ?>
    <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
        version="2.0">
        <tlib-version>1.0</tlib-version>
        <short-name>fm</short-name>
        <uri>http://com.webIndex.match.Matcher.tld</uri>
        <function>
            <name>Matcher</name>
            <function-class>
                com.webIndex.match.Matcher
            </function-class>
            <function-signature>
                java.lang.String match(
                    com.webIndex.match.FindMatch,
                    java.lang.String, java.lang.String)
            </function-signature>
        </function>
    </taglib>Thanks!!

    Ok, I 've changed the name of useBean id to 'matcher' and replace every 'obj' with 'matcher'
    But I still got the error.
    And so when I tried to do what you said. I got this error.
    org.apache.jasper.JasperException: An exception occurred processing JSP page /search_result.jsp at line 27
    24:           
    25:           <jsp:setProperty name="matcher" property="*" />
    26:
    27:           <h4>WIX files for your search ${matcher.keyword}</h4>
    28:           <h4>and ${matcher.kwinfo}</h4>
    And actually, my exact_match is not just like that. But I thought that the problem is not concerned with my problem and it's just concerned with jsp, so i skipped it. Here's the actual progam., i mean exact_match() and I skipped other parts coz it said that my post exceeds maximum allowed words.
    package com.webIndex.match;
    public class FindMatch {
         private String keyword;
         private String kwinfo;
         static String refile;
         public FindMatch() {
         public String getKeyword() {
            return keyword;
         public void setKeyword(String keyword) {
            this.keyword = keyword;
         public String getKwinfo(){
              return kwinfo;
         public void setKwinfo(String kwinfo){
              this.kwinfo = kwinfo;
           public String exact_match(String keyword, String kwinfo)  {
        //     String loctest="";
         //     loctest = getClass().getResourceAsStream("/resources/wixIndex.xml").toString();
             String fname ="";
             String allentries="";
             keyword = upperCase(keyword);                
                  try{
                       //String location = directory.getCanonicalPath();
                       //File indexfile = new File(xmlLocation + "wixIndex.xml");
                       //ServletContext application = getServletConfig().getServletContext();
                       //InputStream indexfile = getClass().getResourceAsStream("/resources/wixIndex.xml");
                       //InputStream namefile = getClass().getResourceAsStream("/resources/indexList.xml");
                       File indexfile = new File ("D:\\Documents and Settings\\May\\workspace\\WixFinder\\WebContent\\WEB-INF\\classes\\resources\\wixIndex.xml");
                      File namefile = new File ("D:\\Documents and Settings\\May\\workspace\\WixFinder\\WebContent\\WEB-INF\\classes\\resources\\indexList.xml");
                          DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
                       domFactory.setNamespaceAware(true);
                       DocumentBuilder builder = domFactory.newDocumentBuilder();
                       Document doc = builder.parse(indexfile);
                       XPathFactory factory = XPathFactory.newInstance();
                       XPath xpath = factory.newXPath();
                       XPathExpression expr = xpath.compile("//entry//index[keyword='"+keyword+"']" +
                                 "//file[not(preceding::file[parent::index[keyword='"+keyword+"']] = .)]");
                       xpath.compile("//file//entry[page='"+input+"']" +
                            "//color[not(preceding::color[parent::entry[page='"+input+"']] = .)]");
                       Object result = expr.evaluate(doc, XPathConstants.NODESET);
                       NodeList nodes = (NodeList) result;
                       refile="";
                       //InputStream namefile = getClass().getResourceAsStream("/resources/indexList.xml");
                       for (int i = 0; i < nodes.getLength(); i++) {
                            fname = nodes.item(i).getTextContent();
                            doc = builder.parse(namefile);
                            expr = xpath.compile("//wixfile//index[file='"+fname+"']//name//text()");
                            result = expr.evaluate(doc, XPathConstants.NODESET);
                            NodeList nodefile = (NodeList)result;                  
                            //showing the file name <desc - name> tag
                            for (int j=0; j< nodefile.getLength(); j++){
                                 refile = refile + "<br>" ;
                                 refile = refile + nodefile.item(j).getTextContent();
                            //call method to show link
                            String linktodoc = showLink(fname, keyword);
                            //String prvalue = getPageRank(linktodoc);
                            //int rankvalue = Integer.parseInt(prvalue);
                            //PageRankService pgrank = new PageRankService();
                            //int rankvalue = pgrank.getPR(linktodoc);
                            if (rankvalue != -1){
                                 refile = refile + "<br>" + "<a href='" + linktodoc + "'>" + linktodoc + "</a>" +
                                      "<br>[Pagerank -" + rankvalue + "]";
                            else{
                                 refile = refile + "<br>" + "<a href='" + linktodoc + "'>" + linktodoc + "</a>" +
                                 "<br>[Pagerank -" + prvalue + "]";
                            //refile = refile + "<br>" + "<a href='" + linktodoc + "'>" + linktodoc + "</a>";
                            refile = refile + "<br>" + linktodoc;
                            allentries = showentries(fname);
                            refile = refile  +  "Some other keywords from same wix file:" + "<br>" + allentries;
                            //refile = refile + "<input type='"submit"' value='"BOOKMARK!!"' class='"button"'/>"
                            String attach = "<table>" + "<tr bgcolor='#FFCCFF'>" + "<td>" +
                                 "<a STYLE='" + "text-decoration:none'" +
                                      "href='" + "attach.jsp" + "'>" +
                                 "<strong>" + "Attach This" + "</strong>" + "</a>" +
                                 "</td>" + "</tr>" + "</table>";
                            refile = refile + "<br>" + attach;
                  }catch(Exception e){return e.toString();}
             if (refile != ""){
                  refile = refile.substring(4, refile.length());
                 return refile.toString();
             else
                  return "<h4>No such exact match!</h4>";
    }And actually, my program totally worked fines when I pass only 'keyword' and the error occurs after I add 'kwinfo' to it.
    Thanks.

  • Setting children of managed beans

    A simple example that I can't figure out:
    <h:form id="form">
    <h:dataTable value="#{eBean.reportProxies}" var="proxy">
      <h:column>
       <h:dataTable value="#{proxy.fragments}" var="fragment">
        <h:column>
         <h:inputText value="#{fragment.parameterValue}" />
        </h:column>
       </h:dataTable>
      </h:column>
    </h:dataTable>
    </h:form>"eBean" (and only eBean) is defined as a managed bean.
    This works fine on output, but the value of inputText isn't picked up on the submit.
    In what I suspect is a related issue, if I instead try to bind such as:
    <h:inputText binding="#{fragment.inputText}" />..I get..
    JspException: Error setting property 'inputText' in bean of type null
    What am I missing here?

    Pretty much the same example. Assume A holds 3 instances of B, and B holds 3 instances of C.
    The updates fire for the 3 instances of C held by B[2], but not for the instances of C held by B[0] and B[1]. Or to put it another way, the updates are applied to elements of C held by the last B, not the correct B.
    Eh?
                        <h:dataTable value="#{a.BList}" var="b">
                             <h:column>
                                  <h:dataTable value="#{b.CList}" var="c">
                                       <t:column>
                                            <h:inputText value="#{c.theString}" />
                                       </t:column>
                                  </h:dataTable>
                             </h:column>
                             <h:column>
                                  <h:commandButton value="Render" action="#{b.run}"/>                         
                             </h:column>
                        </h:dataTable>

  • Exception setting property.....

    Can any one tell me what can be the possible reasons of getting below error :
    ERROR : "Exception setting property PROP_NAME of base with class CLASS_NAME"

    Hard to say it without having the complete stacktrace. You can do yourself and our a lot of favour if you read the stacktrace yourself and find and interpret the root cause.

  • BPM Workspace CSS error 'rowCssStyle' from bean of type fuego.workspace

    Hi,
    I'm consistently getting an error in BPM workspace when clicked on some of the custom views. The views are not loading and I get this error in the bottom part of the workspace. It’s related to workspace CSS , but we’ve not made any changes to CSS file.
    Have you encountered this problem?
    Unexpected Error
    javax.faces.el.EvaluationException: /jsf/view/viewPanelTemplate.xhtml @84,83 cssStyle="#{instance.rowCssStyle}": Error getting property 'rowCssStyle' from bean of type fuego.workspace.model.view.ViewTableInstanceBean: java.lang.NullPointerException
    at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
    at com.bea.opencontrols.XPControl.getPropertyValue(XPControl.java:312)
    at com.bea.opencontrols.XPControl.getPropertyValue(XPControl.java:285)
    at com.bea.opencontrols.XPControl.getPropertyValue(XPControl.java:273)
    at com.bea.opencontrols.table.Row.getCssStyle(Row.java:65)
    Any suggestions to clear this error is much appreciated.
    Cheers.

    In your weblogic console the application called -
    BPM Workspace would be in a Inactive or prepared state
    & worklist app wpuld be in an active state

  • Unable to resolve DB adapter runtime error for setMaxRaiseSize property

    I am writing files to DB in flowN activity using merge operation and getting merge operation failed error. Then I set the following 2 properties in .jca file:
    <property name="setMaxRaiseSize" value="100"/>
    <property name="setmaxTransactionSize" value="1000"/>
    Later I found that these are inbound properties and removed from .jca file, but still I am getting the following error with reference to the property setmaxTransactionSize.
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.db.DBWriteInteractionSpec due to: Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setMaxRaiseSize is not defined for oracle.tip.adapter.db.DBWriteInteractionSpec Please verify the spelling of the property. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setMaxRaiseSize is not defined for oracle.tip.adapter.db.DBWriteInteractionSpec Please verify the spelling of the property. </detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault>
    I dont know from where it is still referencing the property. Please help me on how to identify and resolve this error.
    Thanks.
    Regards
    Shyam
    Edited by: Shyam Patibandla on Sep 5, 2012 2:32 AM

    Hi,
    Please do following settings.
    1. Increase the consumer threads for file adapter.
    2. Increase the concurrency in receiver communication channel.
    3. Set poolWaitingTime in receiver communication channel.
    Refer SAP Note: 821267
    Regards,
    Gouri

  • I keep getting this error message and Firefox won't start....Exc in ev handl: Error: Error setting property on NPObject!

    Firefox won't start and this message keeps coming up....I uninstalled and reinstalled....but didn't help...
    Exc in ev handl: Error: Error setting property on NPObject!

    Disable "McAfee Site Advisor" extension which was just updated to 3.4.0, which probably took it out of the addons block list.
    * "Ctrl+Shift+A" > find McAfee Site Advisor and use "Disable", and then restart Firefox.
    * Do a Google Search no problem
    * It seems that if you re-enable Site Advisor again, and restart Firefox you are okay. At least you know where to look if you get the error again or Google searches slow down.

Maybe you are looking for