Hi
Consider a rewrite that returns a List to be inlined in the List that the node being rewritten was in.
If it returns an empty list, then a null pointer exception is thrown from the line:
return newList.getChildNoTransform(0);
in rewriteTo().
Jesper
Jesper MATTSSON, MSc
Software Developer & IT Administrator
Phone direct: +46 73 324 5909
Email: jesper.mattsson_at_modelon.com<mailto:jesper.mattsson_at_modelon.com>
[cid:image001.png_at_01CCEFFB.E29C36E0]
________________________________
Modelon AB
Ideon Science Park
SE-223 70 Lund, Sweden
Phone: +46 46 286 2200
Fax: +46 46 286 2201
Web:
http://www.modelon.com<
http://www.modelon.com/>
Received on Mon Feb 20 2012 - 18:18:04 CET