<br><font size=2 face="sans-serif">The problem that links to elements are
nur nulled-out when the element is &quot;deleted&quot;, as it was the case
in MOIN.</font>
<table>
<tr>
<td valign=top><img src=cid:_1_0791CC840791C89C00500F16C1257834>
<td><font size=3>&nbsp; </font>
<td><font size=1 face="Verdana"><b>Thomas Goldschmidt </b><br>
<br>
ABB AG<br>
Forschungszentrum<br>
Wallstadter Straße 59<br>
68526 Ladenburg<br>
Office Phone: +49 6203 716134<br>
Office Fax: +49 6203 716253<br>
e-mail:</font><font size=1 color=blue face="Verdana"> thomas.goldschmidt@de.abb.com</font></table>
<br><font size=3><br>
</font><font size=1 color=#808080 face="Verdana"><br>
ABB AG<br>
Sitz/Head Office: Mannheim <br>
Registergericht/Registry Court: Mannheim<br>
Handelsregisternummer/Commercial Register No.: HRB 4664<br>
Geschäftsführung/Managing Board: Peter Smits (Vorsitzender), Joachim Schneider,
Markus Ochsner, Hans-Georg Krabbe<br>
Vorsitzender des Aufsichtsrats/Chairman of Supervisory Board: Bernhard
Jucker<br>
<br>
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, informieren Sie bitte sofort den Absender und vernichten
Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail ist nicht gestattet. <br>
<br>
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.</font><font size=3> <br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=24%><font size=1 face="sans-serif"><b>&quot;Uhl, Axel&quot; &lt;axel.uhl@sap.com&gt;</b>
</font>
<p><font size=1 face="sans-serif">11.02.2011 15:05</font><font size=3>
</font>
<td width=75%>
<br>
<table width=100%>
<tr valign=top>
<td width=6%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=93%><font size=1 face="sans-serif">Thomas Goldschmidt/DEABB/ABB@ABB,
&quot;furcas-discussion@lists.furcas.org&quot; &lt;furcas-discussion@lists.furcas.org&gt;</font><font size=3>
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: [furcas-discussion] [IMP] Incremental
Lexer Crashes</font></table>
<br>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br><font size=3><br>
<br>
</font><font size=3 color=#004080 face="Calibri"><br>
Did I miss something? Which of the horrible EMF element lifecycle aspects
was at fault and how?</font><font size=3> </font><font size=3 color=#004080 face="Calibri"><br>
 </font><font size=3>&nbsp;</font><font size=3 color=#004080 face="Calibri"><br>
Cheers,</font><font size=3> </font><font size=3 color=#004080 face="Calibri"><br>
-- Axel</font><font size=3> </font><font size=3 color=#004080 face="Calibri"><br>
 </font><font size=3>&nbsp;</font><font size=3 face="Tahoma"><b><br>
From:</b> furcas-discussion-bounces@lists.furcas.org [mailto:furcas-discussion-bounces@lists.furcas.org]
<b>On Behalf Of </b>Thomas Goldschmidt<b><br>
Sent:</b> Friday, February 11, 2011 2:40 PM<b><br>
To:</b> furcas-discussion@lists.furcas.org<b><br>
Subject:</b> Re: [furcas-discussion] [IMP] Incremental Lexer Crashes</font><font size=3>
</font><font size=3 face="Times New Roman"><br>
 </font><font size=3>&nbsp;</font><font size=3 face="Arial"><br>
