Thread: BufferUnderflowException [HYPERION]

Results 1 to 5 of 5
  1. #1 BufferUnderflowException [HYPERION] 
    Registered Member Hucci's Avatar
    Join Date
    Oct 2009
    Posts
    281
    Thanks given
    1
    Thanks received
    6
    Rep Power
    9
    Code:
    Nov 1, 2010 5:43:29 PM org.hyperion.Server main
    INFO: Starting Hyperion...
    Nov 1, 2010 5:43:30 PM org.hyperion.rs2.model.ObjectManager load
    INFO: Loading map...
    Nov 1, 2010 5:43:31 PM org.hyperion.fileserver.FileServer bind
    INFO: Binding to port : 43595...
    Nov 1, 2010 5:43:31 PM org.hyperion.fileserver.FileServer bind
    INFO: Binding to port : 80...
    Nov 1, 2010 5:43:31 PM org.hyperion.fileserver.FileServer start
    INFO: Ready
    Nov 1, 2010 5:43:32 PM org.hyperion.rs2.RS2Server bind
    INFO: Binding to port : 43594...
    Nov 1, 2010 5:43:32 PM org.hyperion.rs2.ScriptManager <init>
    INFO: Loading scripts...
    Nov 1, 2010 5:43:32 PM org.hyperion.rs2.RS2Server start
    INFO: Waiting for pending background loading tasks...
    Nov 1, 2010 5:43:34 PM org.hyperion.rs2.model.ObjectManager load
    INFO: Loaded 1166825 objects.
    Nov 1, 2010 5:43:34 PM org.hyperion.rs2.model.ItemDefinition init
    INFO: Loading definitions...
    Nov 1, 2010 5:43:34 PM org.hyperion.rs2.model.ItemDefinition init
    INFO: Loaded 7956 definitions.
    Nov 1, 2010 5:43:34 PM org.hyperion.rs2.RS2Server start
    INFO: Ready
    Nov 1, 2010 5:44:15 PM org.hyperion.rs2.net.RS2LoginDecoder doDecode
    INFO: Login request : username=Mopar password=bob
    Nov 1, 2010 5:44:16 PM org.hyperion.rs2.model.World handleError
    SEVERE: An error occurred in an executor service! The server will be halted imme
    diately.
    java.nio.BufferUnderflowException
            at java.nio.Buffer.nextGetIndex(Unknown Source)
            at java.nio.HeapByteBuffer.getShort(Unknown Source)
            at org.apache.mina.core.buffer.AbstractIoBuffer.getShort(AbstractIoBuffe
    r.java:690)
            at org.apache.mina.core.buffer.AbstractIoBuffer.getUnsignedShort(Abstrac
    tIoBuffer.java:1115)
            at org.hyperion.rs2.model.Player.deserialize(Player.java:601)
            at org.hyperion.rs2.GenericWorldLoader.loadPlayer(GenericWorldLoader.jav
    a:89)
            at org.hyperion.rs2.model.World$3.run(World.java:288)
            at org.hyperion.rs2.GameEngine$4.run(GameEngine.java:161)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
    )
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Press any key to continue . . .
    Help me understand this error and teach me how to fix and you get 5 rep++
    People still bother to make RSPS?
    Reply With Quote  
     

  2. #2  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
    On player loading you don't have enough data in the file, maybe an old save file and you added something to the loading or you just didn't save it out
    Reply With Quote  
     

  3. #3  
    Registered Member Hucci's Avatar
    Join Date
    Oct 2009
    Posts
    281
    Thanks given
    1
    Thanks received
    6
    Rep Power
    9
    Quote Originally Posted by Vastastico View Post
    On player loading you don't have enough data in the file, maybe an old save file and you added something to the loading or you just didn't save it out
    k ill see if i can fix it.

    Quote Originally Posted by Daveallen View Post
    k ill see if i can fix it.
    K it worked. anyway a can prevent this in the future?
    People still bother to make RSPS?
    Reply With Quote  
     

  4. #4  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
    Quote Originally Posted by Daveallen View Post
    K it worked. anyway a can prevent this in the future?
    If you check the loading stuff you can see things like:

    if (buffer.remaining() > 0) {
    xxxx
    }

    do that
    Reply With Quote  
     

  5. #5  
    Registered Member Hucci's Avatar
    Join Date
    Oct 2009
    Posts
    281
    Thanks given
    1
    Thanks received
    6
    Rep Power
    9
    Quote Originally Posted by Vastastico View Post
    If you check the loading stuff you can see things like:

    if (buffer.remaining() > 0) {
    xxxx
    }

    do that
    thx
    People still bother to make RSPS?
    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. [PJA/Hyperion] Custom Object Loading [PJA/Hyperion]
    By helloevery1 in forum Snippets
    Replies: 20
    Last Post: 11-06-2012, 12:25 AM
  2. [562][hyperion]has no name yet.. hyperion project
    By ItsMrSammeh in forum Projects
    Replies: 14
    Last Post: 09-26-2010, 12:33 PM
  3. Replies: 6
    Last Post: 06-16-2010, 01:45 PM
  4. [Hyperion/PJA] 99% Castle Wars [Hyperion/PJA]
    By People Hate Me in forum Show-off
    Replies: 12
    Last Post: 06-01-2010, 02:02 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
  •