Namek/artemis-odb-entity-tracker

Incompatible with artemis-odb:1.4.0

DigitalCowboy opened this issue · 1 comments

I am getting a NoSuchMethodError when running agains artemis-odb:1.4.0:

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: com.artemis.ComponentMapper.getFor(Ljava/lang/Class;Lcom/artemis/World;)Lcom/artemis/ComponentMapper;
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:131)
Caused by: java.lang.NoSuchMethodError: com.artemis.ComponentMapper.getFor(Ljava/lang/Class;Lcom/artemis/World;)Lcom/artemis/ComponentMapper;
    at net.namekdev.entity_tracker.EntityTracker.inspectNewComponentTypesAndNotify(EntityTracker.java:227)
    at net.namekdev.entity_tracker.EntityTracker.added(EntityTracker.java:200)
    at com.artemis.Manager.added(Manager.java:74)
    at com.artemis.Manager.access$000(Manager.java:22)
    at com.artemis.Manager$1.inserted(Manager.java:57)
    at com.artemis.EntitySubscription.informEntityChanges(EntitySubscription.java:159)
    at com.artemis.EntitySubscription.processAll(EntitySubscription.java:146)
    at com.artemis.AspectSubscriptionManager.process(AspectSubscriptionManager.java:78)
    at com.artemis.BatchChangeProcessor.update(BatchChangeProcessor.java:66)
    at com.artemis.World.process(World.java:396)
    at com.digitalcowboy.Launcher.render(Launcher.java:133)
Namek commented

Thanks to #8 SNAPSHOT version should support artemis-odb 2.0.0 and it seems to be impossible to support both 1.x and 2.x so I close this issue.