Laboratory Four Discussion

If you have questions or comments about this laboratory, please post them here.Remember, this conversation should adhere to the Computer Science Department's Honor Code; it is acceptable to conduct high level conversations, but it is not acceptable to share source code! Remember, post your questions here instead of sending them to me via email! Greg


Exception occurred during event dispatching:
java.lang.NullPointerException
        at org.argouml.uml.diagram.sequence.ui.SequenceDiagramLayout.getMaxStimulusWidth(SequenceDiagramLayout.java:116)
        at org.argouml.uml.diagram.sequence.ui.SequenceDiagramLayout.placeAllFigures(SequenceDiagramLayout.java:160)
        at org.argouml.uml.diagram.sequence.ui.FigSeqObject.modelChanged(FigSeqObject.java:533)
        at org.argouml.uml.diagram.ui.FigNodeModelElement.setOwner(FigNodeModelElement.java:534)
        at org.argouml.uml.diagram.sequence.ui.FigSeqObject.setOwner(FigSeqObject.java:287)
        at org.tigris.gef.presentation.FigNode.postLoad(FigNode.java)
        at org.tigris.gef.base.LayerDiagram.postLoad(LayerDiagram.java)
        at org.tigris.gef.base.Diagram.postLoad(Diagram.java)
        at org.argouml.uml.diagram.sequence.ui.UMLSequenceDiagram.postLoad(UMLSequenceDiagram.java:165)
        at org.argouml.kernel.Project.postLoad(Project.java:856)
        at org.argouml.kernel.Project.loadProject(Project.java:235)
        at org.argouml.uml.ui.ActionOpenProject.actionPerformed(ActionOpenProject.java:118)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
        at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:886)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Configuration saved to /home/denapoli/argo.user.properties

Joe Zumpella and I created sequence diagrams for both of the labs, and when we went to retrieve them to print them out, we get this error:




which means we can't retrieve the diagrams we made and saved, which also means we would have to make them over again (which neither of us has time for)

Matt DeNapoli

Just a note for the sake of posterity: Matt was never able to recover these diagrams. When using ArgoUML, it is often important to save your diagrams initially and then make sure that you can reload them. I have not yet experienced a case where an initial reload success was later followed by a reload failure. Greg

Chris McNamara passed the following tip along to me:

I was using argoUML today and I found that if you increase the heap size it runs much faster. Just thought I'd pass that along.

C:\javatools\argoUML>java -jar argouml.jar -classpath . -Xmx128M



Link to this Page