[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4322) Generate Hibernate/JPA Annotation gives NPE for .java files without any classes
Dmitry Geraskov (JIRA)
jira-events at lists.jboss.org
Fri May 15 08:31:46 EDT 2009
Generate Hibernate/JPA Annotation gives NPE for .java files without any classes
-------------------------------------------------------------------------------
Key: JBIDE-4322
URL: https://jira.jboss.org/jira/browse/JBIDE-4322
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.1.0.M1
Reporter: Dmitry Geraskov
Assignee: Vitali Yemialyanchyk
Fix For: 3.1.0.M1
This is also true for package-info.java files.
java.lang.NullPointerException
at org.hibernate.eclipse.jdt.ui.internal.jpa.collect.AllEntitiesInfoCollector.collect(AllEntitiesInfoCollector.java:708)
at org.hibernate.eclipse.jdt.ui.internal.jpa.actions.JPAMapToolActor.updateSelected(JPAMapToolActor.java:173)
at org.hibernate.eclipse.jdt.ui.internal.jpa.actions.JPAMapToolActionDelegate.run(JPAMapToolActionDelegate.java:43)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list