Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   v2.8.2.92 won't start (https://www.gnutellaforums.com/general-discussion/48818-v2-8-2-92-wont-start.html)

cnshht November 22nd, 2005 09:08 PM

v2.8.2.92 won't start
 
Hello, I downloaded the file twice and installed, each time with same result: Foxhead splash appears momentarily, then disappears, then... nothing. No window appears. I also updated to the latest JRE from Sun, no change.

v2.4.2.86 still initializes and runs.

Any suggestions? Win XP Pro SP1, AMD Athlon 2 Ghz, 768 MB RAM, etc. etc. no other problems (except with the new Netscape 8.0 but that's another story....)

Thanks.

GregorK November 23rd, 2005 03:14 AM

I'm very interested in the file phex.error.log. It is located in a phex directory inside your user directory.
On windows usually something like:

C:\Documents and Settings\<username>\phex

Do you get some output when you start Phex with debug?

cnshht November 23rd, 2005 05:23 AM

debug output copied-pasted
 
ResourceManager resource configuration:
- Resource category: JAVA
- Current directory: C:\Program Files\Phex_2.8.2.92\
- Property count: 13
- Property: =
- Property: arguments=
- Property: classpath=phex.jar
- Property: currentdir=
- Property: embedjar=false
- Property: javapropertiescount=0
- Property: jvmsearch=registry;javahome;jrepath;jdkpath;exepat h;jview
- Property: mainclassname=phex.Main
- Property: maxversion=
- Property: minversion=1.4
- Property: skel_Debug=1
- Property: skel_Message=Java has not been found on your computer. Do you want
to download it?
- Property: skel_PressKey=1
Now searching the JVM installed on the system...
JVM Lookup: found VM (V(1)(4)(0)) in registry.
JVM Lookup: found VM (V(1)(4)(2)) in registry.
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: Env-Var JAVA_HOME not defined on this system.
JVM Lookup: Env-Var JRE_HOME not defined on this system.
JVM Lookup: Env-Var JDK_HOME not defined on this system.
Current directory is C:\Program Files\Phex_2.8.2.92\
JSmooth will now try to use the VM in the following order: registry;javahome;jre
path;jdkpath;exepath;jview
------------------------------
Trying to use a JVM defined in the registry (6 available)
VM will be tried in the following order: 1.5.0;1.5.0;1.5.0;1.5.0;1.4.2;1.4.0;
- Trying registry: <C:\Program Files\Java\jre1.5.0_05><C:\Program Files\Java\jre
1.5.0_05\bin\client\jvm.dll><1.5.0>
DONT USE CONSOLE == FALSE
RUN PROC registry ... 1.4.0 <= 1.5.0<= 0.0.0
RUN PROC... version OK
RUNVM12PROC
Running new proc for C:\Program Files\Java\jre1.5.0_05\bin\java.exe
ClassPath element 0=C:\Program Files\Phex_2.8.2.92\phex.jar
ADDCP= C:\Program Files\Phex_2.8.2.92\phex.jar;
CLASSNAME = <phex.Main>
COMMAND LINE: C:\Program Files\Java\jre1.5.0_05\bin\java.exe -classpath ";C:\Pr
ogram Files\Phex_2.8.2.92\phex.jar;" phex.Main
RESULT: 1
WAITING: 1
java.lang.NullPointerException
at phex.connection.NetworkManager.setForcedHostIP(Unk nown Source)
at phex.connection.NetworkManager.onPostInitializatio n(Unknown Source)
at phex.common.Environment.initializeManagers(Unknown Source)
at phex.Main.main(Unknown Source)
WAIT ENDED
Press any key to continue . . .

cnshht November 23rd, 2005 05:25 AM

log file
 
Sorry, the error log file is a bit bulky, and sorry if the above debug report is too bulky for the forum....

Ishould send the log file to you in what way...? (Your profile has email blocked)

Shall I use private message?

HTH

GregorK November 23rd, 2005 06:09 AM

Ok that looks like a bug.
You are exporting a fixed IP, or?

Open the file phex.cfg with a simple editor like Notepad. You also find this file in the folder C:\Documents and Settings\<username>\phex

Delete the row starting with:

mMyIP=

This removes the fixed IP.
Save the file, close the editor and start Phex again. It should now work.

Do you need the fixed IP? Usually Phex should also work fine without it, and detect the IP once you connect to other hosts.

Gregor

cnshht November 23rd, 2005 07:12 AM

My IP is not fixed but changes only rarely, so I do export it. I started doing that because in the past, it seemed like things worked faster/better that way....
Your suggestion of doing without it has resolved the problem. Seems to be working fine, now, and yes, my IP was immediately detected and displayed on the Gnutell Net tab.
Thanks for your help!

P.S. I do notice that I have no incoming connections, however. But I this was true previously, as well. Perhaps it is because I do not frequently leave Phex running for long periods? I don't know, but imagine that my IP doesn't get into the caches much, for that reason?

GregorK November 23rd, 2005 07:20 AM

Are you sure you can receive incoming connections?

Try this test while Phex is running and use the port Phex is configured to use.
http://www.shareaza-france.com/test/

cnshht November 23rd, 2005 10:10 AM

Incoming connections
 
After leaving Phex running for several hours, I now have a few incoming connections. I also tried the Shareaza test and TCP was ok (UDP not.)

So I guess that means everything is okay...?

cnshht November 23rd, 2005 10:53 AM

UDP fails test
 
Um, sorry for my ignorance, but I'm not sure, now about UDP. And I see that Phex DOES use UDP, so... How can I make sure that protocol is functional and forwarded and not blocked somehow, etc. ?

Andrew8 January 13th, 2006 03:02 PM

Hi,

I've got a similar problem where Phex won't open. However I don't have a file called phex.cfg in the folder C:\Documents and Settings\<username>\phex

Does anyone have an suggestions as to the problem?

My error log file is the same as above except for the last bit:

java.lang.NullPointerException
at phex.connection.NetworkManager.setForcedHostIP(Unk nown Source)
at phex.connection.NetworkManager.onPostInitializatio n(Unknown Source)
at phex.common.Environment.initializeManagers(Unknown Source)
at phex.Main.main(Unknown Source)
WAIT ENDED
Press any key to continue . . .


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