Thread: RuneTopList Vote4Item error

Results 1 to 6 of 6
  1. #1 RuneTopList Vote4Item error 
    Registered Member
    Join Date
    Mar 2011
    Posts
    569
    Thanks given
    146
    Thanks received
    65
    Rep Power
    52
    Whenever someone does ::check ingame, it gives this error:
    [12/11/12 7:30 AM]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce ption: Com
    munications link failure

    The last packet successfully received from the server was 1,355,232,613,893 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.
    [12/11/12 7:30 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInsta nce
    0(Native Method)
    [12/11/12 7:30 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInsta nce
    (NativeConstructorAccessorImpl.java:39)
    [12/11/12 7:30 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(DelegatingConstructorAccessorImpl.java:27)
    [12/11/12 7:30 AM]: at java.lang.reflect.Constructor.newInstance(Construc tor
    .java:513)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.SQLError.createCommunicationsExcept ion
    (SQLError.java:1074)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onI
    mpl.java:2214)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImp l.j
    ava:773)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connect ion
    .java:46)
    [12/11/12 7:30 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInsta nce
    0(Native Method)
    [12/11/12 7:30 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInsta nce
    (NativeConstructorAccessorImpl.java:39)
    [12/11/12 7:30 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(DelegatingConstructorAccessorImpl.java:27)
    [12/11/12 7:30 AM]: at java.lang.reflect.Constructor.newInstance(Construc tor
    .java:513)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.ConnectionImpl.getInstance(Connecti onI
    mpl.java:352)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg ist
    eringDriver.java:282)
    [12/11/12 7:30 AM]: at java.sql.DriverManager.getConnection(DriverManager .ja
    va:582)
    [12/11/12 7:30 AM]: at java.sql.DriverManager.getConnection(DriverManager .ja
    va:185)
    [12/11/12 7:30 AM]: at org.runetoplist.MySQLConnectionPool.getFreeConnect ion
    (MySQLConnectionPool.java:61)
    [12/11/12 7:30 AM]: at org.runetoplist.MySQLResultCallable.call(MySQLResu ltC
    allable.java:29)
    [12/11/12 7:30 AM]: at org.runetoplist.MySQLResultCallable.call(MySQLResu ltC
    allable.java:1)
    [12/11/12 7:30 AM]: at java.util.concurrent.FutureTask$Sync.innerRun(Futu reT
    ask.java:303)
    [12/11/12 7:30 AM]: at java.util.concurrent.FutureTask.run(FutureTask.jav a:1
    38)
    [12/11/12 7:30 AM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run Tas
    k(ThreadPoolExecutor.java:886)
    [12/11/12 7:30 AM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run (Th
    readPoolExecutor.java:908)
    [12/11/12 7:30 AM]: at java.lang.Thread.run(Thread.java:662)
    [12/11/12 7:30 AM]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExc
    eption: Communications link failure

    The last packet successfully received from the server was 1,355,232,613,883 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.
    [12/11/12 7:30 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInsta nce
    0(Native Method)
    [12/11/12 7:30 AM]: at sun.reflect.NativeConstructorAccessorImpl.newInsta nce
    (NativeConstructorAccessorImpl.java:39)
    [12/11/12 7:30 AM]: at sun.reflect.DelegatingConstructorAccessorImpl.newI nst
    ance(DelegatingConstructorAccessorImpl.java:27)
    [12/11/12 7:30 AM]: at java.lang.reflect.Constructor.newInstance(Construc tor
    .java:513)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:40 6)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.SQLError.createCommunicationsExcept ion
    (SQLError.java:1074)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onI
    mpl.java:2137)
    [12/11/12 7:30 AM]: ... 19 more
    [12/11/12 7:30 AM]: Caused by: java.net.ConnectException: Connection refused: co
    nnect
    [12/11/12 7:30 AM]: at java.net.PlainSocketImpl.socketConnect(Native Method)

    [12/11/12 7:30 AM]: at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .ja
    va:351)
    [12/11/12 7:30 AM]: at java.net.PlainSocketImpl.connectToAddress(PlainSoc ket
    Impl.java:213)
    [12/11/12 7:30 AM]: at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava
    :200)
    [12/11/12 7:30 AM]: at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava
    :366)
    [12/11/12 7:30 AM]: at java.net.Socket.connect(Socket.java:529)
    [12/11/12 7:30 AM]: at java.net.Socket.connect(Socket.java:478)
    [12/11/12 7:30 AM]: at java.net.Socket.<init>(Socket.java:375)
    [12/11/12 7:30 AM]: at java.net.Socket.<init>(Socket.java:218)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.StandardSocketFactory.connect(Stand ard
    SocketFactory.java:253)
    [12/11/12 7:30 AM]: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:290)
    [12/11/12 7:30 AM]: ... 20 more
    [12/11/12 7:30 AM]: java.util.concurrent.ExecutionException: java.lang.NullPoint
    erException
    [12/11/12 7:30 AM]: at java.util.concurrent.FutureTask$Sync.innerGet(Futu reT
    ask.java:222)
    [12/11/12 7:30 AM]: at java.util.concurrent.FutureTask.get(FutureTask.jav a:8
    3)
    [12/11/12 7:30 AM]: at org.runetoplist.VoteChecker.getReward(VoteChecker. jav
    a:40)
    [12/11/12 7:30 AM]: at server.model.players.packets.Commands.playerComman ds(
    Commands.java:330)
    [12/11/12 7:30 AM]: at server.model.players.packets.Commands.processPacke t(C
    ommands.java:54)
    [12/11/12 7:30 AM]: at server.model.players.PacketHandler.processPacket(P ack
    etHandler.java:141)
    [12/11/12 7:30 AM]: at server.model.players.Client.processQueuedPackets(C lie
    nt.java:2212)
    [12/11/12 7:30 AM]: at server.model.players.PlayerHandler.process(PlayerH and
    ler.java:150)
    [12/11/12 7:30 AM]: at server.Server.main(Server.java:203)
    [12/11/12 7:30 AM]: Caused by: java.lang.NullPointerException
    [12/11/12 7:30 AM]: at org.runetoplist.PoolConnection.borrow(PoolConnecti on.
    java:27)
    [12/11/12 7:30 AM]: at org.runetoplist.MySQLConnectionPool.getFreeConnect ion
    (MySQLConnectionPool.java:66)
    [12/11/12 7:30 AM]: at org.runetoplist.MySQLResultCallable.call(MySQLResu ltC
    allable.java:29)
    [12/11/12 7:30 AM]: at org.runetoplist.MySQLResultCallable.call(MySQLResu ltC
    allable.java:1)
    [12/11/12 7:30 AM]: at java.util.concurrent.FutureTask$Sync.innerRun(Futu reT
    ask.java:303)
    [12/11/12 7:30 AM]: at java.util.concurrent.FutureTask.run(FutureTask.jav a:1
    38)
    [12/11/12 7:30 AM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run Tas
    k(ThreadPoolExecutor.java:886)
    [12/11/12 7:30 AM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run (Th
    readPoolExecutor.java:908)
    [12/11/12 7:30 AM]: at java.lang.Thread.run(Thread.java:662)
    [12/11/12 7:30 AM]: Average Cycle Time: 5ms
    [12/11/12 7:30 AM]: Players online: 1, engine load: 0.83%
    In my AdminCP for the vote4item, it says that the people doing ::check have voted already and should be able to receive their items.
    Reply With Quote  
     

  2. #2  
    So when I'm free, I'm free


    Jay Gatsby's Avatar
    Join Date
    Jun 2010
    Posts
    2,307
    Thanks given
    1,148
    Thanks received
    1,982
    Rep Power
    5000
    Your mysql isn't set up correctly- have you enabled remote connection from your website to your vps?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2011
    Posts
    569
    Thanks given
    146
    Thanks received
    65
    Rep Power
    52
    Its running on my computer at the moment, but yes, i've put in my server IP in remote connection.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    The last packet successfully received from the server was 1,355,232,613,893 mill
    iseconds ago. The last packet sent successfully to the server was 0 millisecond
    s ago.

    It's pretty easy to understand. IT can't resolve a connection.

    Most likely a remote Ip problem (If you are using no-ip) Sometimes you still need to enter your real IP on remote, ( i had this problem with my hiscores)
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2011
    Posts
    569
    Thanks given
    146
    Thanks received
    65
    Rep Power
    52
    I do also have my real IP entered.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Mar 2011
    Posts
    569
    Thanks given
    146
    Thanks received
    65
    Rep Power
    52
    Anyone?
    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. Replies: 2
    Last Post: 11-19-2012, 05:00 PM
  2. RuneTopList - Error
    By Nighel in forum Help
    Replies: 3
    Last Post: 10-12-2012, 10:29 PM
  3. Runetoplist v2 error
    By Mark12345 in forum Help
    Replies: 0
    Last Post: 08-18-2012, 08:43 PM
  4. [PI][RuneTopList Script] Vote Error
    By NewKid in forum Help
    Replies: 1
    Last Post: 04-13-2012, 11:47 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
  •