cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAY-1405) Exception when attempting to "Infer Relationships"
Date Sun, 28 Mar 2010 15:07:27 GMT

     [ https://issues.apache.org/jira/browse/CAY-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik updated CAY-1405:
---------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 3.0RC3)
         Assignee: Andrus Adamchik

Hi Allan,

Do you still have the model that caused this error, and can you reproduce the problem? While
the stack trace shows where the NPE happened, it is not clear to me what exactly caused it,
so attaching a sample .map.xml to this Jira should help.


> Exception when attempting to "Infer Relationships"
> --------------------------------------------------
>
>                 Key: CAY-1405
>                 URL: https://issues.apache.org/jira/browse/CAY-1405
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 3.0RC2
>         Environment: Ubuntu 9.1
> java -version
> java version "1.6.0_0"
> OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
> OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
> Cayenne 3.0RC2 (Jan 30 2010..)
>            Reporter: Allan Emord
>            Assignee: Andrus Adamchik
>            Priority: Minor
>
> CayenneModeler Error Please copy the message below and report this error by going to
http://issues.apache.org/cayenne/
> CayenneModeler Info
> Version: cayenne.version
> Build Date: cayenne.build.date
> Exception: 
> =================================
> java.lang.NullPointerException
> 	at org.apache.cayenne.modeler.dialog.autorelationship.InferRelationshipsControllerBase.createJoin(InferRelationshipsControllerBase.java:157)
> 	at org.apache.cayenne.modeler.dialog.autorelationship.InferRelationshipsControllerBase.setRelationships(InferRelationshipsControllerBase.java:71)
> 	at org.apache.cayenne.modeler.dialog.autorelationship.InferRelationshipsController.<init>(InferRelationshipsController.java:65)
> 	at org.apache.cayenne.modeler.action.InferRelationshipsAction.performAction(InferRelationshipsAction.java:47)
> 	at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
> 	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
> 	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
> 	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
> 	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
> 	at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
> 	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
> 	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
> 	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
> 	at java.awt.Component.processMouseEvent(Component.java:6108)
> 	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
> 	at java.awt.Component.processEvent(Component.java:5873)
> 	at java.awt.Container.processEvent(Container.java:2105)
> 	at java.awt.Component.dispatchEventImpl(Component.java:4469)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2163)
> 	at java.awt.Component.dispatchEvent(Component.java:4295)
> 	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
> 	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
> 	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2149)
> 	at java.awt.Window.dispatchEventImpl(Window.java:2478)
> 	at java.awt.Component.dispatchEvent(Component.java:4295)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message