Hi Michiel,

Sounds strange because we use the same icon set since ten months ago
and never occurred something like this. But it is the problem.

I have changed my icons and now is all fine. Thanks!


On 11/25/06, Michiel van der Wulp <[EMAIL PROTECTED]> wrote:
Hi Christian,

I have seen this before.
It might sound strange, but this is mostly caused by an icon that is not
16x16 in the toolbar of your diagram.

Regards,
Michiel


----- Original Message -----
From: "Christian López Espínola" <[EMAIL PROTECTED]>
To: "ArgoUML-dev" <[email protected]>
Sent: Saturday, November 25, 2006 2:56 AM
Subject: [argouml-dev] Exceptions on Menus


> 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
>



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.14/548 - Release Date: 23/11/2006

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Regards,

Christian López Espínola

Reply via email to