AnsweredAssumed Answered

Problems with the WCM preview tutorial

Question asked by mike on Feb 6, 2007
Latest reply on Oct 26, 2007 by kevinr
Hello,

I downloaded and installed the WCM v2 preview on Linux using Weblogic 9.2 and Oracle 9iR2 and all appears to work fine.

However, when following the tutorial I encounter the error below when uploading the 'company-footer.xsd' as part of creating a new web form:

Please correct the errors below then click Finish.
    * unable to parse company-footer.xsd: null

This also throws the following expection on the application server:

14:23:09,041 ERROR [org.alfresco.web.ui.common.Utils] unable to parse company-footer.xsd: null
java.lang.NullPointerException
        at org.alfresco.web.forms.xforms.SchemaUtil.parseSchema(SchemaUtil.java:219)
        at org.alfresco.web.bean.wcm.CreateFormWizard.schemaFileValueChanged(CreateFormWizard.java:612)
        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.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
        at javax.faces.component.UIInput.broadcast(UIInput.java:200)
        at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
        at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:132)
        at org.apache.myfaces.lifecycle.LifecycleImpl.applyRequestValues(LifecycleImpl.java:200)
        at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:71)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:105)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:73)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)


Any ideas?

Thanks,

Mike

Outcomes