From: SourceForge.net <no...@so...> - 2012-08-23 08:11:52
|
Bugs item #3560927, was opened at 2012-08-23 01:11 Message generated for change (Tracker Item Submitted) made by rubinovk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=3560927&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Konstantin_R (rubinovk) Assigned to: Nobody/Anonymous (nobody) Summary: NPE in BlockContainer for ColumnArrangement Initial Comment: According to the documentation BlockContainer's method add() permits null values. However, it's method arrange() fails with NullPointerException for ColumnArrangement arrangement in this case. Code that shows the problem: public void testBlockContainerArrange() throws Exception { BlockContainer container = new BlockContainer(new ColumnArrangement()); container.add(null); // null is permitted container.arrange(null, new RectangleConstraint(20, 10)); } The exact same problem occurs for FlowArrangement and does not occur for other arrangements. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=3560927&group_id=15494 |
From: SourceForge.net <no...@so...> - 2012-08-23 08:32:10
|
Bugs item #3560930, was opened at 2012-08-23 01:32 Message generated for change (Tracker Item Submitted) made by rubinovk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=3560930&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Konstantin_R (rubinovk) Assigned to: Nobody/Anonymous (nobody) Summary: NPE in BlockContainer for ColumnArrangement Initial Comment: According to the documentation BlockContainer's method add() permits null values. However, it's method arrange() fails with NullPointerException for ColumnArrangement arrangement in this case. Code that shows the problem: public void testBlockContainerArrange() throws Exception { BlockContainer container = new BlockContainer(new ColumnArrangement()); container.add(null); // null is permitted container.arrange(null, new RectangleConstraint(20, 10)); } The exact same problem occurs for FlowArrangement and does not occur for other arrangements. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=3560930&group_id=15494 |
From: SourceForge.net <no...@so...> - 2012-08-23 08:33:01
|
Bugs item #3560930, was opened at 2012-08-23 01:32 Message generated for change (Settings changed) made by rubinovk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=3560930&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None >Status: Deleted Resolution: None Priority: 5 Private: No Submitted By: Konstantin_R (rubinovk) Assigned to: Nobody/Anonymous (nobody) Summary: NPE in BlockContainer for ColumnArrangement Initial Comment: According to the documentation BlockContainer's method add() permits null values. However, it's method arrange() fails with NullPointerException for ColumnArrangement arrangement in this case. Code that shows the problem: public void testBlockContainerArrange() throws Exception { BlockContainer container = new BlockContainer(new ColumnArrangement()); container.add(null); // null is permitted container.arrange(null, new RectangleConstraint(20, 10)); } The exact same problem occurs for FlowArrangement and does not occur for other arrangements. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=3560930&group_id=15494 |