java.lang.NullPointerException: null

GitHub | small-jeeper | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Crash on "preview" or "config" buttons on create world screen, TTA active

    GitHub | 2 years ago | Cervator
    org.reflections.ReflectionsException: could not get type for name org.terasology.was.generator.plant.forest.tree.BroomForestSpawnDefinition

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.terasology.rendering.nui.layers.mainMenu.SelectModulesScreen.setSelectedVersions()
    2. org.terasology.rendering
      NUIManagerInternalMethodAccess.invoke
      1. org.terasology.rendering.nui.layers.mainMenu.SelectModulesScreen.setSelectedVersions(SelectModulesScreen.java:289)[classes/:na]
      2. org.terasology.rendering.nui.layers.mainMenu.SelectModulesScreen.initialise(SelectModulesScreen.java:84)[classes/:na]
      3. org.terasology.rendering.nui.CoreScreenLayer.onOpened(CoreScreenLayer.java:72)[classes/:na]
      4. org.terasology.rendering.nui.internal.NUIManagerInternal.prepare(NUIManagerInternal.java:506)[classes/:na]
      5. org.terasology.rendering.nui.internal.NUIManagerInternal.pushScreen(NUIManagerInternal.java:238)[classes/:na]
      6. org.terasology.rendering.nui.internal.NUIManagerInternal.pushScreen(NUIManagerInternal.java:202)[classes/:na]
      7. org.terasology.rendering.nui.internal.NUIManagerInternal.pushScreen(NUIManagerInternal.java:191)[classes/:na]
      8. org.terasology.rendering.nui.layers.mainMenu.CreateGameScreen$9.onActivated(CreateGameScreen.java:217)[classes/:na]
      9. org.terasology.rendering.nui.widgets.UIButton.activate(UIButton.java:138)[classes/:na]
      10. org.terasology.rendering.nui.widgets.UIButton.access$100(UIButton.java:40)[classes/:na]
      11. org.terasology.rendering.nui.widgets.UIButton$1.onMouseRelease(UIButton.java:81)[classes/:na]
      12. org.terasology.rendering.nui.internal.CanvasImpl.processMouseRelease(CanvasImpl.java:226)[classes/:na]
      13. org.terasology.rendering.nui.internal.NUIManagerInternal.mouseButtonEvent(NUIManagerInternal.java:425)[classes/:na]
      14. org.terasology.rendering.nui.internal.NUIManagerInternalMethodAccess.invoke(Unknown Source)[na:na]
      14 frames
    3. org.terasology.entitySystem
      BaseEntityRef.send
      1. org.terasology.entitySystem.event.internal.EventSystemImpl$ByteCodeEventHandlerInfo.invoke(EventSystemImpl.java:497)[classes/:na]
      2. org.terasology.entitySystem.event.internal.EventSystemImpl.sendConsumableEvent(EventSystemImpl.java:278)[classes/:na]
      3. org.terasology.entitySystem.event.internal.EventSystemImpl.send(EventSystemImpl.java:257)[classes/:na]
      4. org.terasology.entitySystem.entity.internal.BaseEntityRef.send(BaseEntityRef.java:166)[classes/:na]
      4 frames
    4. org.terasology.input
      InputSystem.update
      1. org.terasology.input.InputSystem.sendMouseEvent(InputSystem.java:392)[classes/:na]
      2. org.terasology.input.InputSystem.processMouseInput(InputSystem.java:247)[classes/:na]
      3. org.terasology.input.InputSystem.update(InputSystem.java:204)[classes/:na]
      3 frames
    5. org.terasology.engine
      Terasology.main
      1. org.terasology.engine.modes.StateMainMenu.handleInput(StateMainMenu.java:134)[classes/:na]
      2. org.terasology.engine.subsystem.lwjgl.LwjglInput.postUpdate(LwjglInput.java:65)[classes/:na]
      3. org.terasology.engine.TerasologyEngine.mainLoop(TerasologyEngine.java:445)[classes/:na]
      4. org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:246)[classes/:na]
      5. org.terasology.engine.Terasology.main(Terasology.java:90)[classes/:na]
      5 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0]
      4. java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0]
      4 frames
    7. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)[idea_rt.jar:na]
      1 frame