Motion Sensor Null?

Items: (i have 1 of these commented out at a time, used for testing)

Contact PirTest “Motion MQTT” {mqtt=“<[mqttbroker:mygateway1-out/10/4/1/0/16:state:MAP(motion.map)]”}
Number PirTest “Motion MQTT [%.1f]” {mqtt=“<[mqttbroker:mygateway1-out/10/4/1/0/16:state:default)]”}

motion map

1=OPEN
0=CLOSED

sitemap

Text item=PirTest

Openhab.log

   **this is when Number PirTest is active**
    2016-02-12 22:29:11.414 [INFO ] [c.internal.ModelRepositoryImpl] - Refreshing model 'home.items'  
    2016-02-12 22:29:17.301 [WARN ] [.c.i.events.EventPublisherImpl] - given new state is NULL, couldn't post update for 'PirTest'
    2016-02-12 22:30:06.587 [WARN ] [.c.i.events.EventPublisherImpl] - given new state is NULL, couldn't post update for 'PirTest'
    2016-02-12 22:36:11.763 [INFO ] [c.internal.ModelRepositoryImpl] - Refreshing model 'home.items'
   **this is when Contact PirTest is active**
    2016-02-12 22:36:12.004 [ERROR] [.o.m.c.i.folder.FolderObserver] - An unexpected exception has occured
    java.lang.IllegalArgumentException: No enum constant org.openhab.core.library.types.OpenClosedType.0
    	at java.lang.Enum.valueOf(Enum.java:238) ~[na:1.8.0_72]
    	at org.openhab.core.library.types.OpenClosedType.valueOf(OpenClosedType.java:1) ~[na:na]
    	at org.openhab.persistence.mysql.internal.MysqlPersistenceService.query(MysqlPersistenceService.java:647) ~[na:na]
    	at org.openhab.core.persistence.internal.PersistenceManager.initialize(PersistenceManager.java:369) ~[na:na]
    	at org.openhab.core.persistence.internal.PersistenceManager.itemAdded(PersistenceManager.java:342) ~[na:na]
    	at org.openhab.core.persistence.internal.PersistenceManager.allItemsChanged(PersistenceManager.java:337) ~[na:na]
    	at org.openhab.core.internal.items.ItemRegistryImpl.allItemsChanged(ItemRegistryImpl.java:201) ~[na:na]
    	at org.openhab.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:393) ~[na:na]
    	at org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:159) ~[na:na]
    	at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:100) ~[na:na]
    	at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) ~[na:na]
    	at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) ~[na:na]

So i am pretty sure somewhere along the line between the OPEN and CLOSED states the sensor is also reading a null state from somewhere. when done as a contact, and following along on the mqtt mosquitto server (using mqtt.fx) i can see when the sensor sees motion it posts a 1, when the time expires, it posts a 0, and the Contact icon changes along with it.

i would actually not have noticed this issue if i didnt check the openhab.log to make sure it all looked good, but now i cant seem to be able to stop the issue. Any ideas here?