Hi Jesper,
Are you trying to add a list in a list? When is this useful? Do you have
a small example?
Regards,
Emma
On 02/20/2012 06:17 PM, Jesper Mattsson wrote:
>
> 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>
>
>
> Description: Description: Description: Modelon_2011_Gradient_RGB_400
>
> ------------------------------------------------------------------------
>
> 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/>
>
>
>
> _______________________________________________
> JastAdd mailing list
> JastAdd_at_cs.lth.se
> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
Received on Wed Feb 22 2012 - 11:06:38 CET