ava.lang.IllegalStateException: com.sun.proxy.$Proxy336 cannot be cast to javax.annotation.security.DeclareRoles. Related annotation information: annotation [@javax.annotation.security.DeclareRoles(value=[org.imixs.ACCESSLEVEL.NOACCESS, org.imixs.ACCESSLEVEL.READERACCESS, org.imixs.ACCESSLEVEL.AUTHORACCESS, org.imixs.ACCESSLEVEL.EDITORACCESS, org.imixs.ACCESSLEVEL.MANAGERACCESS])] on annotated element [class org.imixs.workflow.jee.ejb.ReportService] of type [TYPE]

GitHub | rangalo | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 182#238496358

    GitHub | 9 months ago | rangalo
    ava.lang.IllegalStateException: com.sun.proxy.$Proxy336 cannot be cast to javax.annotation.security.DeclareRoles. Related annotation information: annotation [@javax.annotation.security.DeclareRoles(value=[org.imixs.ACCESSLEVEL.NOACCESS, org.imixs.ACCESSLEVEL.READERACCESS, org.imixs.ACCESSLEVEL.AUTHORACCESS, org.imixs.ACCESSLEVEL.EDITORACCESS, org.imixs.ACCESSLEVEL.MANAGERACCESS])] on annotated element [class org.imixs.workflow.jee.ejb.ReportService] of type [TYPE]

    Root Cause Analysis

    1. ava.lang.IllegalStateException

      com.sun.proxy.$Proxy336 cannot be cast to javax.annotation.security.DeclareRoles. Related annotation information: annotation [@javax.annotation.security.DeclareRoles(value=[org.imixs.ACCESSLEVEL.NOACCESS, org.imixs.ACCESSLEVEL.READERACCESS, org.imixs.ACCESSLEVEL.AUTHORACCESS, org.imixs.ACCESSLEVEL.EDITORACCESS, org.imixs.ACCESSLEVEL.MANAGERACCESS])] on annotated element [class org.imixs.workflow.jee.ejb.ReportService] of type [TYPE]

      at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations()
    2. Deployment Object Library
      Archivist.open
      1. com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:518)
      2. com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:446)
      3. com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:419)
      4. com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:396)
      5. com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:271)
      5 frames