[
https://jira.jboss.org/jira/browse/JBIDE-4322?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk resolved JBIDE-4322.
-----------------------------------------
Resolution: Done
Assignee: Aliaksey Nis (was: Vitali Yemialyanchyk)
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: Aliaksey Nis
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