Adding new Content Dialog causes IllegalAccessError
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2011 03:02 PM
Can someone tell me why I cannot access the Dictionary Service when my DmiAddContentDialog extends org.alfresco.web.bean.content.AddContentDialog.
So the hierarchy looks like:
java.lang.Object
extended by org.alfresco.web.bean.dialog.BaseDialogBean
extended by org.alfresco.web.bean.wizard.BaseWizardBean
extended by org.alfresco.web.bean.content.BaseContentWizard
extended by org.alfresco.web.bean.content.AddContentDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean, IWizardBean
Caused by: java.lang.IllegalAccessError: tried to access field org.alfresco.web.bean.dialog.BaseDialogBean.dictionaryService from class com.mycompany.alfresco.web.bean.content.custom.DmiAddContentDialogat com.mycompany.alfresco.web.bean.content.custom.DmiAddContentDialog.getReferences(DmiAddContentDialog.java:85)… 94 more
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2011 01:05 AM
Hi lieu2,
Can you please attache the code of defining your bean. Also , put the complete code of "DmiAddContentDialog " bean , I want to check how you are accessig dictionaryService object.
Try defining DictionaryService in your custom bean.
Thanks,
Can you please attache the code of defining your bean. Also , put the complete code of "DmiAddContentDialog " bean , I want to check how you are accessig dictionaryService object.
Try defining DictionaryService in your custom bean.
Thanks,
