Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 7th, 2011
ToNneTje's Avatar
Gnutella Admirer
 
Join Date: January 24th, 2009
Location: Netherlands
Posts: 69
ToNneTje is flying high
Default Outgoing connections bug?

ONLY after starting my Phex-client there are outgoing connections... after that i ONLY have incoming connections.
Even if i have a lot less connections than i have filled in at my Phex settings, there will be NO more outgoing connections... just incoming...

I'm using the latest SVN version under Ubuntu 11.04, trying OpenJDK 6 Runtime + Sun java 6 Runtime, both the same result.
Reply With Quote
  #2 (permalink)  
Old June 8th, 2011
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Is there anything recent in your error log?
__________________
Reply With Quote
  #3 (permalink)  
Old June 8th, 2011
ToNneTje's Avatar
Gnutella Admirer
 
Join Date: January 24th, 2009
Location: Netherlands
Posts: 69
ToNneTje is flying high
Default

This is the most recent log:

Quote:
110608 13:46:46.017(T5)(116) ERROR/phex.common.ThreadTracking [Timer-0]:: Uncaught exception: org/bouncycastle/openpgp/PGPException in Thread: Timer-0
java.lang.NoClassDefFoundError: org/bouncycastle/openpgp/PGPException
at phex.gui.common.GUIRegistry*****run(GUIRegistry.ja va:169) [phex.jar:na]
at java.util.TimerThread.mainLoop(Timer.java:534) [na:1.6.0_22]
at java.util.TimerThread.run(Timer.java:484) [na:1.6.0_22]
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.openpgp.PGPException
at java.net.URLClassLoader*****run(URLClassLoader.jav a:217) [na:1.6.0_22]
at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_22]
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205) [na:1.6.0_22]
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21) [na:1.6.0_22]
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294) [na:1.6.0_22]
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66) [na:1.6.0_22]
... 3 common frames omitted
110608 13:49:51.956(T9)(116) ERROR/phex.common.ThreadTracking [Timer-0]:: Uncaught exception: org/bouncycastle/openpgp/PGPException in Thread: Timer-0
java.lang.NoClassDefFoundError: org/bouncycastle/openpgp/PGPException
at phex.gui.common.GUIRegistry*****run(GUIRegistry.ja va:169) [phex.jar:na]
at java.util.TimerThread.mainLoop(Timer.java:534) [na:1.6.0_22]
at java.util.TimerThread.run(Timer.java:484) [na:1.6.0_22]
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.openpgp.PGPException
at java.net.URLClassLoader*****run(URLClassLoader.jav a:217) [na:1.6.0_22]
at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_22]
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205) [na:1.6.0_22]
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21) [na:1.6.0_22]
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294) [na:1.6.0_22]
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66) [na:1.6.0_22]
... 3 common frames omitted
110608 14:00:40.137(T648190)(116) ERROR/phex.common.QueryRoutingTable [TriggerQueryRoutingTableUpdate-PhexPool-thread-13]:: Aggregate source is null: 16384/65536
110608 14:00:40.156(T648209)(116) ERROR/phex.common.JThreadPool [TriggerQueryRoutingTableUpdate-PhexPool-thread-13]:: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.BitSet.or(BitSet.java:701) [na:1.6.0_22]
at phex.common.QueryRoutingTable.aggregateToRouteTabl e(QueryRoutingTable.java:200) [phex.jar:na]
at phex.common.QueryRoutingTable.fillQRTWithLeaves(Qu eryRoutingTable.java:624) [phex.jar:na]
at phex.msghandling.MessageService$QRPUpdateTimer.sen dQueryRoutingTable(MessageService.java:579) [phex.jar:na]
at phex.msghandling.MessageService$QRPUpdateTimer.run (MessageService.java:528) [phex.jar:na]
at phex.common.JThreadPool$NamedThreadRunnable.run(JT hreadPool.java:111) [phex.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1110) [na:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:603) [na:1.6.0_22]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_22]

Last edited by ToNneTje; June 8th, 2011 at 06:03 AM. Reason: update
Reply With Quote
  #4 (permalink)  
Old June 8th, 2011
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 656
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

oops apologies, seems the forum censor has does some damage to the error log listing. Does that make things difficult to see which java errors they are?
Reply With Quote
  #5 (permalink)  
Old June 8th, 2011
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

no.. as far as i can see and understand the errors are generated in 2008.. so they are not related...
__________________
Reply With Quote
  #6 (permalink)  
Old June 8th, 2011
ToNneTje's Avatar
Gnutella Admirer
 
Join Date: January 24th, 2009
Location: Netherlands
Posts: 69
ToNneTje is flying high
Default

Quote:
Originally Posted by GregorK View Post
no.. as far as i can see and understand the errors are generated in 2008.. so they are not related...
110608 -> 2011-06-08 ?

I copy and paste from the logfile of today so this log is recent
Reply With Quote
  #7 (permalink)  
Old June 8th, 2011
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 656
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

If the censor does the same thing again, you could upload & attach the log file as a text document instead.
Reply With Quote
  #8 (permalink)  
Old June 8th, 2011
ToNneTje's Avatar
Gnutella Admirer
 
Join Date: January 24th, 2009
Location: Netherlands
Posts: 69
ToNneTje is flying high
Default

Thanks Lord, i will do that next time ;-)
Reply With Quote
  #9 (permalink)  
Old June 8th, 2011
ToNneTje's Avatar
Gnutella Admirer
 
Join Date: January 24th, 2009
Location: Netherlands
Posts: 69
ToNneTje is flying high
Default

I tried the latest stable version (3.4.2.116) and that version is working, the outgoing connections keeps working!

So i think it's probably the SVN version that has this "bug" (on 2 pc's, both using Ubuntu 11.04) OR it's an Linux related bug (?)
Since compiling of the latest SVN is working without any errors, i doubt if that can be the reason that outgoing connections stops working...
Reply With Quote
  #10 (permalink)  
Old June 9th, 2011
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Uhh.. I guess you are right with the date... sorry..
The error log show two problems from a failed update signature check and a third problem which is a strange race condition that occurs some times. I haven't found the reason for it yet, but its uncritical.

If you like to check more deeply why outgoing connections don't work, the problem most likely is in the inner class HostManager.HostCheckTimer. The class runs every 2 seconds and calculates and triggers in method doAutoConnectCheck() the number of outgoing connections.
Maybe you can find something there, by adding some debug output.

Gregor
__________________
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:03 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.