lucianobroussal / gwtwindowmanager

Automatically exported from code.google.com/p/gwtwindowmanager
0 stars 0 forks source link

NullPointer in IconBar #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a new GInternalFrame to a DesktopPane
2. Close the Frame without iconifing it
3.

What is the expected output? What do you see instead?

A NullPointer is thrown in removeFrame, ~ line 100 (last line) as hpicon is
null if the frame was never added to the IconBar.

What version of the product are you using? On what operating system?
0.6.6 on Windows XP.  Hosted mode

Please provide any additional information below.

Original issue reported on code.google.com by molson1...@gmail.com on 5 Aug 2008 at 4:48

GoogleCodeExporter commented 8 years ago
Adding

        if (!iconByFrame.containsKey(frame)) return;
 to the beginning of the removeFrame method fixes this problem.

Original comment by molson1...@gmail.com on 5 Aug 2008 at 4:50