branch develop updated (b6c955c -> 34486ea)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository tutti. See http://git.codelutin.com/tutti.git from b6c955c refs #6538 better handle erors new 34486ea fix NPE The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 34486ea1ba5d40c70b8321c12decf3288309618e Author: Kevin Morin <morin@codelutin.com> Date: Thu Feb 5 18:40:59 2015 +0100 fix NPE Summary of changes: .../ui/swing/content/operation/catches/EditCatchesUIHandler.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 34486ea1ba5d40c70b8321c12decf3288309618e Author: Kevin Morin <morin@codelutin.com> Date: Thu Feb 5 18:40:59 2015 +0100 fix NPE --- .../ui/swing/content/operation/catches/EditCatchesUIHandler.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesUIHandler.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesUIHandler.java index e27cc5f..dfafc77 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesUIHandler.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesUIHandler.java @@ -1139,8 +1139,10 @@ public class EditCatchesUIHandler extends AbstractTuttiTabContainerUIHandler<Edi } svgRelatedPropertyChangeListeners.clear(); - canvas.dispose(); - getUI().getSvgCanvasPanel().remove(canvas); + if (canvas != null) { + canvas.dispose(); + getUI().getSvgCanvasPanel().remove(canvas); + } } protected void addSvgRelatedPropertyChangeListener(String property, PropertyChangeListener listener) { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm