cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dzmitry Kazimirchyk (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1797) NPE importing DataMap
Date Sun, 03 Nov 2013 21:26:17 GMT

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

Dzmitry Kazimirchyk closed CAY-1797.
------------------------------------

    Resolution: Fixed

Applied fix to both trunk and 3.1 branch. Thanks for the patch, Oleg.

> NPE importing DataMap
> ---------------------
>
>                 Key: CAY-1797
>                 URL: https://issues.apache.org/jira/browse/CAY-1797
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 3.1B1
>            Reporter: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.1B3, 3.2M2
>
>         Attachments: cay1797.patch
>
>
> Getting this error when attempting to import a DataMap from another location to an existing
project:
> CayenneModeler Info
> Version: 3.1B1
> Build Date: May 28 2012 21:18:00
> Exception: 
> =================================
> java.lang.NullPointerException
> 	at org.apache.cayenne.project.FileProjectSaver.createSaveUnit(FileProjectSaver.java:125)
> 	at org.apache.cayenne.project.FileProjectSaver.save(FileProjectSaver.java:75)
> 	at org.apache.cayenne.modeler.action.SaveAction.saveAll(SaveAction.java:70)
> 	at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:190)
> 	at org.apache.cayenne.modeler.action.SaveAsAction.performAction(SaveAsAction.java:179)
> 	at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:162)
> 	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
> 	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
> 	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
> 	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> 	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
> 	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
> 	at java.awt.Component.processMouseEvent(Component.java:6382)
> 	at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
> 	at java.awt.Component.processEvent(Component.java:6147)
> 	at java.awt.Container.processEvent(Container.java:2083)
> 	at java.awt.Component.dispatchEventImpl(Component.java:4744)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2141)
> 	at java.awt.Component.dispatchEvent(Component.java:4572)
> 	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
> 	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
> 	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2127)
> 	at java.awt.Window.dispatchEventImpl(Window.java:2489)
> 	at java.awt.Component.dispatchEvent(Component.java:4572)
> 	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704)
> 	at java.awt.EventQueue.access$400(EventQueue.java:82)
> 	at java.awt.EventQueue$2.run(EventQueue.java:663)
> 	at java.awt.EventQueue$2.run(EventQueue.java:661)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> 	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
> 	at java.awt.EventQueue$3.run(EventQueue.java:677)
> 	at java.awt.EventQueue$3.run(EventQueue.java:675)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:674)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message