|
[argouml-dev] Exceptions on Menus: msg#00041db.axion.devel
Hi all, First at all, I must say that I had no time for reviewing the loading problems I've mentioned some weeks ago. I will do in a few weeks, and I will talk about them in this list. Right now I have another problem with more priority for me. With the latest version of the svn, when I click on some of the options of my submenu, the GUI crashes. If I minimize Argo and maximize again, it shows nice, but it is a little discomforting. I have uploaded a screenshot here: http://talika.eii.us.es/~penyaskito/screenshot_macmas.png I paste the exception: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at java.awt.Rectangle.setBounds(Unknown Source) at javax.swing.RepaintManager.collectDirtyComponents(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow n Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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) Some of my code... private JMenuItem menuItemTraceability; [...] menuItemTraceability.addActionListener(this); [...] public void actionPerformed(ActionEvent event) { LOG.info("User clicked on '" + event.getActionCommand() + "'"); Project p = ProjectManager.getManager().getCurrentProject(); Object ns = findNamespace(); if (ns != null) { UMLDiagram diagram=null; if (event.getSource().equals(menuItemTraceability)) diagram = (new ActionTraceabilityDiagram()).createDiagram(ns); if(diagram != null){ p.addMember(diagram); ExplorerEventAdaptor.getInstance().modelElementAdded(ns); TargetManager.getInstance().setTarget(diagram); } } } Thanks for your help -- Regards, Christian López Espínola |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [argouml-dev] What is the status of the Undo feature?: 00041, Bob Tarling |
|---|---|
| Next by Date: | Re: [argouml-dev] Exceptions on Menus: 00041, Michiel van der Wulp |
| Previous by Thread: | [argouml-dev] What is the status of the Undo feature?i: 00041, Michiel van der Wulp |
| Next by Thread: | Re: [argouml-dev] Exceptions on Menus: 00041, Michiel van der Wulp |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |