Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Feature Requests & Bug Reports (https://www.gnutellaforums.com/feature-requests-bug-reports/)
-   -   Some thread problems (https://www.gnutellaforums.com/feature-requests-bug-reports/68507-some-thread-problems.html)

Manifest0 March 27th, 2007 07:07 AM

Some thread problems
 
Greetings!

I'm having trouble closing phex.
Now everytime i try to close phex, it freezes... Also i can't download.
The downloads start at an amazing speed, and then goes to the xxxbytes. I've a lot of candidates from who i'm downloading (well it's what the status says), but i'm not downloading!


Error Log file:
Code:


070327 15:14:43,0392(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1db4f6f - Exception: java.lang.NullPointerException
        at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
        at phex.connection.PingWorker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)

070327 15:14:43,0395(100) Error/GLOBAL:: Uncaught exception: null in Thread: PingWorker-1db4f6f - Exception: java.lang.NullPointerException
        at phex.msg.MsgManager.broadcastPingHosts(Unknown Source)
        at phex.connection.PingWorker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)

070327 15:14:44,0197(100) Error/INCOMING_CONNECTION:: java.lang.NullPointerException - Exception: java.lang.NullPointerException
        at phex.msg.MsgManager.removeHost(Unknown Source)
        at phex.host.NetworkHostsContainer.disconnectHost(Unknown Source)
        at phex.host.HostManager.disconnectHost(Unknown Source)
        at phex.connection.ConnectionEngine.processIncomingData(Unknown Source)
        at phex.host.HostManager.acceptIncomingConnection(Unknown Source)
        at phex.connection.IncomingConnectionDispatcher.run(Unknown Source)
        at phex.common.ThreadPool$Worker.run(Unknown Source)

070327 15:15:46,0350(100) Error/phex.download.MemoryFile:: phex.common.file.ManagedFileException: write fails - Exception: phex.common.file.ManagedFileException: write fails
        at phex.common.file.ManagedFile.write(Unknown Source)
        at phex.download.MemoryFile.writeBuffersToDisk(Unknown Source)
        at phex.download.DownloadDataWriter.writeDownloadData(Unknown Source)
        at phex.download.DownloadDataWriter.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.nio.channels.NonWritableChannelException
        at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:194)
        ... 5 more

070327 15:15:47,0362(100) Error/phex.download.MemoryFile:: phex.common.file.ManagedFileException: write fails - Exception: phex.common.file.ManagedFileException: write fails
        at phex.common.file.ManagedFile.write(Unknown Source)
        at phex.download.MemoryFile.writeBuffersToDisk(Unknown Source)
        at phex.download.DownloadDataWriter.writeDownloadData(Unknown Source)
        at phex.download.DownloadDataWriter.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.nio.channels.NonWritableChannelException
        at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:194)
        ... 5 more

070327 15:15:47,0385(100) Error/phex.download.MemoryFile:: phex.common.file.ManagedFileException: write fails - Exception: phex.common.file.ManagedFileException: write fails
        at phex.common.file.ManagedFile.write(Unknown Source)
        at phex.download.MemoryFile.writeBuffersToDisk(Unknown Source)
        at phex.download.DownloadDataWriter.writeDownloadData(Unknown Source)
        at phex.download.DownloadDataWriter.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.nio.channels.NonWritableChannelException
        at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:194)
        ... 5 more

(i've to cut some errors... The text was too long. The Error/phex.download.MemoryFile:: appear a lot, a really lot of times! (about 220000 chars more than the forum limit for a post!))

A NIO exception... :yikes:

Best regards,

Manifest0

GregorK March 27th, 2007 08:27 AM

Could it be that you are at the same time uploading one of the files you are downloading??

Manifest0 March 27th, 2007 08:36 AM

Probably... I've the "share partial files" option ON.

If so shouldn't there be a warning?

Edit: It seems that's the problem. I turned OFF the the option, and i'm not having issues..

GregorK March 27th, 2007 11:30 PM

No there should not be a warning or anything. You just found an error... I just wanted to check if its caused by parallel upload. The error message could indicate this, but I wasn't sure.

Manifest0 March 28th, 2007 10:19 AM

Quote:

Originally Posted by Manifest0
If so shouldn't there be a warning?

This was a stupid thing to say... :o


All times are GMT -7. The time now is 12:20 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.