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

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Tue Sep 11 06:44:33 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Peterka closed JBIDE-12348.
--------------------------------



Verified in JBT 4.0.alfa1a, L64
Currently you're allowed to used for example General Project in first step but in Configuration console you have and error and you need to select some compatible project type. 
                
> 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: 4.0.0.Alpha1
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list