cancel
Showing results for 
Search instead for 
Did you mean: 

Reporting Error on 1.3 preview edition - Create Rule

hm
Champ in-the-making
Champ in-the-making
javax.faces.el.EvaluationException: Exception while invoking expression #{NewRuleWizard.startWizard}

caused by:
javax.faces.el.PropertyNotFoundException: Base is null: NewRuleWizard

Hide Details

javax.faces.el.EvaluationException: Exception while invoking expression #{NewRuleWizard.startWizard}
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
at javax.faces.component.UICommand.broadcast(UICommand.java:86)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
at org.alfresco.web.app.servlet.AlfrescoFacesServlet.service(AlfrescoFacesServlet.java:49)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.el.PropertyNotFoundException: Base is null: NewRuleWizard
at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
… 24 more
5 REPLIES 5

steve
Champ in-the-making
Champ in-the-making
Hi,

Can you give us some more details on what steps you performed to get this error?

Thanks,

Steve

gavinc
Champ in-the-making
Champ in-the-making
I don't think you have a clean install of 1.3.

NewRuleWizard is a bean that was defined in 1.2 but has been replaced with CreateRuleWizard in 1.3. Also we no longer use the startWizard() method for starting this particular wizard, it uses the new wizard framework.

How did you install 1.3?

hm
Champ in-the-making
Champ in-the-making
I downloaded the 1.3 preview version WAR file and deployed it to my webapps directory. I cleaned out all the alf_data other folders from my 1.2.1 install. I logged in as admin and tried to add a new rule and saw the exception.

gavinc
Champ in-the-making
Champ in-the-making
Did you also clean out the older alfresco webapp before deploying the WAR? Also removing the temp and work folders in Tomcat is always a good thing to do.

If the application is looking for NewRuleWizard it has definitely picked up an old version from somewhere. I've just checked the WAR file for 1.3 and faces-config-beans.xml has no mention of NewRuleWizard.

So, try stopping Tomcat, delete the tomcat/webapps/alfresco folder, tomcat/webapps/alfresco.war, tomcat/temp and tomcat/work folders. Copy the new WAR file in and re-start Tomcat.

hm
Champ in-the-making
Champ in-the-making
thanks for the reply. it was the fact that the work and temp folders were not cleaned out after the new install.