<br>
Thanks a lot! Sorry, that I had no time to do this myself.</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
<br>
One more things about the horrible model element lifecycle in EMF :(</font><font size=3>
</font>
<p>
<table>
<tr>
<td valign=top><img src=cid:_1_07981D94079819AC00500F16C1257834>
<td><font size=3 face="Times New Roman">&nbsp; </font>
<td><font size=3 face="Verdana"><b>Thomas Goldschmidt </b><br>
<br>
ABB AG<br>
Forschungszentrum<br>
Wallstadter Straße 59<br>
68526 Ladenburg<br>
Office Phone: +49 6203 716134<br>
Office Fax: +49 6203 716253<br>
e-mail:</font><font size=3 color=blue face="Verdana"> thomas.goldschmidt@de.abb.com</font></table>
<br><font size=3 face="Times New Roman"><br>
</font><font size=3 color=#808080 face="Verdana"><br>
<br>
ABB AG<br>
Sitz/Head Office: Mannheim <br>
Registergericht/Registry Court: Mannheim<br>
Handelsregisternummer/Commercial Register No.: HRB 4664<br>
Geschäftsführung/Managing Board: Peter Smits (Vorsitzender), Joachim Schneider,
Markus Ochsner, Hans-Georg Krabbe<br>
Vorsitzender des Aufsichtsrats/Chairman of Supervisory Board: Bernhard
Jucker<br>
<br>
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, informieren Sie bitte sofort den Absender und vernichten
Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail ist nicht gestattet. <br>
<br>
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.</font><font size=3 face="Times New Roman"> </font>
<p>
<table width=100%>
<tr valign=top>
<td width=45%><font size=3 face="Arial"><b>Stephan Erb &lt;stephan@dev.static-void.de&gt;</b>
<br>
Sent by: furcas-discussion-bounces@lists.furcas.org</font><font size=3 face="Times New Roman">
</font>
<p><font size=3 face="Arial">11.02.2011 14:37</font><font size=3 face="Times New Roman">
</font>
<td width=54%>
<br>
<table width=100%>
<tr valign=top>
<td width=12%>
<div align=right><font size=3 face="Arial">To</font></div>
<td width=87%><font size=3 face="Arial">furcas-discussion@lists.furcas.org</font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td>
<div align=right><font size=3 face="Arial">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=3 face="Arial">Subject</font></div>
<td><font size=3 face="Arial">Re: [furcas-discussion] [IMP] Incremental
Lexer Crashes</font></table>
<br><font size=3 face="Times New Roman"><br>
 </font><font size=3>&nbsp;</font>
<p>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<p></table>
<br><font size=3 face="Times New Roman"><br>
<br>
</font><font size=3 face="Courier New"><br>
<br>
For the record: It's fixed in </font><a href="https://github.com/FURCAS-dev/FURCAS/commit/397d33c6ccc9b020041ed68fab741380cdd61a78"><font size=3 color=blue face="Courier New"><u>https://github.com/FURCAS-dev/FURCAS/commit/397d33c6ccc9b020041ed68fab741380cdd61a78<br>
<br>
On Sat, 2011-02-05 at 15:58 +0100, Stephan Erb wrote:<br>
&gt; Hey Thomas,<br>
&gt; <br>
&gt; the IMP branch contains the first partially working IMP editor (see<br>
&gt; [1]). Unfortunately the incremental lexer is crashing regularly and
I am<br>
&gt; unable to find the cause.<br>
&gt; <br>
&gt; The lexer dies with: <br>
&gt; <br>
&gt; java.lang.ArrayIndexOutOfBoundsException<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at java.lang.System.arraycopy(Native
Method)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:446)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(NotifyingListImpl.java:393)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:377)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:345)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at com.sap.ide.cts.parser.incremental.IncrementalLexer.addTokenIfNecessaryAndUpdateOffetsAndLengths(IncrementalLexer.java:675)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at com.sap.ide.cts.parser.incremental.IncrementalLexer.lexPhase(IncrementalLexer.java:528)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at com.sap.ide.cts.parser.incremental.IncrementalLexer.lex(IncrementalLexer.java:160)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at com.sap.ide.cts.parser.incremental.antlr.ANTLRIncrementalLexerAdapter.lex(ANTLRIncrementalLexerAdapter.java:301)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at com.sap.furcas.ide.editor.imp.services.FurcasParseController.parse(FurcasParseController.java:138)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at com.sap.furcas.ide.editor.commands.ParseCommand.execute(ParseCommand.java:30)<br>
&gt; <br>
&gt; At lines 518 and 519 within the IncrementalLexer we seem to have<br>
&gt; inconsistently versioned TextBlocks: We have a token and its parent<br>
&gt; block within the previous version. Now we map both to the current<br>
&gt; version. However, during this process, the parent child relation seems<br>
&gt; to get lost. The block does no longer contain the token. <br>
&gt; <br>
&gt; Given your experience with all this TextBlocks versioning, any idea<br>
&gt; where I should start digging? <br>
&gt; <br>
&gt; Thanks!<br>
&gt; Stephan<br>
&gt; <br>
&gt; PS: If you want to try it yourself you have to install IMP from<br>
&gt; </u></font></a><a href=http://download.eclipse.org/technology/imp/updates/><font size=3 color=blue face="Courier New"><u>http://download.eclipse.org/technology/imp/updates/<br>
&gt; <br>
&gt; <br>
&gt; [1]<br>
&gt; </u></font></a><a href="https://github.com/FURCAS-dev/FURCAS/blob/imp/DSLEngineering/com.sap.furcas.ide.editor/src/com/sap/furcas/ide/editor/imp/"><font size=3 color=blue face="Courier New"><u>https://github.com/FURCAS-dev/FURCAS/blob/imp/DSLEngineering/com.sap.furcas.ide.editor/src/com/sap/furcas/ide/editor/imp/<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Furcas-discussion mailing list<br>
&gt; Furcas-discussion@lists.furcas.org<br>
&gt; </u></font></a><a href="http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion"><font size=3 color=blue face="Courier New"><u>http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion<br>
<br>
<br>
_______________________________________________<br>
Furcas-discussion mailing list<br>
Furcas-discussion@lists.furcas.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion"><font size=3 color=blue face="Courier New"><u>http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion</u></font></a><font size=3>
</font>