[
https://issues.jboss.org/browse/JBIDE-12348?page=com.atlassian.jira.plugi...
]
Dmitry Geraskov resolved JBIDE-12348.
-------------------------------------
Resolution: Done
Java Model Exception in BestGuessConsoleConfigurationVisitor
------------------------------------------------------------
Key: JBIDE-12348
URL:
https://issues.jboss.org/browse/JBIDE-12348
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: hibernate
Affects Versions: 3.3.0.Final
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.4.0.M1
Test case:
1. Right click on some JavaProject
2. New Hibernate Configuration File
3. Select not java project as location for file
4. Newxt
5. Check Create Console Configuration
6. Next
Observe the exception
Java Model Exception: Java Model Status [booking-ear does not exist]
at
org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:495)
at
org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheckExistence(JavaModelManager.java:2285)
at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo(JavaProject.java:1907)
at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation(JavaProject.java:1734)
at
org.hibernate.eclipse.console.wizards.BestGuessConsoleConfigurationVisitor.visit(BestGuessConsoleConfigurationVisitor.java:86)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira