You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2005/12/28 23:34:28 UTC
svn commit: r359653 -
/portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal-site/src/java/org/apache/jetspeed/om/folder/proxy/FolderProxy.java
Author: taylor
Date: Wed Dec 28 14:34:26 2005
New Revision: 359653
URL: http://svn.apache.org/viewcvs?rev=359653&view=rev
Log:
NPE on /wip folder in demo psml using database PSML manager
Modified:
portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal-site/src/java/org/apache/jetspeed/om/folder/proxy/FolderProxy.java
Modified: portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal-site/src/java/org/apache/jetspeed/om/folder/proxy/FolderProxy.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal-site/src/java/org/apache/jetspeed/om/folder/proxy/FolderProxy.java?rev=359653&r1=359652&r2=359653&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal-site/src/java/org/apache/jetspeed/om/folder/proxy/FolderProxy.java (original)
+++ portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal-site/src/java/org/apache/jetspeed/om/folder/proxy/FolderProxy.java Wed Dec 28 14:34:26 2005
@@ -749,6 +749,8 @@
// create and save proxies for concrete children
NodeSet children = folder.getAll();
Iterator childrenIter = children.iterator();
+ if (childrenIter == null)
+ continue;
while (childrenIter.hasNext())
{
Node child = (Node)childrenIter.next();
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org