Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   Phex 2.+ won't let me create private network (https://www.gnutellaforums.com/general-discussion/28507-phex-2-wont-let-me-create-private-network.html)

mjerda September 26th, 2004 06:11 AM

Phex 2.x won't let me create private network
 
There seems to be a bug in Phex 2.+ when trying to change from the Gnutella Network, to a private network. The Network Switch dialog will just stay focused after pressing "OK" and the only way to make it go away, is to press "Cancel".

Now, the next time I try to run Phex, it generates this error a few moments after the splash-screen appears:

----_JAVA_LAUNCHER_DEBUG----
Version major.minor.micro = 1.4.2
JRE path is D:\Program Files\Java\j2re1.4.2_05
No 'hotspot' JVM at 'D:\Program Files\Java\j2re1.4.2_05\bin\hotspot\jvm.dll'.
JVM path is D:\Program Files\Java\j2re1.4.2_05\bin\client\jvm.dll
JavaVM args:
version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 1
option[ 0] = '-Djava.class.path=phex.jar'
Main-Class is 'phex.Main'
Apps' argc is 0
----_JAVA_LAUNCHER_DEBUG----
java.lang.StringIndexOutOfBoundsException: String index out of range: 255
at java.lang.String.substring(Unknown Source)
at phex.utils.FileUtils.convertToLocalSystemFilename( Unknown Source)
at phex.common.NamedGnutellaNetwork.getHostsFile(Unkn own Source)
at phex.host.CaughtHostsContainer.loadHostsFromFile(U nknown Source)
at phex.host.CaughtHostsContainer.initializeCaughtHos tsContainer(Unknown Source)
at phex.connection.NetworkManager.onPostInitializatio n(Unknown Source)
at phex.common.Environment.initializeManagers(Unknown Source)
at phex.Main.main(Unknown Source)

Mjerda

GregorK September 26th, 2004 09:54 AM

I guess I was almost sleeping when I was last time doing code changes there.
It should work again with the next build.

Thanks for reporting!


All times are GMT -7. The time now is 04:24 PM.

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.