Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/156#discussion_r17311881
  
    --- Diff: 
usage/camp/src/main/java/io/brooklyn/camp/brooklyn/spi/creation/BrooklynYamlTypeInstantiator.java
 ---
    @@ -97,7 +97,8 @@ public InstantiatorFromKey prefix(String prefix) {
                     if (result.isAbsent()) result = 
data.getStringKeyMaybe("type");
                 }
                 
    -            if (result.isAbsent()) return Maybe.absent("Missing key 
'"+getPreferredKeyName()+"'");
    +            if (result.isAbsent() || result.get()==null) 
    --- End diff --
    
    yeah, it surprised me too, but fair enough if someone puts an explicit null 
in the config map.  (not sure why that should happen however.)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to