sensor constructor should return null