Null pointer exception while importing EOModel
----------------------------------------------
Key: CAY-635
URL: http://issues.apache.org/cayenne/browse/CAY-635
Project: Cayenne
Type: Bug
Components: CayenneModeler GUI
Versions: 1.2 [STABLE]
Environment: Windows XP SP2
Reporter: Dan Morgan
CayenneModeler Info
Version: 1.2
Build Date: July 16 2006
Exception:
=================================
java.lang.NullPointerException
at org.objectstyle.cayenne.wocompat.EOObjEntity$DBPathConverter.transform(EOObjEntity.java:285)
at org.objectstyle.cayenne.exp.Expression.transformExpression(Expression.java:623)
at org.objectstyle.cayenne.exp.Expression.transform(Expression.java:572)
at org.objectstyle.cayenne.wocompat.EOObjEntity.translateToDbPath(EOObjEntity.java:234)
at org.objectstyle.cayenne.wocompat.EOQuery$EOFetchSpecificationParser.makeQualifier(EOQuery.java:510)
at org.objectstyle.cayenne.wocompat.EOQuery$EOFetchSpecificationParser.makeQualifier(EOQuery.java:432)
at org.objectstyle.cayenne.wocompat.EOQuery.makeQualifier(EOQuery.java:271)
at org.objectstyle.cayenne.wocompat.EOQuery.initFromPlist(EOQuery.java:135)
at org.objectstyle.cayenne.wocompat.EOQuery.<init>(EOQuery.java:92)
at org.objectstyle.cayenne.wocompat.EOModelProcessor.makeQuery(EOModelProcessor.java:274)
at org.objectstyle.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModelProcessor.java:230)
at org.objectstyle.cayenne.wocompat.EOModelProcessor.loadEOModel(EOModelProcessor.java:153)
at org.objectstyle.cayenne.modeler.action.ImportEOModelAction.importEOModel(ImportEOModelAction.java:161)
at org.objectstyle.cayenne.modeler.action.ImportEOModelAction.performAction(ImportEOModelAction.java:125)
at org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:199)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/cayenne/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Thu Aug 24 2006 - 16:22:51 EDT