cancel
Showing results for 
Search instead for 
Did you mean: 

Web content wizard does not appears. help !

fgruyer
Champ in-the-making
Champ in-the-making
I uinstalled a clean alfresco 2.0, then installed WCM 2.0.
Everything is of at this stage.
I then started to follow WCM Eval Guide 2.0.

When I arrive at creating content stage, the web content wizard at step 2 "author web content" does not show any editing capability ! the screen as shown in page 33 of the guide never shows up.

Screen says:

STEP 2 author web content
Enter your document content into the repository

To continue press next.


there is no editing control on the company profile template???only 2 blank lines.


I fowwolwed twice the whole process, everything works as described except at this stage. Installation went well. what is missing ????
6 REPLIES 6

arielb
Champ in-the-making
Champ in-the-making
can you check your log files for any error message please?  there are previous posts as to how to boost the log level for the wcm client code you can refer to.

fgruyer
Champ in-the-making
Champ in-the-making
No specific error logged. If I complete wizard nevertheless , an empty XML file for "company profile" is created, but following error is logged:

11:54:31,520 WARN  [alfresco.missingProperties] Failed to find property 'wcmwf:label' for node: workspace://SpacesStore/e589bb6a-cb07-11db-bdfa-fd60dd57f710

?

fgruyer
Champ in-the-making
Champ in-the-making
additional information: if I change from french langage to English at login time, I encounter same proflem reported by "smg" titled "WCM example crash with Null Pointer Exeption", and same NPE when forms are unfolded in sandbox at creation content time in WCM eval Guide.

nricheton
Champ in-the-making
Champ in-the-making
I got the same problem.

It seems that a french translation is breaking the javascript.

<script type="text/javascript">
djConfig = {isDebug:false};
var alfresco_xforms_constants = {};
alfresco_xforms_constants.WEBAPP_CONTEXT = '/alfresco';
alfresco_xforms_constants.XFORMS_UI_DIV_ID = 'alfresco-xforms-ui';
alfresco_xforms_constants.XFORMS_NS = 'http://www.w3.org/2002/xforms';
alfresco_xforms_constants.XFORMS_PREFIX = 'xf';
alfresco_xforms_constants.XHTML_NS = 'http://www.w3.org/1999/xhtml';
alfresco_xforms_constants.XHTML_PREFIX = 'xhtml';
alfresco_xforms_constants.CHIBA_NS = 'http://chiba.sourceforge.net/xforms';
alfresco_xforms_constants.CHIBA_PREFIX = 'chiba';
alfresco_xforms_constants.ALFRESCO_NS = 'http://www.alfresco.org';
alfresco_xforms_constants.ALFRESCO_PREFIX = 'alf';
alfresco_xforms_constants.resources = {
validation_provide_values_for_required_fields: 'Please provide values for all required fields',
idle: 'Idle',
loading: 'Loading',
add_content: 'Ajouter un contenu',
go_up: 'Remonter',
cancel: 'Annuler',
upload: 'Importer dans l'Entrepot',
path: 'Chemin'
};
</script>


But when I try to  switch to English, NullPointerException occurs when expanding Web Forms :

15:16:54,574 ERROR [[localhost].[/alfresco].[jsp]] "Servlet.service()" pour la servlet jsp a lancÚ une exception
java.lang.RuntimeException: java.lang.NullPointerException
        at org.alfresco.web.ui.wcm.component.UIUserSandboxes.encodeBegin(UIUserSandboxes.java:486)
        at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:337)
        at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:250)
        at org.apache.jsp.jsp.wcm.browse_002dwebsite_jsp._jspx_meth_w_userSandboxes_0(browse_002dwebsite_jsp.java:1798)
        at org.apache.jsp.jsp.wcm.browse_002dwebsite_jsp._jspx_meth_a_panel_2(browse_002dwebsite_jsp.java:1772)
        at org.apache.jsp.jsp.wcm.browse_002dwebsite_jsp._jspService(browse_002dwebsite_jsp.java:684)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
        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:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.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:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        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: java.lang.NullPointerException
        at org.alfresco.web.bean.wcm.WebProject$FormWrapper.<init>(WebProject.java:78)
        at org.alfresco.web.bean.wcm.WebProject$FormWrapper.<init>(WebProject.java:69)
        at org.alfresco.web.bean.wcm.WebProject.getFormsImpl(WebProject.java:307)
        at org.alfresco.web.bean.wcm.WebProject.getForms(WebProject.java:224)
        at org.alfresco.web.ui.wcm.component.UIUserSandboxes.renderContentForms(UIUserSandboxes.java:818)
        at org.alfresco.web.ui.wcm.component.UIUserSandboxes.encodeBegin(UIUserSandboxes.java:461)
        … 38 more
15:16:54,584 ERROR [[localhost].[/alfresco].[Faces Servlet]] "Servlet.service()" pour la servlet Faces Servlet a gÚnÚrÚ une exception
javax.faces.FacesException: java.lang.NullPointerException
        at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
        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:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.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:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        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: org.apache.jasper.JasperException: java.lang.NullPointerException
        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
        … 20 more

michaelh
Champ on-the-rise
Champ on-the-rise
Well pointed !

The French language pack is under investigation Smiley Happy
I can confirm some javascript parts are broken (Mostly in WCM module).

Stay tuned !

kevinr
Star Contributor
Star Contributor
I have raised this issue: http://issues.alfresco.com/browse/WCM-384