[OS-JIRA] Created: (CAY-232) modeler throws an exception in various circumstances

From: jir..bjectstyle.org
Date: Wed Nov 10 2004 - 04:30:46 EST

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-233) Can't save the model"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-232

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-232
        Summary: modeler throws an exception in various circumstances
           Type: Bug

         Status: Assigned
       Priority: Major

        Project: Cayenne
     Components:
                 CayenneModeler GUI
       Versions:
                 1.1

       Assignee: Andrus Adamchik
       Reporter: metronom

        Created: Wed, 10 Nov 2004 4:30 AM
        Updated: Wed, 10 Nov 2004 4:30 AM
    Environment: java 1.4.2, mac os x panther 10.3.6

    Description:
    - An exception (see below) is thrown when I try to generate tables or database schema.

    CayenneModeler Info
    Version: 1.1RC2
    Build Date: October 24 2004
    Exception:
    =================================
    org.objectstyle.cayenne.validation.ValidationException: [v.1.1RC2 October 24 2004] Validation has failed.
    Validation failure for org.objectstyle.cayenne.pref.Domain.name: "name" exceeds maximum allowed length (100 chars): 104
            at org.objectstyle.cayenne.access.ObjectStore.validateUncommittedObjects(ObjectStore.java:947)
            at org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:1260)
            at org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:1236)
            at org.objectstyle.cayenne.pref.Domain.getDetail(Domain.java:265)
            at org.objectstyle.cayenne.modeler.ProjectController.getDataMapPreferences(ProjectController.java:230)
            at org.objectstyle.cayenne.modeler.dialog.classgen.ClassGeneratorController.prepareModel(ClassGeneratorController.java:99)
            at org.objectstyle.cayenne.modeler.dialog.classgen.ClassGeneratorController.<init>(ClassGeneratorController.java:93)
            at org.objectstyle.cayenne.modeler.action.GenerateClassesAction.generateClasses(GenerateClassesAction.java:90)
            at org.objectstyle.cayenne.modeler.action.GenerateClassesAction.performAction(GenerateClassesAction.java:86)
            at org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:188)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
            at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
            at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
            at java.awt.Component.processMouseEvent(Component.java:5166)
            at java.awt.Component.processEvent(Component.java:4963)
            at java.awt.Container.processEvent(Container.java:1613)
            at java.awt.Component.dispatchEventImpl(Component.java:3681)
            at java.awt.Container.dispatchEventImpl(Container.java:1671)
            at java.awt.Component.dispatchEvent(Component.java:3543)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
            at java.awt.Container.dispatchEventImpl(Container.java:1657)
            at java.awt.Window.dispatchEventImpl(Window.java:1606)
            at java.awt.Component.dispatchEvent(Component.java:3543)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Wed Nov 10 2004 - 04:30:48 EST