Description
CayenneModeler throws an exception below on query validation. This probably only affects the builds from the last few days due to CAY-687 implementation.
Version: cayenne.version
Build Date: cayenne.build.date
Exception:
=================================
java.lang.ClassNotFoundException: XXX
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at org.apache.cayenne.util.Util.getJavaClass(Util.java:566)
at org.apache.cayenne.map.ObjEntity.getJavaClass(ObjEntity.java:216)
at org.apache.cayenne.map.EntityDescriptor.compile(EntityDescriptor.java:112)
at org.apache.cayenne.map.EntityDescriptorFactory.getDescriptor(EntityDescriptorFactory.java:71)
at org.apache.cayenne.map.EntityResolver.getClassDescriptor(EntityResolver.java:254)
at org.apache.cayenne.query.BaseQueryMetadata.resolve(BaseQueryMetadata.java:137)
at org.apache.cayenne.query.SelectQueryMetadata.resolve(SelectQueryMetadata.java:34)
at org.apache.cayenne.query.SelectQuery.getMetaData(SelectQuery.java:151)
at org.apache.cayenne.project.validator.SelectQueryValidator.validateRoot(SelectQueryValidator.java:109)
at org.apache.cayenne.project.validator.SelectQueryValidator.validateObject(SelectQueryValidator.java:52)
at org.apache.cayenne.project.validator.TreeNodeValidator.validate(TreeNodeValidator.java:119)
at org.apache.cayenne.project.validator.Validator.validate(Validator.java:168)
at org.apache.cayenne.project.validator.Validator.validate(Validator.java:154)
at org.apache.cayenne.modeler.action.ValidateAction.performAction(ValidateAction.java:63)
at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5166)
at java.awt.Component.processEvent(Component.java:4963)
at java.awt.Container.processEvent(Container.java:1613)
at java.awt.Component.dispatchEventImpl(Component.java:3681)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
at java.awt.Container.dispatchEventImpl(Container.java:1657)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)