[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-9436) JPA: create ui for package-info.java annotations in JPA Details view

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Thu Aug 25 04:51:18 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623941#comment-12623941 ] 

Dmitry Geraskov edited comment on JBIDE-9436 at 8/25/11 4:50 AM:
-----------------------------------------------------------------

There is a ClassCastException when try to add GenericGenerator from ui
Caused by: java.lang.ClassCastException: org.eclipse.jpt.common.core.internal.utility.jdt.JDTPackage cannot be cast to org.eclipse.jpt.common.core.utility.jdt.Member
	at org.jboss.tools.hibernate.jpt.core.internal.resource.java.SourceGenericGeneratorsAnnotation$GenericGeneratorsAnnotationDefinition.buildAnnotation(SourceGenericGeneratorsAnnotation.java:157)
	at org.eclipse.jpt.jpa.core.internal.GenericJpaAnnotationProvider.buildPackageAnnotation(GenericJpaAnnotationProvider.java:155)
	at org.eclipse.jpt.jpa.core.internal.resource.java.source.SourcePackage.buildAnnotation(SourcePackage.java:104)
	at org.eclipse.jpt.jpa.core.internal.resource.java.source.SourceAnnotatedElement.buildContainerAnnotation(SourceAnnotatedElement.java:310)

      was (Author: dgeraskov):
    There is a ClassCastException when try to add GenericGenerator from ui
  
> JPA: create ui for package-info.java annotations in JPA Details view
> --------------------------------------------------------------------
>
>                 Key: JBIDE-9436
>                 URL: https://issues.jboss.org/browse/JBIDE-9436
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate
>    Affects Versions: 3.3.0.M2
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>            Priority: Minor
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M3
>
>         Attachments: pacakge_info.ui.PNG
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list