Weird errors

Discussion in 'Bukkit Help' started by cloudafloat, Feb 4, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    cloudafloat

    Getting this every few minutes Everone disconnects and minecraft crashs
    Code:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 72
        at java.lang.String.charAt(Unknown Source)
        at nh.a(SourceFile:152)
        at nh.a(SourceFile:119)
        at pe.a(SourceFile:238)
        at ll.b(SourceFile:346)
        at net.minecraft.client.Minecraft.run(SourceFile:668)
        at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT cbd61803 ----------
    


    Console shows this http://screensnapr.com/v/wvGGnO.png


    Whats going on?
     
  2. Offline

    kjab

    post your server.log file so we can see the entire stack trace.

    use http://www.pastebin.com to post your log and paste link here
     
  3. Offline

    cloudafloat

    First my server.log file only contains info on what people have said (I don't even see any stack traces or errors at the times of the issue) or warnings theres nothing specific in it the full stack trace is http://screensnapr.com/v/wvGGsnO.png before and after are just people talking theres no command attempts or anything else.

    Incase you insist on seeing the server.log it simply shows this http://screensnapr.com/v/msoxJHq.png Right when everyone disconnects is when it happened theres no errors right after this snippet just people reconnecting.


    Oh and heres another time it happened a short period beforehand. http://screensnapr.com/v/aU2sDsu.png
     
  4. Offline

    kjab

  5. Offline

    cloudafloat

    1. What OS are you using (Brand and version - Ex. Windows XP SP3)?
    - Windows server 2008 R2

    2. What architecture is the OS you are running (x64 or x86)?
    - x64

    3. What version and architecture is your java install? (Type: java -version in command prompt.)
    - 1.6.0_23
    - Java(TM) SE Runtime Enviroment (build 1.6.0_23-b05)
    - Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)

    4. Are you running any wrappers? McMyAdmin, mcadmin, Hamachi, etc?
    - No.

    5. What build of CraftBukkit are you running? (do NOT say latest. Say the build number.)
    - git-Bukkit-0.0.0-323-g29e96e1-b241 (MC: 1.2_01)

    6. What command are you using to run your CraftBukkit server?
    - java -Xms1024M -Xmx1024M -jar craftbukkit.jar

    7. What plugins are you running?
    - http://screensnapr.com/v/Ye2PoT.png

    8. What error are you getting (post your server.log file if possible)?
    - Happens: Often, Randomly, No visible cause
    - http://screensnapr.com/v/d7uReH.png
    - (Beforehand: Nothing specific, After: Mass disconnects, Minecraft displays "Minecraft has crashed!"
    - http://screensnapr.com/v/q05uRa.png

    9. What have you tried already?
    - Tried updating everything
    - Tried changing allocated memory to server
    - Tried searching the error, no results

    Things to try in order to figure out where the error is occurring:

    Run the vanilla Minecraft server (no Craftbukkit). Does the error/problem still occur?
    - No.

    Update your CraftBukkit Build. A newer version may have fixed the error. Older versions will not be supported, no matter now much you like build #69.
    - Already did, didn't work

    Remove all your plugins and try with just CraftBukkit. Does the error/problem still occur?
    - No.

    Update your plugins. Older versions may be supported at the plugin developers discretion, but newer versions may have already fixed your problem.
    - In progress, most if not all plugins are up to date and oddly this problem occured after a long period of no issues
    - and no plugin changes

    Add in a single plugin. Does the error/problem still occur?
    - Tried a random plugin it did not occur
    - Will begin the process of testing every single plugin individually
    brb in a month or so (No sarcasm, many plugins + slow crappy vnc = a long time to get stuff done)


    Is there any pattern with what players are saying/doing/commands when this happens?
    - No it happens randomly.
    - No visible causes.
     
  6. Offline

    mughi


    i assume this is a typo? otherwise it says use AT LEAST 1GB ram, but at MOST 1MB ram (or 1KB).. either way, less.
    i think you would get an error before starting if that was actually the case.



    you said it worked before and then stopped.. anything you can think of that changed (even if it seems unrelated)?
     
  7. Offline

    kjab

    try using this command to launch:
    java -server -Xincgc -Xmx1024M -jar craftbukkit.jar nogui

    Make sure you use an M at the end of the -Xmx flag. You were missing it on -Xmx and thus set your max ram below the min ram and that could be causing problems. If you have more ram available try increasing the RAM -Xmx1512M or -Xmx2G for 1.5G and 2G respectively

    Edit:
    Damnit got ninja'd again.... @mughi
     
  8. Offline

    mughi

  9. Offline

    kjab

    I also noticed you were running essentials and general. In my experience they have not worked well together. Try just using one or the other. Essentials has all the commands of general and then some.
     
  10. Offline

    cloudafloat

    It was a typo there is indeed an M at the end.
    I'll give those params a try.

    It has happened while I was the only one online doing nothing just afking.

    Been using both for the last while issue free, oddly when I disable general I can no longer use /item or /give in any way
    Either I get invalid item with any number or word or it simply does nothing and throws an error.


    Anyways guys I narrowed it down to any of these 5 plugins: permissions, dynmap, plugincontrol, magiccarpet or automessage.

    Will have it fixed soon hopefully. Thanks for the help guys <3


    EDIT: It was automessage surprisingly that plugin that displays a message every X seconds.
    Odd that this was the cause but now disabled the problem has not occured for a good while.
    So it seems to be fixed. Thanks to all those who gave help I appreciate it.
     
Thread Status:
Not open for further replies.

Share This Page