]
Koen Aers commented on JBIDE-18073:
-----------------------------------
I cannot reproduce this with the current master. This was probably fixed by finishing the
big JPA 2.1 refactoring that was going on. Please reopen if the issue still persists.
Error when triggering content assist on Ticket Monster JPA entity
-----------------------------------------------------------------
Key: JBIDE-18073
URL:
https://issues.jboss.org/browse/JBIDE-18073
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 4.2.0.Beta3
Reporter: Xavier Coulon
Assignee: Koen Aers
Fix For: 4.2.0.CR1
The following error occurs when triggering content assist on a JPA annotation attribute
of _any_ Entity in the project (after following instructions on
http://www.jboss.org/ticket-monster/datapersistence/)
{code}
Java Model Exception: Java Model Status
[/Users/xcoulon/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar
is not on its project's build path]
at
org.eclipse.jdt.internal.core.PackageFragmentRoot.getRawClasspathEntry(PackageFragmentRoot.java:562)
at
org.eclipse.jdt.internal.core.JavaElement.getJavadocBaseLocation(JavaElement.java:714)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1011)
at org.eclipse.jdt.internal.core.BinaryField.getAttachedJavadoc(BinaryField.java:121)
at
org.eclipse.jdt.internal.core.ResolvedBinaryField.getAttachedJavadoc(ResolvedBinaryField.java:1)
at
org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:500)
at
org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:689)
at
org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:607)
at
org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:599)
at
org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:163)
at
org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
at
org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
{code}