title: Jboss Error While debugging -FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
body: <p>I am using <code>Ubuntu 15.04</code>, <code>java 1.7</code>and mysql 5.6. I am not using any server
  I have a demo application where I am trying to fetch the data from db.
  When i run the program from main method in the log I am getting null pointer exception.</p>
  
  <p>To check when I am trying to debug as java application, I am getting an error message saying </p>
  
  <pre><code>ERROR: transport error 202: connect failed: No route to 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:750]
  FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
  </code></pre>
  
  <ol>
  <li>What is the cause of this error? </li>
  <li>how to resolve this?</li>
  </ol>