cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2318) Query. Exception after Undo clicking
Date Thu, 15 Jun 2017 10:58:00 GMT

    [ https://issues.apache.org/jira/browse/CAY-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050327#comment-16050327
] 

ASF GitHub Bot commented on CAY-2318:
-------------------------------------

GitHub user nismooooooo opened a pull request:

    https://github.com/apache/cayenne/pull/229

    CAY-2318 Query. Exception after Undo clicking

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nismooooooo/cayenne CAY-2318

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cayenne/pull/229.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #229
    
----
commit 584ed2892558b91ac300cd78bbe820db6f7fedf8
Author: Anton Dreka <drekoas@gmail.com>
Date:   2017-06-15T10:55:52Z

    CAY-2318 Query. Exception after Undo clicking

----


> Query. Exception after Undo clicking
> ------------------------------------
>
>                 Key: CAY-2318
>                 URL: https://issues.apache.org/jira/browse/CAY-2318
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.0.B1
>         Environment: Win7 x64
>            Reporter: Yury Harachka
>            Priority: Minor
>         Attachments: 1.png
>
>
> *Steps:*
> 1. Press on 'Create Query' button
> 2. Select in dialog 'Raw SQL' and press 'Create' button
> 3. Open 'SQL Scripts' tab
> -> 'Default' item is selected by default
> 4. Type any text into string on the right
> 5. Select another item eg. 'Generic JDBC Adapter'
> 6. Press on Undo button
> *Actual:* Exception occurs (see 1.png)
> {code}22.05.2017 20:38:04 INFO: Starting CayenneModeler.
> 22.05.2017 20:38:04 INFO: JRE v.1.8.0_131 at C:\Program Files (x86)\Java\jre1.8.0_131
> 22.05.2017 20:38:06 INFO: Loading XML configuration resource from file:/D:/QA/PostgreSQL/cayenne-project.xml
> 22.05.2017 20:38:06 INFO: Loading XML DataMap resource from file:/D:/QA/PostgreSQL/datamap.map.xml
> 22.05.2017 20:38:26 ERROR: CayenneModeler Error
> javax.swing.undo.CannotUndoException
> 	at javax.swing.text.GapContent$InsertUndo.undo(Unknown Source)
> 	at javax.swing.undo.CompoundEdit.undo(Unknown Source)
> 	at javax.swing.text.AbstractDocument$DefaultDocumentEvent.undo(Unknown Source)
> 	at javax.swing.undo.CompoundEdit.undo(Unknown Source)
> 	at org.apache.cayenne.modeler.undo.TextCompoundEdit.undo(TextCompoundEdit.java:181)
> 	at javax.swing.undo.UndoManager.undoTo(Unknown Source)
> 	at javax.swing.undo.UndoManager.undo(Unknown Source)
> 	at org.apache.cayenne.modeler.undo.CayenneUndoManager.undo(CayenneUndoManager.java:80)
> 	at org.apache.cayenne.modeler.action.UndoAction.performAction(UndoAction.java:57)
> 	at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
> 	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.plaf.basic.BasicButtonListener.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.dispatchEventImpl(Unknown Source)
> 	at java.awt.EventQueue.access$500(Unknown Source)
> 	at java.awt.EventQueue$3.run(Unknown Source)
> 	at java.awt.EventQueue$3.run(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
> 	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
> 	at java.awt.EventQueue$4.run(Unknown Source)
> 	at java.awt.EventQueue$4.run(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
> 	at java.awt.EventQueue.dispatchEvent(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message