Revision: 1310
          http://stripes.svn.sourceforge.net/stripes/?rev=1310&view=rev
Author:   bengunter
Date:     2010-11-10 15:42:05 +0000 (Wed, 10 Nov 2010)

Log Message:
-----------
Applied fix for STS-745 from 1.5.x branch.

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java 
2010-11-10 14:53:10 UTC (rev 1309)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java 
2010-11-10 15:42:05 UTC (rev 1310)
@@ -321,7 +321,9 @@
     public HashMap<String, Class<? extends ActionBean>> getPathMap() {
         HashMap<String, Class<? extends ActionBean>> map = new HashMap<String, 
Class<? extends ActionBean>>();
         for (Entry<String, UrlBinding> entry : pathCache.entrySet()) {
-            map.put(entry.getKey(), entry.getValue().getBeanType());
+            if (entry.getValue() != null) {
+                map.put(entry.getKey(), entry.getValue().getBeanType());
+            }
         }
         return map;
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Stripes-development mailing list
Stripes-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to