Check against dbmap NullPointerException in getParent()
This commit is contained in:
parent
cdba357096
commit
bebeecfa77
1 changed files with 1 additions and 1 deletions
|
@ -702,7 +702,7 @@ public final class Node implements INode, Serializable {
|
||||||
// check what's specified in the type.properties for this node.
|
// check what's specified in the type.properties for this node.
|
||||||
ParentInfo[] parentInfo = null;
|
ParentInfo[] parentInfo = null;
|
||||||
|
|
||||||
if (lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
|
if (dbmap != null && lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
|
||||||
parentInfo = dbmap.getParentInfo();
|
parentInfo = dbmap.getParentInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue