Thread: Anyone know this fix?

Results 1 to 9 of 9
  1. #1 Anyone know this fix? 
    Registered Member
    Join Date
    Apr 2020
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Trying to Run a server and getting this when i run the source

    java.lang.ArrayIndexOutOfBoundsException: Index 213 out of bounds for length 213
    at ethos.util.Stream.readString(Stream.java:361)
    at ethos.punishments.Punishments.read(Punishments.jav a:80)
    at ethos.punishments.Punishments.initialize(Punishmen ts.java:47)
    at ethos.Server.main(Server.java:220)

    If anyone know whats up or how to fix it thanks in advance!
    Trying to run tojad2.0 thanks!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2012
    Posts
    73
    Thanks given
    0
    Thanks received
    3
    Rep Power
    11
    Arrays tend to start from index 0. This says the max length is 213. Which in our case it would be from [0] to [212]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2015
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I'm having the same issue
    Reply With Quote  
     

  4. #4  
    RuneTimes

    RainDropzZ's Avatar
    Join Date
    Oct 2010
    Posts
    343
    Thanks given
    28
    Thanks received
    93
    Rep Power
    471
    Quote Originally Posted by FoxboroughRS View Post
    Trying to Run a server and getting this when i run the source

    java.lang.ArrayIndexOutOfBoundsException: Index 213 out of bounds for length 213
    at ethos.util.Stream.readString(Stream.java:361)
    at ethos.punishments.Punishments.read(Punishments.jav a:80)
    at ethos.punishments.Punishments.initialize(Punishmen ts.java:47)
    at ethos.Server.main(Server.java:220)

    If anyone know whats up or how to fix it thanks in advance!
    Trying to run tojad2.0 thanks!

    Quote Originally Posted by AngelicWarrior View Post
    I'm having the same issue



    Wow this is the sadest post in a long time. You both did not even read the Post where you downloaded the Source. I mean come on. They had the exact same error in the post you downloaded the source from. Dudes man, just do your research before asking for help, shines a very bad light on you both. They exactly posted what the problem is that throws this error.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2015
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    ok they also didn't say shit on how to fix it..

    Quote Originally Posted by FoxboroughRS View Post
    Trying to Run a server and getting this when i run the source

    java.lang.ArrayIndexOutOfBoundsException: Index 213 out of bounds for length 213
    at ethos.util.Stream.readString(Stream.java:361)
    at ethos.punishments.Punishments.read(Punishments.jav a:80)
    at ethos.punishments.Punishments.initialize(Punishmen ts.java:47)
    at ethos.Server.main(Server.java:220)

    If anyone know whats up or how to fix it thanks in advance!
    Trying to run tojad2.0 thanks!


    go to punishments.java
    go to line 79
    change -1 to 0
    (not sure how permanent or good of a fix this is.)
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Apr 2020
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by RainDropzZ View Post
    Wow this is the sadest post in a long time. You both did not even read the Post where you downloaded the Source. I mean come on. They had the exact same error in the post you downloaded the source from. Dudes man, just do your research before asking for help, shines a very bad light on you both. They exactly posted what the problem is that throws this error.
    Someone posted the same error that i posted, noone mentioned anything about the error, so why you flaming me on my post saying that i'm sad? I'm just trying to find the fix. Have a good day.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Rythe's Avatar
    Join Date
    Dec 2019
    Age
    28
    Posts
    310
    Thanks given
    226
    Thanks received
    125
    Rep Power
    485
    java.lang.ArrayIndexOutOfBoundsException: Index 213 out of bounds for length 213
    at ethos.util.Stream.readString(Stream.java:361)
    at ethos.punishments.Punishments.read(Punishments.java:80)
    at ethos.punishments.Punishments.initialize(Punishments.java:47)
    at ethos.Server.main(Server.java:220)

    In your eclipse error log, click the (Punishments.java. It'll bring you directly to the source causing the error.

    the problem is the read or the init method, line 80/47 in punishments
    Reply With Quote  
     

  8. #8  
    Donator
    Tojad's Avatar
    Join Date
    Oct 2010
    Posts
    140
    Thanks given
    0
    Thanks received
    8
    Rep Power
    0
    The only thing that's changed that would concur errors would be the fact I deleted all the logs of people's sensitive information, including the bans/kicks/ip if you get an original version all you would do is copy paste i.e. bans folder structure
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Apr 2015
    Posts
    166
    Thanks given
    29
    Thanks received
    4
    Rep Power
    15
    Quote Originally Posted by FoxboroughRS View Post
    Trying to Run a server and getting this when i run the source

    java.lang.ArrayIndexOutOfBoundsException: Index 213 out of bounds for length 213
    at ethos.util.Stream.readString(Stream.java:361)
    at ethos.punishments.Punishments.read(Punishments.jav a:80)
    at ethos.punishments.Punishments.initialize(Punishmen ts.java:47)
    at ethos.Server.main(Server.java:220)

    If anyone know whats up or how to fix it thanks in advance!
    Trying to run tojad2.0 thanks!
    if you still need that this,
    go to your source > data > punishments then delete all files inside it.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Will pay if anyone knows a fix for this
    By pasteurrr in forum Buying
    Replies: 17
    Last Post: 05-21-2014, 10:57 PM
  2. Will pay if anyone knows a fix for this
    By pasteurrr in forum Buying
    Replies: 6
    Last Post: 05-21-2014, 09:47 PM
  3. Will pay if anyone knows a fix for this
    By pasteurrr in forum Help
    Replies: 2
    Last Post: 05-14-2014, 08:03 PM
  4. Anyone know this guy? :coolface:
    By M Peter in forum Application Development
    Replies: 2
    Last Post: 05-15-2010, 06:39 PM
  5. anyone know this problem
    By Andrew in forum Help
    Replies: 0
    Last Post: 10-12-2009, 04:31 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •