java.lang.RuntimeException: Failed to read the file /home/user/DKII/Data/editor/maps/FrontEnd3DLevel.kwd!

GitHub | laenion | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp and rafael . Or join the community to write better ones.
  1. 0

    Failed to load the game

    GitHub | 7 months ago | laenion
    java.lang.RuntimeException: Failed to read the file /home/user/DKII/Data/editor/maps/FrontEnd3DLevel.kwd!
  2. 0
    samebug tip
    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"
    via GitHub by Omertron
  3. 0
    samebug tip
    This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Generating random integers to truncate strings in Java

    Stack Overflow | 7 months ago | E. Maguire
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  6. 0

    Java String index out of range: -4

    Stack Overflow | 3 years ago | Gratin
    java.lang.StringIndexOutOfBoundsException: String index out of range: -4
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.StringIndexOutOfBoundsException

    String index out of range: -4

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1960)
    1 frame
  3. toniarts.openkeeper.tools
    KwdFile.<init>
    1. toniarts.openkeeper.tools.convert.map.KwdFile.readMapInfo(KwdFile.java:1107)
    2. toniarts.openkeeper.tools.convert.map.KwdFile.readFileContents(KwdFile.java:294)
    3. toniarts.openkeeper.tools.convert.map.KwdFile.readFileContents(KwdFile.java:174)
    4. toniarts.openkeeper.tools.convert.map.KwdFile.<init>(KwdFile.java:144)
    5. toniarts.openkeeper.tools.convert.map.KwdFile.<init>(KwdFile.java:128)
    5 frames
  4. toniarts.openkeeper.game
    MainMenuState.<init>
    1. toniarts.openkeeper.game.state.MainMenuState.loadMenuScene(MainMenuState.java:127)
    2. toniarts.openkeeper.game.state.MainMenuState.<init>(MainMenuState.java:114)
    2 frames
  5. toniarts.openkeeper
    Main$5.onLoad
    1. toniarts.openkeeper.Main$5.onLoad(Main.java:370)
    1 frame
  6. toniarts.openkeeper.game
    LoadingState$1.call
    1. toniarts.openkeeper.game.state.loading.LoadingState$1.call(LoadingState.java:143)
    2. toniarts.openkeeper.game.state.loading.LoadingState$1.call(LoadingState.java:140)
    2 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames