Vista Java update has broken Goo Tool

6 replies [Last post]
Joined: 02/01/2009

As it says.

Have uninstalled and reinstalled java, no difference. Upon opening I get a popup with:

"Uncaught exception (java.lang.RuntimeException) Can't start primary instance server"

Other Java apps are still ok.

Any logs etc you want me to post?

Joined: 11/04/2008

Hi Matt,

I was unable to reproduce this with the latest Java update. Please post the end of your gootool logfile (details here: http://goofans.com/gootool/troubleshooting/crash )

-davidc

Joined: 02/01/2009

hope this is enough...

12-Mar-2009 06:52:52 com.goofans.gootool.O a
WARNING: Unable to open socket on port 33159
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
12-Mar-2009 06:52:52 com.goofans.gootool.GooTool main
SEVERE: Uncaught exception
java.lang.RuntimeException: Can't start primary instance server
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
Caused by: java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
... 4 more

Joined: 11/04/2008

Possibly it is detecting IPv6 being enabled and trying to use it. You can try disabling this if you don't use it in the Control Panel, network connections, properties.

0.10.3 will force use of IPv4 and will have better logging in case this isn't the problem.

David

Joined: 02/01/2009

Didn't work.

Emptied the log file. Re-ran. Post below

15-Mar-2009 16:17:16 com.goofans.gootool.GooTool main
INFO: Launching gootool 0.10.2.222
15-Mar-2009 16:17:16 com.goofans.gootool.GooTool main
INFO: Java version 1.6.0_12 from Sun Microsystems Inc. in C:\Program Files\Java\jre6
15-Mar-2009 16:17:16 com.goofans.gootool.GooTool main
INFO: OS Windows Vista version 6.0 on x86
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 50897
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 27772
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 23197
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 54721
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 38848
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 49175
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 38569
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 55682
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 26873
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.O a
WARNING: Unable to open socket on port 28281
java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
15-Mar-2009 16:17:16 com.goofans.gootool.GooTool main
SEVERE: Uncaught exception
java.lang.RuntimeException: Can't start primary instance server
at com.goofans.gootool.E.a(SourceFile:44)
at com.goofans.gootool.R.a(SourceFile:43)
at com.goofans.gootool.ac.b(SourceFile:88)
at com.goofans.gootool.GooTool.main(SourceFile:42)
Caused by: java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.goofans.gootool.O.a(SourceFile:260)
at com.goofans.gootool.O.(SourceFile:224)
... 4 more

Joined: 11/04/2008

I have now reproduced this problem. It appears that a recent update to Vista added a "::1 localhost" line to the hosts file, causing Java to attempt to use IPv6 instead of IPv4 when resolving "localhost".

The next version of GooTool fixes this problem; in the meantime you can edit the hosts file without ill effects:

1. Right click Notepad, Run as Administrator
2. Open "c:\windows\system32\drivers\etc\hosts" (note, no .txt, so it won't show up in the file list).
3. Comment out the line "::1 localhost" by putting a "#" sign before it.
4. Ensure there is a line reading "127.0.0.1 localhost"
5. Save and exit Notepad.

Let me know if that helps.

-davidc

Reference: http://forums.sun.com/thread.jspa?threadID=5373410&tstart=0

Joined: 02/01/2009

w00t.. back in business...

Thanks. Smile