[jbosstools-issues] [JBoss JIRA] (JBIDE-12348) Java Model Exception in BestGuessConsoleConfigurationVisitor

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Thu Jul 19 11:20:06 EDT 2012


Dmitry Geraskov created JBIDE-12348:
---------------------------------------

             Summary: 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

        


More information about the jbosstools-issues mailing list