A CNFE is thrown when opening a mapping diagram on a JPA Entity. The 'class' not found is an Enum,
Problem not found in jira.
Any comment?
John
Hibernate version:
3.2.5.ga
Eclipse tools 3.2.0 beta 11
In Eclipse Europa, wst 2.0.1v200709 blah blah blah...
Mapping documents:
Using JPA w/ annotations
Code between sessionFactory.openSession() and session.close():
N/A
Full stack trace of any exception that occurs:
This is the upper part of the stack trace that appears in .metadata/.log
!ENTRY org.eclipse.ui 4 0 2007-10-17 14:53:58.415
!MESSAGE Unable to create editor ID org.jboss.tools.hibernate.ui.veditor.editors.visualeditor: Enum class not found
!STACK 0
java.lang.ClassNotFoundException: com.gc.model.Preference
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:112)
at org.hibernate.type.EnumType.setParameterValues(EnumType.java:286)
at org.hibernate.type.TypeFactory.injectParameters(TypeFactory.java:339)
at org.hibernate.type.CustomType.<init>(CustomType.java:67)
at org.hibernate.type.TypeFactory.heuristicType(TypeFactory.java:245)
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:260)
at org.hibernate.mapping.Property.getType(Property.java:50)
at org.jboss.tools.hibernate.ui.view.views.OrmModelImageVisitor.visitPersistentField(OrmModelImageVisitor.java:111)
at org.jboss.tools.hibernate.ui.view.views.OrmLabelProvider.getImage(OrmLabelProvider.java:58)
at org.jboss.tools.hibernate.ui.veditor.editors.parts.ShapeEditPart.createFigure(ShapeEditPart.java:72)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.getFigure(AbstractGraphicalEditPart.java:445)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addChildVisual(AbstractGraphicalEditPart.java:197)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:197)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:727)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:677)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:564)
Name and version of the database you are using:
N/A but mysql 5.
The generated SQL (show_sql=true):
N/A
Debug level Hibernate log excerpt:
N/A
|