Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console not working with latest libgdx v1.9.4 #20

Closed
bladecoder opened this issue Sep 7, 2016 · 7 comments
Closed

Console not working with latest libgdx v1.9.4 #20

bladecoder opened this issue Sep 7, 2016 · 7 comments
Labels
bug

Comments

@bladecoder
Copy link

@bladecoder bladecoder commented Sep 7, 2016

Hi!

With the latest libgdx version (1.9.4) the console doesn't work.

The stacktrace:

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoSuchMethodError: com.badlogic.gdx.scenes.scene2d.Stage.setKeyboardFocus(Lcom/badlogic/gdx/scenes/scene2d/Actor;)V
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:131)
Caused by: java.lang.NoSuchMethodError: com.badlogic.gdx.scenes.scene2d.Stage.setKeyboardFocus(Lcom/badlogic/gdx/scenes/scene2d/Actor;)V
    at com.strongjoshua.console.GUIConsole.<init>(GUIConsole.java:111)
    at com.strongjoshua.console.GUIConsole.<init>(GUIConsole.java:69)
    at com.strongjoshua.console.GUIConsole.<init>(GUIConsole.java:60)
    at com.bladecoder.engineeditor.Editor.create(Editor.java:151)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:147)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
@DenialAdams
Copy link

@DenialAdams DenialAdams commented Sep 7, 2016

Same issue. Regardless, thanks for the awesome project!

@StrongJoshua
Copy link
Owner

@StrongJoshua StrongJoshua commented Sep 7, 2016

Shouldn't be a hard fix. I'll take a look at it when I'm free later today, or if you're free, one of you (or anyone reading this) can submit a pull request.

@StrongJoshua StrongJoshua added the bug label Sep 7, 2016
@aitor3ml
Copy link

@aitor3ml aitor3ml commented Sep 7, 2016

Recompiling the project after upgrading pom.xml (gdx to 1.9.4) worked for me.

@StrongJoshua
Copy link
Owner

@StrongJoshua StrongJoshua commented Sep 7, 2016

That's strange... It should download it's own 1.9.3 LibGdx jar since that's the listed dependency. Someone send a pull request if the general consensus is that that was the problem.

@StrongJoshua
Copy link
Owner

@StrongJoshua StrongJoshua commented Sep 8, 2016

The readme is currently misleading, I apologize. I won't be able to deploy until tomorrow when I have access to my desktop with my signing secret key.

@DenialAdams
Copy link

@DenialAdams DenialAdams commented Sep 8, 2016

Thanks for your work! Eager to pull this in an update :)

Also, I dunno if your profile is current, but I'm a sophomore CS major as well!

@StrongJoshua
Copy link
Owner

@StrongJoshua StrongJoshua commented Sep 9, 2016

The fix has been deployed. The newest version is 0.5.1. Hope this resolves everyone's problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.