java.lang.IllegalArgumentException: Missing LabelStyle font.

GitHub | voodoosoft | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Missing LabelStyle font.

    at com.badlogic.gdx.scenes.scene2d.ui.Label.setStyle()
  2. libGDX Core
    Label.<init>
    1. com.badlogic.gdx.scenes.scene2d.ui.Label.setStyle(Label.java:78)
    2. com.badlogic.gdx.scenes.scene2d.ui.Label.<init>(Label.java:72)
    2 frames
  3. com.ray3k.skincomposer
    PanelClassBar$5.changed
    1. com.ray3k.skincomposer.panel.PanelPreviewProperties.render(PanelPreviewProperties.java:1100)
    2. com.ray3k.skincomposer.panel.PanelPreviewProperties.populate(PanelPreviewProperties.java:981)
    3. com.ray3k.skincomposer.panel.PanelClassBar$5.changed(PanelClassBar.java:138)
    3 frames
  4. libGDX Core
    SelectBox.setSelected
    1. com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
    2. com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:181)
    3. com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:146)
    4. com.badlogic.gdx.scenes.scene2d.utils.Selection.fireChangeEvent(Selection.java:218)
    5. com.badlogic.gdx.scenes.scene2d.utils.Selection.set(Selection.java:103)
    6. com.badlogic.gdx.scenes.scene2d.ui.SelectBox.setSelected(SelectBox.java:260)
    6 frames
  5. com.ray3k.skincomposer
    PanelClassBar$1.changed
    1. com.ray3k.skincomposer.panel.PanelClassBar$1.changed(PanelClassBar.java:87)
    1 frame
  6. libGDX Core
    InputEventQueue.drain
    1. com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
    2. com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:181)
    3. com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:146)
    4. com.badlogic.gdx.scenes.scene2d.utils.Selection.fireChangeEvent(Selection.java:218)
    5. com.badlogic.gdx.scenes.scene2d.utils.Selection.choose(Selection.java:52)
    6. com.badlogic.gdx.scenes.scene2d.utils.ArraySelection.choose(ArraySelection.java:46)
    7. com.badlogic.gdx.scenes.scene2d.ui.SelectBox$SelectBoxList$2.clicked(SelectBox.java:364)
    8. com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:89)
    9. com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:58)
    10. com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:353)
    11. com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:81)
    11 frames
  7. com.badlogic.gdx
    Lwjgl3Application.<init>
    1. com.badlogic.gdx.backends.lwjgl3.Lwjgl3Input.update(Lwjgl3Input.java:198)
    2. com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:257)
    3. com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:138)
    4. com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:107)
    4 frames
  8. com.ray3k.skincomposer
    DesktopLauncher.main
    1. com.ray3k.skincomposer.desktop.DesktopLauncher.main(DesktopLauncher.java:41)
    1 frame