 
			
				March 27th, 2007
			
			
			     |  
      |    Gnutella Admirer   |    |    Join Date: January 25th, 2007  
						Posts: 69
					         |        |  
        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...     
Best regards,  
Manifest0           
					
						Last edited by Manifest0; March 27th, 2007 at 12:23 PM.
					
					
				      |