AnsweredAssumed Answered

Adding new Content Dialog causes IllegalAccessError

Question asked by lieu2 on Apr 29, 2011
Latest reply on May 3, 2011 by amitabhandari1
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.DmiAddContentDialog
at
com.mycompany.alfresco.web.bean.content.custom.DmiAddContentDialog.getReferences(DmiAddContentDialog.java:85)
… 94 more

Outcomes