Namek / artemis-odb-entity-tracker

:game_die: Visual Entity Tracker for ECS library: artemis-odb
http://namek.github.io/artemis-odb-entity-tracker/
26 stars 5 forks source link

NoSuchMethodError: com.artemis.EntitySubscription.getActiveEntityIds() #13

Open terebusk opened 2 years ago

terebusk commented 2 years ago

I'm getting this error when trying to run the tracker on artemis-odb 2.3.0. Happens with and without using gui (new EntityTrackerMainWindow())

Stack trace:

Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: com.artemis.EntitySubscription.getActiveEntityIds()Ljava/util/BitSet;
    at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:122)
    at com.kacpr.map.lwjgl3.Lwjgl3Launcher.createApplication(Lwjgl3Launcher.java:14)
    at com.kacpr.map.lwjgl3.Lwjgl3Launcher.main(Lwjgl3Launcher.java:10)
Caused by: java.lang.NoSuchMethodError: com.artemis.EntitySubscription.getActiveEntityIds()Ljava/util/BitSet;
    at net.namekdev.entity_tracker.EntityTracker.find42UnicornManagers(EntityTracker.java:107)
    at net.namekdev.entity_tracker.EntityTracker.initialize(EntityTracker.java:83)
    at com.artemis.WorldConfiguration.initializeSystems(WorldConfiguration.java:195)
    at com.artemis.WorldConfiguration.initialize(WorldConfiguration.java:179)
    at com.artemis.World.<init>(World.java:89)
    at com.kacpr.map.screens.MapTest.createSystems(MapTest.java:141)
Caused by: java.lang.NoSuchMethodError: com.artemis.EntitySubscription.getActiveEntityIds()Ljava/util/BitSet;

    at com.kacpr.map.screens.MapTest.create(MapTest.java:75)
    at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.initializeListener(Lwjgl3Window.java:433)
    at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:381)
    at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:143)
    at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:116)
    ... 2 more

> Task :lwjgl3:run FAILED

Execution failed for task ':lwjgl3:run'.
> Build cancelled while executing task ':lwjgl3:run'
Namek commented 2 years ago

Thanks for the report. Sadly, I don't develop this project since there was close to none interest and also I jumped over to Godot, so no more Java.