This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I get the following message whenever I attempt to debug a java program. Debugging works fine on NB 6.1. debug: ERROR: transport error 202: connect failed: Operation timed out FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690] Java Result: 134 BUILD SUCCESSFUL (total time: 1 minute 17 seconds)
Could you please try to close NB. Then verify if java process was finished either. Then start NB again.
I noticed a similar problem when I tried to debug in 6.5 (Dev v. 200810101401). nb-debug-single: ERROR: transport error 202: gethostbyname: unknown host ["transport.c",L41] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L500] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113) JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initializedJava Result: 133 BUILD SUCCESSFUL (total time: 7 seconds) My machine's hostname is not defined when my laptop is not connected to my company's internal network. However, when I set my hostname to resolve to 127.0.0.1 in /etc/hosts the error goes away. The error encountered by jsheppard1961 may be occurring because his hostname refers to an interface besides 127.0.0.1. Then when the debugger tries to attach to the external network interface the OS-X firewall blocks the attempt, leading to the timeout.
Have you tried to switch the firewall off (or open port in firewall settings)? Does it work then properly? If so then it's not issue of debugger.
I found that if I placed 127.0.0.1 <my-hostname> in the /etc/hosts file and that took care of it. Looks like the debugger was simply not able to resolve loopback address to hostname.
This is not fixable in NetBeans, the transport error in "transport.c",L41 is in JDK. NetBeans do not have sources written in C. Please file this bug at http://bugs.sun.com/bugdatabase/
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.