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.

Bug 163562 - Can't debug Java application
Summary: Can't debug Java application
Status: CLOSED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 10:33 UTC by vanob
Modified: 2010-04-29 09:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2009-04-24 10:33:13 UTC
OS: OpenSolaris 2008.11
Java: java version "1.6.0_10"
Java(TM) Platform, Standard Edition for Business (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)

Create simple java application and hit Ctrl+F5

The following error is displayed:

debug:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: gethostbyname: unknown host
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: 1
Comment 1 Martin Entlicher 2009-04-24 10:35:16 UTC
Please setup host name for your computer.
The problem is printed in the error message: "gethostbyname: unknown host"
Comment 2 vanob 2009-04-24 10:43:23 UTC
command hostname returns the value
Comment 3 Martin Entlicher 2009-04-24 10:55:36 UTC
Sorry, but this is out of scope for NetBeans. From your error it's clear that gethostbyname returns "unknown host".
Until you fixes this, you'll not be able to debug. This is NOT NetBeans issue, it's JPDA issue. You may also check if
there isn't something blocking access to your local host, like firewall, etc.

If you believe that you have everything set up correctly, please submit a defect at http://bugs.sun.com/
Comment 4 Quality Engineering 2010-04-29 09:50:16 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.