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-1787) NullPointerException in DbEntityTabbedView.stateChanged(DbEntityTabbedView.java:95)
Date Mon, 07 Jan 2013 19:06:16 GMT

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

Andrus Adamchik updated CAY-1787:
---------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: CAY-1646
    
> NullPointerException in DbEntityTabbedView.stateChanged(DbEntityTabbedView.java:95)
> -----------------------------------------------------------------------------------
>
>                 Key: CAY-1787
>                 URL: https://issues.apache.org/jira/browse/CAY-1787
>             Project: Cayenne
>          Issue Type: Sub-task
>          Components: Modeler
>    Affects Versions: 3.1B1
>         Environment: OS X 10.8, CM 3.2M1-SNAPSHOT, Build Date: Dec 18 2012 09:51:56
>            Reporter: Andrus Adamchik
>             Fix For: 3.1B2, 3.2M1
>
>
> Can't reproduce this anymore, so this seems dependent on the previous state of the Modeler,
but I got the following stack trace when adding a new DbEntity to the existing model:
> CayenneModeler Info
> Version: 3.2M1-SNAPSHOT
> Build Date: Dec 18 2012 09:51:56
> Exception: 
> =================================
> java.lang.NullPointerException
> 	at org.apache.cayenne.modeler.editor.dbentity.DbEntityTabbedView.stateChanged(DbEntityTabbedView.java:95)
> 	at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
> 	at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
> 	at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
> 	at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
> 	at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
> 	at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
> 	at javax.swing.JTabbedPane.setSelectedComponent(JTabbedPane.java:657)
> 	at org.apache.cayenne.modeler.editor.dbentity.DbEntityTabbedView.currentDbEntityChanged(DbEntityTabbedView.java:113)
> 	at org.apache.cayenne.modeler.ProjectController.fireDbEntityDisplayEvent(ProjectController.java:1363)
> 	at org.apache.cayenne.modeler.action.CreateDbEntityAction.fireDbEntityEvent(CreateDbEntityAction.java:86)
> 	at org.apache.cayenne.modeler.action.CreateDbEntityAction.createEntity(CreateDbEntityAction.java:96)
> 	at org.apache.cayenne.modeler.action.CreateDbEntityAction.performAction(CreateDbEntityAction.java:69)
> 	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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message