cancel
Showing results for 
Search instead for 
Did you mean: 

WCM error information

terry_tao
Champ in-the-making
Champ in-the-making
Hello, All,

When i include new web forms in web project, then i go to project to create web content, but some error information is displayed as following:



javax.faces.FacesException: Cannot get value for expression '#{WizardManager.bean.createMimeTypes}'
caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{WizardManager.bean.createMimeTypes}'
caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{WizardManager.bean.createMimeTypes}'
caused by:
javax.faces.el.EvaluationException: Exception getting value of property createMimeTypes of base of type : org.alfresco.web.bean.wcm.CreateWebContentWizard
caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wcm.CreateWebContentWizard, property: createMimeTypes
caused by:
java.lang.reflect.InvocationTargetException
caused by:
java.lang.NullPointerException



I encounter it several times.
Could you help me resolve it?

Thanks in advance.
6 REPLIES 6

kevinr
Star Contributor
Star Contributor
Have you customized alfresco in any way?

Thanks,

Kevin

spdaly
Champ in-the-making
Champ in-the-making
I'm having the same problem.

It's a new install of Alf 2.1 Community.

I created 2 web forms from the navigation and site-configuration forms from the WSF project following the instructions on the WSF wiki page.

I created a new web project and assigned the 2 forms to the project.

I navigated to my sandbox for the web project and clicked create web content and it stack traced with the same error as above.

spdaly
Champ in-the-making
Champ in-the-making
It looks like it's a problem with the navigation xform.  I removed it from the web project and I can add content using the site configuration form.

I readded the form and the web project stack traces again with the same NPE.

Interesting effect, the navigation form no longer shows up in the web projects forms list.

terry_tao
Champ in-the-making
Champ in-the-making
Thanks for your suggestions.

I have customized the alfresco 2.1 community.

I just develop my own web forms and import them to own web project.

But when i delete the web forms and re-create  web forms in data dictionary again, the the issues seems disappeared.

I don't know whether alfresco 2.1 community is not stable.

kevinr
Star Contributor
Star Contributor
There are several bugs related to Web Forms in 2.1 community. They are fixed in 2.1Enterprise and also 2.2dev.

Thanks,

Kevin

ctrl
Champ in-the-making
Champ in-the-making
It appears that there is some level of association that take place between the web project and some custom web forms that are created. A quick fix that worked for us is to actually run through the web project configuration wizard again. That seems to re-associate whatever was broken “between the web project and web formsâ€