cancel
Showing results for 
Search instead for 
Did you mean: 

Error in CustomWizard example.

libman
Champ in-the-making
Champ in-the-making
Hi,

I built the codes succesfully and joined it in the .war file. I also updated the web-client-config-wizards.xml, changing the
managed-bean="CreateContentWizard"
to
managed-bean="CustomCreateContentWizard"
. When I go to the third (new page), I get the following error:
javax.faces.FacesException: Value binding '#{WizardManager.bean.aspects}'of UISelectItems with component-path {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: _id20][Class: javax.faces.component.UISelectItems,Id: _id21]} does not reference an Object of type SelectItem, SelectItem[], Collection or Map but of type : null
caused by:
org.apache.jasper.JasperException: Value binding '#{WizardManager.bean.aspects}'of UISelectItems with component-path {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: _id20][Class: javax.faces.component.UISelectItems,Id: _id21]} does not reference an Object of type SelectItem, SelectItem[], Collection or Map but of type : null
caused by:
org.apache.jasper.JasperException: Value binding '#{WizardManager.bean.aspects}'of UISelectItems with component-path {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: _id20][Class: javax.faces.component.UISelectItems,Id: _id21]} does not reference an Object of type SelectItem, SelectItem[], Collection or Map but of type : null
caused by:
java.lang.IllegalArgumentException: Value binding '#{WizardManager.bean.aspects}'of UISelectItems with component-path {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/wizard/container.jsp][Class: javax.faces.component.html.HtmlForm,Id: wizard][Class: javax.faces.component.UINamingContainer,Id: wizard-body][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: _id20][Class: javax.faces.component.UISelectItems,Id: _id21]} does not reference an Object of type SelectItem, SelectItem[], Collection or Map but of type : null
The example has a getAspects() function. In System Information/Http Application State, I see the custom-wizard.jar. The .jsp file is also added correctly.

What is the cause??

Thanks
1 REPLY 1

libman
Champ in-the-making
Champ in-the-making
I see, I forgot a part of the code:
<config evaluator="string-compare" condition="Content Wizards">
      <aspects>
         <aspect name="dublincore"/>
         <aspect name="effectivity"/>
      </aspects>
   </config>
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.