Objects without states cause the solr index to fail.
Some data on the demo content makes this issue to happen.
Objects 102-104 don't have any row in ezcobj_state_link and that makes the indexing fail. Adding states to these objects will solve the issue.
Object 101 is not a complete object and the indexing also fails because of that.
Removing all traces of that object will make solr indexing to continue without breaking on this particular object.
Steps to reproduce:
Run php app/console --env=prod ezplatform:solr_create_index
It will generate the following:
Tested with the following package versions: