[jbosstools-issues] [JBoss JIRA] (JBIDE-18073) Error when triggering content assist on Ticket Monster JPA entity

Xavier Coulon (JIRA) issues at jboss.org
Tue Aug 12 11:32:29 EDT 2014


Xavier Coulon created JBIDE-18073:
-------------------------------------

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


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}





--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list