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

com.ray3k.skincomposer.panel.PanelMenuBar: Error attempting to import JSON #13

Closed
felixvolz opened this issue Nov 15, 2016 · 1 comment

Comments

@felixvolz
Copy link

I like the look of skin-composer but cant make it work / or understand why it cant parse the a libgdx uiskin.json

I managed to get your dark-peel json working but nothing else

I've attached the error log and corresponding uiskin.json

`com.ray3k.skincomposer.panel.PanelMenuBar: Error attempting to import JSON
java.lang.NullPointerException
at com.ray3k.skincomposer.data.JsonData.readFile(JsonData.java:141)
at com.ray3k.skincomposer.panel.PanelMenuBar.lambda$importDialogWindows$34(PanelMenuBar.java:610)
at com.ray3k.skincomposer.dialog.DialogLoading.lambda$show$16(DialogLoading.java:56)
at com.badlogic.gdx.scenes.scene2d.actions.RunnableAction.run(RunnableAction.java:42)
at com.badlogic.gdx.scenes.scene2d.actions.RunnableAction.act(RunnableAction.java:32)
at com.badlogic.gdx.scenes.scene2d.actions.SequenceAction.act(SequenceAction.java:65)
at com.badlogic.gdx.scenes.scene2d.Actor.act(Actor.java:95)
at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:46)
at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:49)
at com.badlogic.gdx.scenes.scene2d.Stage.act(Stage.java:221)
at com.ray3k.skincomposer.Main.render(Main.java:288)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:255)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:141)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:110)
at com.ray3k.skincomposer.desktop.DesktopLauncher.main(DesktopLauncher.java:42)

font

uiskin

uiskin

`

@felixvolz
Copy link
Author

..and looks like its because I didnt have the font file in the right folder :-)

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

No branches or pull requests

1 participant