Cayenne
  1. Cayenne
  2. CAY-1687

Null pointer exception when create flattenet attribute without type

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Exception occurred during event dispatching:
      org.apache.cayenne.swing.BindingException: [v.3.1M3 Sep 13 2011 19:17:16] Evaluation failed in context: org.apache.cayenne.modeler.dialog.objentity.ObjAttributeInfoDialog@6a2f81
             at org.apache.cayenne.swing.BindingBase.processException(BindingBase.java:186)
             at org.apache.cayenne.swing.BindingBase.getValue(BindingBase.java:171)
             at org.apache.cayenne.swing.ActionBinding.fireAction(ActionBinding.java:80)
             at org.apache.cayenne.swing.ActionBinding$1.actionPerformed(ActionBinding.java:42)
             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.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$000(Unknown Source)
             at java.awt.EventQueue$1.run(Unknown Source)
             at java.awt.EventQueue$1.run(Unknown Source)
             at java.security.AccessController.doPrivileged(Native Method)
             at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
             at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
             at java.awt.EventQueue$2.run(Unknown Source)
             at java.awt.EventQueue$2.run(Unknown Source)
             at java.security.AccessController.doPrivileged(Native Method)
             at java.security.AccessControlContext$1.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.pumpEventsForFilter(Unknown Source)
             at java.awt.Dialog$1.run(Unknown Source)
             at java.awt.Dialog$3.run(Unknown Source)
             at java.security.AccessController.doPrivileged(Native Method)
             at java.awt.Dialog.show(Unknown Source)
             at java.awt.Component.show(Unknown Source)
             at java.awt.Component.setVisible(Unknown Source)
             at java.awt.Window.setVisible(Unknown Source)
             at java.awt.Dialog.setVisible(Unknown Source)
             at org.apache.cayenne.modeler.dialog.objentity.ObjAttributeInfoDialog.startupAction(ObjAttributeInfoDialog.java:123)
             at org.apache.cayenne.modeler.editor.ObjEntityAttributeTab$2.actionPerformed(ObjEntityAttributeTab.java:170)
             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$000(Unknown Source)
             at java.awt.EventQueue$1.run(Unknown Source)
             at java.awt.EventQueue$1.run(Unknown Source)
             at java.security.AccessController.doPrivileged(Native Method)
             at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
             at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
             at java.awt.EventQueue$2.run(Unknown Source)
             at java.awt.EventQueue$2.run(Unknown Source)
             at java.security.AccessController.doPrivileged(Native Method)
             at java.security.AccessControlContext$1.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)
      Caused by: java.lang.NullPointerException
             at org.apache.cayenne.modeler.dialog.objentity.ObjAttributeInfoDialog.isChange(ObjAttributeInfoDialog.java:507)
             at org.apache.cayenne.modeler.dialog.objentity.ObjAttributeInfoDialog.setPath(ObjAttributeInfoDialog.java:419)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
             at java.lang.reflect.Method.invoke(Unknown Source)
             at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
             at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
             at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
             at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
             at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
             at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
             at ognl.SimpleNode.getValue(SimpleNode.java:210)
             at ognl.Ognl.getValue(Ognl.java:333)
             at ognl.Ognl.getValue(Ognl.java:413)
             at ognl.Ognl.getValue(Ognl.java:395)
             at org.apache.cayenne.swing.BindingBase.getValue(BindingBase.java:168)
             ... 82 more

        Activity

        Olga Tkacheva created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Olga Tkacheva
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development