[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] Inheritance. Exception "Missing class for indicator field value"
|
The EclipseLink version is: Eclipse Persistence Services -
2.0.2.v20100323-r6872
Exception stack trace:
Exception Description: Missing class for indicator field value [SUP] of type
[class java.lang.String].
Descriptor: RelationalDescriptor(ar.com.ambest.BioID.modelo.Persona -->
[DatabaseTable(PERSONA)])
Exception in thread "AWT-EventQueue-0" Local Exception Stack:
Exception [EclipseLink-43] (Eclipse Persistence Services -
2.0.2.v20100323-r6872):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: Missing class for indicator field value [SUP] of type
[class java.lang.String].
Descriptor: RelationalDescriptor(ar.com.ambest.BioID.modelo.Persona -->
[DatabaseTable(PERSONA)])
at
org.eclipse.persistence.exceptions.DescriptorException.missingClassForIndicatorFieldValue(DescriptorException.java:919)
at
org.eclipse.persistence.descriptors.InheritancePolicy.classFromValue(InheritancePolicy.java:346)
at
org.eclipse.persistence.descriptors.InheritancePolicy.classFromRow(InheritancePolicy.java:333)
at
org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:476)
at
org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:444)
at
org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:635)
at
org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:838)
at
org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:464)
at
org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:997)
at
org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:675)
at
org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:958)
at
org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:432)
at
org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1021)
at
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2898)
at
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1225)
at
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1207)
at
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1181)
at
org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:453)
at
org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:681)
at
ar.com.ambest.BioID.dao.PersonasDAO.obtenerTodasLasPersonasDAO(PersonasDAO.java:31)
at
ar.com.ambest.BioID.logica.PersonasLogica.obtenerTodasLasPersonasLogica(PersonasLogica.java:28)
at
ar.com.ambest.BioID.gui.PanelABMEmpleados.<init>(PanelABMEmpleados.java:74)
at
ar.com.ambest.BioID.gui.BioIdMainGUI.abmEmpleadosActionListener(BioIdMainGUI.java:138)
at
ar.com.ambest.BioID.gui.BioIdMainGUI.access$200(BioIdMainGUI.java:21)
at
ar.com.ambest.BioID.gui.BioIdMainGUI$3.actionPerformed(BioIdMainGUI.java:81)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
James Sutherland wrote:
>
> Odd, please include the exception stack trace, and the version of
> EclipseLink you are using.
> Make sure that all of the classes are in your jar file, and you don't have
> any old jars on your classpath.
> If you query directly for the subclasses, does it work?
>
--
View this message in context: http://old.nabble.com/Inheritance.-Exception-%22Missing-class-for-indicator-field-value%22-tp30180957p30181556.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.