-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: 3.2.0, beta11, mapping diagram, CNFE of Enum
PostPosted: Wed Oct 17, 2007 3:44 pm 
Newbie

Joined: Thu Nov 18, 2004 6:01 pm
Posts: 17
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 4:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
try the upcoming nightly build - we fixed issues related to this (we could unfortunately to reproduce the issue)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: build 10/17/07 fixed the problem
PostPosted: Thu Oct 18, 2007 1:40 pm 
Newbie

Joined: Thu Nov 18, 2004 6:01 pm
Posts: 17
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.