Simulator not installing

capability

#1

I have a smartapp which I have been using for playing notifications on my Sonos musicplayer. It worked fine on the Simulator when I set it up a few weeks ago, but now when I try to install the Simulator it no longer lists any of my Sonos speakers, and I cannot complete the install.

It lists “virtual devices”, “sonos”, and “physical devices”, and there is one radio button on the same line as “sonos”.

I have these lines in my code (as usual):

	section {
		input "sonos", "capability.musicPlayer", title: "On this Speaker player", required: true
	}

I get this error message (which I didn’t use to get):

grails.validation.ValidationException: Validation Error(s) occurred during save():

  • Field error in object ‘physicalgraph.device.Device’ on field ‘name’: rejected value [null]; codes [physicalgraph.device.Device.name.nullable.error.physicalgraph.device.Device.name,physicalgraph.device.Device.name.nullable.error.name,physicalgraph.device.Device.name.nullable.error.java.lang.String,physicalgraph.device.Device.name.nullable.error,device.name.nullable.error.physicalgraph.device.Device.name,device.name.nullable.error.name,device.name.nullable.error.java.lang.String,device.name.nullable.error,physicalgraph.device.Device.name.nullable.physicalgraph.device.Device.name,physicalgraph.device.Device.name.nullable.name,physicalgraph.device.Device.name.nullable.java.lang.String,physicalgraph.device.Device.name.nullable,device.name.nullable.physicalgraph.device.Device.name,device.name.nullable.name,device.name.nullable.java.lang.String,device.name.nullable,nullable.physicalgraph.device.Device.name,nullable.name,nullable.java.lang.String,nullable]; arguments [name,class physicalgraph.device.Device]; default message [{0} cannot be null]