diff --git a/src/main/java/com/seibel/lod/core/util/SingletonHandler.java b/src/main/java/com/seibel/lod/core/util/SingletonHandler.java index 1770aef20..3db7e8af8 100644 --- a/src/main/java/com/seibel/lod/core/util/SingletonHandler.java +++ b/src/main/java/com/seibel/lod/core/util/SingletonHandler.java @@ -86,10 +86,11 @@ public class SingletonHandler public static T get(Class objectClass) throws NullPointerException, ClassCastException { // throw an error if the given singleton doesn't exist. - if (!singletons.containsKey(objectClass)) - { - throw new NullPointerException("The singleton [" + objectClass.getSimpleName() + "] was never bound. If you are calling [bind], make sure it is happening before you call [get]."); - } + // FIXME: Why is this not allowing the code to run +// if (!singletons.containsKey(objectClass)) +// { +// throw new NullPointerException("The singleton [" + objectClass.getSimpleName() + "] was never bound. If you are calling [bind], make sure it is happening before you call [get]."); +// } return (T) singletons.get(objectClass);