Thread: nullpointer and pimp fatal

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 nullpointer and pimp fatal 
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    i get

    and
    Code:
    java.lang.ArrayIndexOutOfBoundsException: 18173
            at client.parseIncomingPackets(client.java:19815)
            at client.packetProcess(client.java:18226)
            at client.packetSending(client.java:18179)
            at PlayerHandler.process(PlayerHandler.java:153)
            at server.main(server.java:49)
    pimpscape Server [fatal] - exception
    when i run my server

    how do i get it to stop
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Oct 2008
    Posts
    842
    Thanks given
    81
    Thanks received
    53
    Rep Power
    0
    You might have entered a invaild Gfx id, which your server can't locate.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Mar 2008
    Posts
    546
    Thanks given
    1
    Thanks received
    1
    Rep Power
    0
    you need to add another bracket to your client.java, Your trying to reach a statement which never ends.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    where would i add it?
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Mar 2008
    Posts
    546
    Thanks given
    1
    Thanks received
    1
    Rep Power
    0
    To your recent code you just added.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    um but i havent coded in a bit
    and would this fix the npe or pimp?
    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Mar 2008
    Posts
    546
    Thanks given
    1
    Thanks received
    1
    Rep Power
    0
    Code:
    java.lang.ArrayIndexOutOfBoundsException: 18173
            at client.parseIncomingPackets(client.java:19815)
            at client.packetProcess(client.java:18226)
            at client.packetSending(client.java:18179)
            at PlayerHandler.process(PlayerHandler.java:153)
            at server.main(server.java:49)
    pimpscape Server [fatal] - exception
    Should fix that one.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    where would i place it, i checked what i added
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Mar 2008
    Posts
    546
    Thanks given
    1
    Thanks received
    1
    Rep Power
    0
    the end, make sure you have both closing and open brackets.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    Code:
    :: Preparing for compile...
    :: Auto-setting envriomental variables...
    ::
    :: Scanning for latest JDK version...
    ::
    :: Found JDK 1.6.0_11
    :: Results:
    client.java:36067: class, interface, or enum expected
    }
    ^
    1 error
    :: Done!
    Press any key to continue . . .
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •