jford 2003/09/08 13:53:19 Modified: src/java/org/apache/jetspeed/modules/actions/controls Customize.java Log: Prevent null pointer exception if the profile in the rundata is null. PR: Bugzilla #22153 Revision Changes Path 1.17 +4 -0 jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Customize.java Index: Customize.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controls/Customize.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Customize.java 23 Jul 2003 19:50:11 -0000 1.16 +++ Customize.java 8 Sep 2003 20:53:19 -0000 1.17 @@ -104,6 +104,10 @@ { return; } + if(jdata.getProfile() == null) + { + return; + } // read some parameters String editMediaType = jdata.getParameters().getString ("mtype");
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]