WCM error information
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2007 09:37 PM
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.
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.
Labels:
- Labels:
-
Archive
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2007 03:58 AM
Have you customized alfresco in any way?
Thanks,
Kevin
Thanks,
Kevin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2007 10:57 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2007 11:54 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2007 09:21 PM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2007 08:49 AM
There are several bugs related to Web Forms in 2.1 community. They are fixed in 2.1Enterprise and also 2.2dev.
Thanks,
Kevin
Thanks,
Kevin
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2008 11:48 AM
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â€
