Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Feature Requests & Bug Reports (https://www.gnutellaforums.com/feature-requests-bug-reports/)
-   -   Phex won't start - error log data included (https://www.gnutellaforums.com/feature-requests-bug-reports/55328-phex-wont-start-error-log-data-included.html)

GeorgeOCanada April 1st, 2006 06:06 PM

Phex won't start - error log data included
 
Help Anyone. Phex is not starting. I get the splash screen and that's it. The process doesn't start. Windows XP. The following is from the phex.error.log. This seems like a different problem than the other thread on starting problems.

060401 20:36:28,0953 Error/GLOBAL:: java.lang.NullPointerException: Host ip is null - Exception: java.lang.NullPointerException: Host ip is null
at phex.common.address.DefaultDestAddress.<init>(Unkn own Source)
at phex.host.FavoritesContainer.loadFromFile(Unknown Source)
at phex.host.FavoritesContainer.initializeFavorites(U nknown Source)
at phex.connection.NetworkManager.onPostInitializatio n(Unknown Source)
at phex.common.ManagerController.postInitializeManage rs(Unknown Source)
at phex.common.ManagerController.initializeManagers(U nknown Source)
at phex.Main.main(Unknown Source)



The following is the debug launch output from the command prompt:
-----------------------------------------------------------------

ResourceManager resource configuration:
- Resource category: JAVA
- Current directory: C:\Program Files\Phex_2.8.4.93\
- 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)(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.4.93\
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 (2 available)
VM will be tried in the following order: 1.5.0;1.5.0;
- Trying registry: <C:\Program Files\Java\jre1.5.0_06><C:\Program Files\Java\jre
1.5.0_06\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_06\bin\java.exe
ClassPath element 0=C:\Program Files\Phex_2.8.4.93\phex.jar
ADDCP= C:\Program Files\Phex_2.8.4.93\phex.jar;
CLASSNAME = <phex.Main>
COMMAND LINE: C:\Program Files\Java\jre1.5.0_06\bin\java.exe -classpath ";C:\Pr
ogram Files\Phex_2.8.4.93\phex.jar;" phex.Main
RESULT: 1
WAITING: 1
java.lang.NullPointerException: Host ip is null
at phex.common.address.DefaultDestAddress.<init>(Unkn own Source)
at phex.host.FavoritesContainer.loadFromFile(Unknown Source)
at phex.host.FavoritesContainer.initializeFavorites(U nknown Source)
at phex.connection.NetworkManager.onPostInitializatio n(Unknown Source)
at phex.common.ManagerController.postInitializeManage rs(Unknown Source)
at phex.common.ManagerController.initializeManagers(U nknown Source)
at phex.Main.main(Unknown Source)
WAIT ENDED
Press any key to continue . . .

GregorK April 2nd, 2006 09:27 AM

There seems to be a strange problem with your stored favoite hosts.

The problem should be cured if you delete the 'favorites.xml' file from your phex configuration directory ( c:\Documents and Settings\[UserName]\phex ).

Gregor

GeorgeOCanada April 2nd, 2006 10:07 AM

Thank you
 
That did the trick. FYI. This was the file content.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <phex phex-version="2.8.2.92">
- <favorites-list>
- <favorite-host>
<ip>4839AF66</ip>
<port>6346</port>
</favorite-host>
- <favorite-host>
<ip>188D70B2</ip>
<port>6346</port>
</favorite-host>
- <favorite-host>
<port>6346</port>
</favorite-host>
</favorites-list>
</phex>

As well, I was getting a weird behaviour on the conections page before this problem started occuring. The bottom half of the page would display content from the page of the last tab visited (eg search). After shutting down Phex to see if it would clear this problem, it would no longer restart.

Thanks again for your help. All is good now.


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