Skip to content
Snippets Groups Projects
Commit 1fa2f7b9 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT Committed by Patrick MADELA
Browse files

NullPointerException avoided

parent b1e75020
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,8 @@ public class InfoNodeDockingManager extends ADockingManager {
@Override
public void applyPerspective(IPerspective perspective, JComponent dockingArea) throws DockingException {
DockingException dockingException = null;
if ((perspective != null) && (perspective.getByteArray().length > 0) && (dockingArea instanceof RootWindow)) {
if ((perspective != null) && (perspective.getByteArray() != null) && (perspective.getByteArray().length > 0)
&& (dockingArea instanceof RootWindow)) {
RootWindow rootWindow = (RootWindow) dockingArea;
ObjectInputStream ois = null;
ByteArrayInputStream bais = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment