LEMS/jLEMS — pull request #42 by dkruchinin (2014-10-19 10:42:13+00:00)
Title: LEMSBuilder: skip components without ID

When I tried to run [muscle_model](https://github.com/openworm/muscle_model/tree/master/NeuroML2) simulation in Geppetto I faced with null pointer dereference exception that I described in details [here](https://github.com/openworm/org.geppetto/issues/267#issuecomment-59546305).

This problem happens because [Figure2A.net.nml](https://github.com/openworm/muscle_model/blob/master/NeuroML2/Figure2A.net.nml#L5) contains the following lines:

```xml

```

which are interpreted as components without IDs. When LEMSBuilder tries to dereference one of them, the described exception is raised.

I'm not sure what kind of behaviour is preferred in this case, LEMSBuilder can either just skip empty component (as this pull request does) or it can raise a decent exception.