[jira] Closed: (CAY-1036) I am working in linux and I want

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sat Nov 08 2008 - 13:59:11 EST

  • Next message: Andrus Adamchik (JIRA): "[jira] Closed: (CAY-708) Moddeler asked to submit a bug (while saving project)"

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

    Andrus Adamchik closed CAY-1036.
    --------------------------------

        Resolution: Cannot Reproduce

    > I am working in linux and I want
    > --------------------------------
    >
    > Key: CAY-1036
    > URL: https://issues.apache.org/cayenne/browse/CAY-1036
    > Project: Cayenne
    > Issue Type: Bug
    > Components: CayenneModeler GUI
    > Affects Versions: 3.0
    > Environment: Operating System Ubuntu 8.04, java version 1.6.0_03, intel pentiun 4, 1GB
    > Reporter: Francisco José CHAVES ALONSO
    > Assignee: Andrus Adamchik
    >
    > I rebuild the cayenne modeler using maven. It works perfect in windows XP using the java version but when I use the same jar in linux, when I try to use "Tools->Generate Classes" I got the following error:
    > CayenneModeler Info
    > Version: cayenne.version
    > Build Date: cayenne.build.date
    > Exception:
    > =================================
    > java.lang.NullPointerException
    > at org.apache.cayenne.access.ObjectStore.registerDiff(ObjectStore.java:187)
    > at org.apache.cayenne.access.ObjectStore.nodePropertyChanged(ObjectStore.java:1080)
    > at org.apache.cayenne.util.ObjectContextGraphAction.handleSimplePropertyChange(ObjectContextGraphAction.java:84)
    > at org.apache.cayenne.util.ObjectContextGraphAction.handlePropertyChange(ObjectContextGraphAction.java:68)
    > at org.apache.cayenne.access.DataContext.propertyChanged(DataContext.java:1584)
    > at org.apache.cayenne.CayenneDataObject.writeProperty(CayenneDataObject.java:227)
    > at org.apache.cayenne.modeler.pref._DataMapDefaults.setGeneratePairs(_DataMapDefaults.java:19)
    > at org.apache.cayenne.modeler.pref.DataMapDefaults.setPersistenceState(DataMapDefaults.java:66)
    > at org.apache.cayenne.access.DataContext.newObject(DataContext.java:744)
    > at org.apache.cayenne.access.DataContext.newObject(DataContext.java:710)
    > at org.apache.cayenne.pref.DomainPreference.getPreference(DomainPreference.java:105)
    > at org.apache.cayenne.pref.Domain.getDetail(Domain.java:232)
    > at org.apache.cayenne.modeler.ProjectController.getDataMapPreferences(ProjectController.java:303)
    > at org.apache.cayenne.modeler.dialog.codegen.StandardModeController.createDefaults(StandardModeController.java:45)
    > at org.apache.cayenne.modeler.dialog.codegen.GeneratorController.<init>(GeneratorController.java:67)
    > at org.apache.cayenne.modeler.dialog.codegen.StandardModeController.<init>(StandardModeController.java:33)
    > at org.apache.cayenne.modeler.dialog.codegen.GeneratorTabController.<init>(GeneratorTabController.java:55)
    > at org.apache.cayenne.modeler.dialog.codegen.CodeGeneratorController.<init>(CodeGeneratorController.java:49)
    > at org.apache.cayenne.modeler.action.GenerateCodeAction.performAction(GenerateCodeAction.java:47)
    > at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
    > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    > at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    > at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    > at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
    > at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
    > at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    > at java.awt.Component.processMouseEvent(Component.java:6038)
    > at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    > at java.awt.Component.processEvent(Component.java:5803)
    > at java.awt.Container.processEvent(Container.java:2058)
    > at java.awt.Component.dispatchEventImpl(Component.java:4410)
    > at java.awt.Container.dispatchEventImpl(Container.java:2116)
    > at java.awt.Component.dispatchEvent(Component.java:4240)
    > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    > at java.awt.Container.dispatchEventImpl(Container.java:2102)
    > at java.awt.Window.dispatchEventImpl(Window.java:2429)
    > at java.awt.Component.dispatchEvent(Component.java:4240)
    > at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    > at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    > at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    > at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Sat Nov 08 2008 - 13:59:33 EST