[forge-issues] [JBoss JIRA] (ROASTER-124) AnnotationSource.setLiteralValue() error occur

George Gastaldi (JIRA) issues at jboss.org
Mon Jun 12 12:33:02 EDT 2017


     [ https://issues.jboss.org/browse/ROASTER-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed ROASTER-124.
-----------------------------------
    Fix Version/s: 2.20.1.Final
         Assignee: George Gastaldi
       Resolution: Done


> AnnotationSource.setLiteralValue() error occur
> ----------------------------------------------
>
>                 Key: ROASTER-124
>                 URL: https://issues.jboss.org/browse/ROASTER-124
>             Project: Roaster
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.19.4.Final
>         Environment: intelliJ IDEA, MacOS - Sierra
>            Reporter: Ondrej Zoricak
>            Assignee: George Gastaldi
>            Priority: Critical
>             Fix For: 2.20.1.Final
>
>
> Error:
> {code:java}
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
>   at org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
>   at comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the forge-issues mailing list