eMoflon / emoflon-ibex-ui

Independent and reusable GUI components for graph transformation rules and Triple Graph Grammars
GNU General Public License v3.0
5 stars 2 forks source link

GT Editor? #97

Closed anthonyanjorin closed 6 years ago

anthonyanjorin commented 6 years ago

I'm currently getting the following error (dev console) when I build GT projects from the test workspace:

java.lang.NullPointerException
    at org.emoflon.ibex.common.utils.IBeXPatternUtils.lambda$0(IBeXPatternUtils.java:26)
    at org.emoflon.ibex.common.utils.IBeXPatternUtils$$Lambda$635/1255435395.compare(Unknown Source)
    at java.util.TimSort.binarySort(TimSort.java:292)
    at java.util.TimSort.sort(TimSort.java:217)
    at java.util.Arrays.sort(Arrays.java:1512)
    at java.util.ArrayList.sort(ArrayList.java:1454)
    at org.emoflon.ibex.gt.transformations.EditorToIBeXPatternTransformation.createSortedPatternSet(EditorToIBeXPatternTransformation.java:78)
    at org.emoflon.ibex.gt.transformations.Editor
...
patrickrobrecht commented 6 years ago

I cannot reproduce this error in my test workspace. All GT projects from TestsuiteGT and de.upb.mbse.taxcalculationexample.businessrules build without any errors (using master branch of all repositories). How exactly do I reproduce this issue?

Note that is not an editor bug anyway as the transformation is in emoflon-ibex.

anthonyanjorin commented 6 years ago

I get the error as a print out in my dev console (while running the test workspace in a runtime eclipse instance). I guess it’s just robustness as everything works (no visible errors in the runtime workspace). If you can’t reproduce I’ll try to fix it myself.