OVH Cloud OVH Cloud

Debugger NetBeans 3.6

15 réponses
Avatar
Bernard Koninckx
Bonjour à tous,

J'ai installé dernièrement la version 3.6 de NetBeans et souhaite travailler
avec celle-ci. J'ai cependant quelques problèmes en ce qui concerne le
debugging. En effet, lorsque je lance le debugger, NetBeans me signale
directement qu'il y a une erreur de configuration. J'ai beau chercher la
solution mais je ne la trouve pas. Quelqu'un aurait-il une idée ? Quelqu'un
aurait-il déjà rencontré ce problème et passer outre. Si oui comment
avez-vous fait ?

Merci à tous de votre collaboration, réponses, remarques, ....

Bernard

5 réponses

1 2
Avatar
Bernard Koninckx
Simple question,
Est-ce que le fait d'avoir activé le debugging sur le répertoire des sources
et des binaires peut impacter le fonctionnement du debugger ?

Bernard

"Vincent Brabant" a écrit dans le message de
news: 4085302a$0$10887$
Le debugger ne s'ouvre pas et le message suivant apparaît :


Incorrect Configuration
Exception while starting debugger :
Cannot start process c:j2sdk_nbj2sdk1.4.2binjava.exe
java.io.IOException: VM initialization failed


Dans l'onglet Process Output le message suivant apparaît:

FATAL ERROR in native method: No transports initialized


--------------------------------------------------------------------------
--

----
Ce qui se trouve dans l'onglet Debugger Console :


C:j2sdk_nbj2sdk1.4.2binjava.exe

-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,address7.0.0.1:1323,suspend=y
-Djava.compiler=NONE
-classpath
"C:WINDOWS.netbeans3.6system;
C:WINDOWS.netbeans3.6system;
C:J2SDK_NBNETBEANS3.6system;
C:J2SDK_NBNETBEANS3.6modulesextAbsoluteLayout.jar;
C:J2SDK_NBNETBEANS3.6modulesextjunit-3.8.1.jar;
C:J2SDK_NBNETBEANS3.6modulesextjunit-testrunner.jar;
C:J2SDK_NBNETBEANS3.6modulesautoloadextjsp-api-2.0.jar;
C:J2SDK_NBNETBEANS3.6modulesautoloadextservlet-api-2.4.jar;
C:J2SDK_NBNETBEANS3.6beansTimerBean.jar;
C:JavaProgsrc;C:j2sdk_nbhibernate-2.1hibernate2.jar;
C:j2sdk_nbhibernate-2.1libjboss-cache.jar;
C:j2sdk_nbhibernate-2.1libant-1.5.3.jar;
C:j2sdk_nbhibernate-2.1libant-optional-1.5.3.jar;
C:j2sdk_nbhibernate-2.1libc3p0-0.8.3.jar;
C:j2sdk_nbhibernate-2.1libcglib-2.0-rc2.jar;
C:j2sdk_nbhibernate-2.1libcommons-collections-2.1.jar;
C:j2sdk_nbhibernate-2.1libcommons-dbcp-1.1.jar;
C:j2sdk_nbhibernate-2.1libcommons-lang-1.0.1.jar;
C:j2sdk_nbhibernate-2.1libcommons-logging-1.0.3.jar;
C:j2sdk_nbhibernate-2.1libcommons-pool-1.1.jar;
C:j2sdk_nbhibernate-2.1libconcurrent-1.3.2.jar;
C:j2sdk_nbhibernate-2.1libconnector.jar;
C:j2sdk_nbhibernate-2.1libdom4j-1.4.jar;
C:j2sdk_nbhibernate-2.1libehcache-0.6.jar;
C:j2sdk_nbhibernate-2.1libjaas.jar;
C:j2sdk_nbhibernate-2.1libjboss-common.jar;
C:j2sdk_nbhibernate-2.1libjboss-jmx.jar;
C:j2sdk_nbhibernate-2.1libjboss-system.jar;
C:j2sdk_nbhibernate-2.1libjcs-1.0-dev.jar;
C:j2sdk_nbhibernate-2.1libjdbc2_0-stdext..jar;
C:j2sdk_nbhibernate-2.1libjgroups-2.2.jar;
C:j2sdk_nbhibernate-2.1libjta.jar;
C:j2sdk_nbhibernate-2.1libjunit-3.8.1.jar;
C:j2sdk_nbhibernate-2.1liblog4j-1.2.8.jar;
C:j2sdk_nbhibernate-2.1libodmg-3.0.jar;
C:j2sdk_nbhibernate-2.1liboscache-2.0.jar;
C:j2sdk_nbhibernate-2.1libproxool-0.8.3.jar;
C:j2sdk_nbhibernate-2.1libswarmcache-1.0rc2.jar;
C:j2sdk_nbhibernate-2.1libxalan-2.4.0.jar;
C:j2sdk_nbhibernate-2.1libxerces-2.4..0.jar;
C:j2sdk_nbhibernate-2.1libxml-apis.jar;

C:mysqlJDBCmysql-connector-java-3.0.9-stablemysql-connector-java-3.0.9-s

table-bin.jar;
C:JavaProgbin"
com.jobsearch.application.JobSearch
err:: No such file or directory


As tu vérifié que tous les fichiers et répertoire repris dans le
classpath ci-dessus existe bien ? Et qu'ils ont bien été introduit comme
il faut, sans faute ?
Je vois ici deux cas bizarres où il y a deux points qui apparaissent
l'un derrière l'autre:
C:j2sdk_nbhibernate-2.1libjdbc2_0-stdext..jar;
C:j2sdk_nbhibernate-2.1libxerces-2.4..0.jar;

Cela pourrait évidemment expliquer le message
"No such file or directory."


Error [2] in gethostbyname() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.

Comme ça je pense avoir été complet dans la description de problème

Bernard


"Vincent Brabant" a écrit dans le message de
news: 40851c4d$0$10885$


Ah oui, au cas où ça pourrait aider quelqu'un, ma configuration est la
suivante

JDK 1.2.4 04
NetBeans 3.6
(Ouin doze) Windows 98

Bernard


Et il affiche quoi comme erreur ?


--
Vincent Brabant
----------------
http://www.netbeans.org/index_fr.html
http://vbrabant-fr.skynetblogs.be








--
Vincent Brabant
----------------
http://www.netbeans.org/index_fr.html
http://vbrabant-fr.skynetblogs.be






Avatar
Bernard Koninckx
Ce qui est d'autant plus curieux c'est que mon application se lance
correctement en mode exécution.
Est-ce que le fait que j'utilise un compilateur External a une influence ?

Bernard

"Vincent Brabant" a écrit dans le message de
news: 4085302a$0$10887$
Le debugger ne s'ouvre pas et le message suivant apparaît :


Incorrect Configuration
Exception while starting debugger :
Cannot start process c:j2sdk_nbj2sdk1.4.2binjava.exe
java.io.IOException: VM initialization failed


Dans l'onglet Process Output le message suivant apparaît:

FATAL ERROR in native method: No transports initialized


--------------------------------------------------------------------------
--

----
Ce qui se trouve dans l'onglet Debugger Console :


C:j2sdk_nbj2sdk1.4.2binjava.exe

-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,address7.0.0.1:1323,suspend=y
-Djava.compiler=NONE
-classpath
"C:WINDOWS.netbeans3.6system;
C:WINDOWS.netbeans3.6system;
C:J2SDK_NBNETBEANS3.6system;
C:J2SDK_NBNETBEANS3.6modulesextAbsoluteLayout.jar;
C:J2SDK_NBNETBEANS3.6modulesextjunit-3.8.1.jar;
C:J2SDK_NBNETBEANS3.6modulesextjunit-testrunner.jar;
C:J2SDK_NBNETBEANS3.6modulesautoloadextjsp-api-2.0.jar;
C:J2SDK_NBNETBEANS3.6modulesautoloadextservlet-api-2.4.jar;
C:J2SDK_NBNETBEANS3.6beansTimerBean.jar;
C:JavaProgsrc;C:j2sdk_nbhibernate-2.1hibernate2.jar;
C:j2sdk_nbhibernate-2.1libjboss-cache.jar;
C:j2sdk_nbhibernate-2.1libant-1.5.3.jar;
C:j2sdk_nbhibernate-2.1libant-optional-1.5.3.jar;
C:j2sdk_nbhibernate-2.1libc3p0-0.8.3.jar;
C:j2sdk_nbhibernate-2.1libcglib-2.0-rc2.jar;
C:j2sdk_nbhibernate-2.1libcommons-collections-2.1.jar;
C:j2sdk_nbhibernate-2.1libcommons-dbcp-1.1.jar;
C:j2sdk_nbhibernate-2.1libcommons-lang-1.0.1.jar;
C:j2sdk_nbhibernate-2.1libcommons-logging-1.0.3.jar;
C:j2sdk_nbhibernate-2.1libcommons-pool-1.1.jar;
C:j2sdk_nbhibernate-2.1libconcurrent-1.3.2.jar;
C:j2sdk_nbhibernate-2.1libconnector.jar;
C:j2sdk_nbhibernate-2.1libdom4j-1.4.jar;
C:j2sdk_nbhibernate-2.1libehcache-0.6.jar;
C:j2sdk_nbhibernate-2.1libjaas.jar;
C:j2sdk_nbhibernate-2.1libjboss-common.jar;
C:j2sdk_nbhibernate-2.1libjboss-jmx.jar;
C:j2sdk_nbhibernate-2.1libjboss-system.jar;
C:j2sdk_nbhibernate-2.1libjcs-1.0-dev.jar;
C:j2sdk_nbhibernate-2.1libjdbc2_0-stdext..jar;
C:j2sdk_nbhibernate-2.1libjgroups-2.2.jar;
C:j2sdk_nbhibernate-2.1libjta.jar;
C:j2sdk_nbhibernate-2.1libjunit-3.8.1.jar;
C:j2sdk_nbhibernate-2.1liblog4j-1.2.8.jar;
C:j2sdk_nbhibernate-2.1libodmg-3.0.jar;
C:j2sdk_nbhibernate-2.1liboscache-2.0.jar;
C:j2sdk_nbhibernate-2.1libproxool-0.8.3.jar;
C:j2sdk_nbhibernate-2.1libswarmcache-1.0rc2.jar;
C:j2sdk_nbhibernate-2.1libxalan-2.4.0.jar;
C:j2sdk_nbhibernate-2.1libxerces-2.4..0.jar;
C:j2sdk_nbhibernate-2.1libxml-apis.jar;

C:mysqlJDBCmysql-connector-java-3.0.9-stablemysql-connector-java-3.0.9-s

table-bin.jar;
C:JavaProgbin"
com.jobsearch.application.JobSearch
err:: No such file or directory


As tu vérifié que tous les fichiers et répertoire repris dans le
classpath ci-dessus existe bien ? Et qu'ils ont bien été introduit comme
il faut, sans faute ?
Je vois ici deux cas bizarres où il y a deux points qui apparaissent
l'un derrière l'autre:
C:j2sdk_nbhibernate-2.1libjdbc2_0-stdext..jar;
C:j2sdk_nbhibernate-2.1libxerces-2.4..0.jar;

Cela pourrait évidemment expliquer le message
"No such file or directory."


Error [2] in gethostbyname() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.

Comme ça je pense avoir été complet dans la description de problème

Bernard


"Vincent Brabant" a écrit dans le message de
news: 40851c4d$0$10885$


Ah oui, au cas où ça pourrait aider quelqu'un, ma configuration est la
suivante

JDK 1.2.4 04
NetBeans 3.6
(Ouin doze) Windows 98

Bernard


Et il affiche quoi comme erreur ?


--
Vincent Brabant
----------------
http://www.netbeans.org/index_fr.html
http://vbrabant-fr.skynetblogs.be








--
Vincent Brabant
----------------
http://www.netbeans.org/index_fr.html
http://vbrabant-fr.skynetblogs.be






Avatar
Vincent Brabant
Ce qui est d'autant plus curieux c'est que mon application se lance
correctement en mode exécution.
Est-ce que le fait que j'utilise un compilateur External a une influence ?
Logiquement non, puisque External Compiler est ce qui est par défaut.


Est-ce une application Web, que je vois des classes jboss, ou c'est
juste qu'elles font partie d'Hibernate ?
--
Vincent Brabant
----------------
http://www.netbeans.org/index_fr.html
http://vbrabant-fr.skynetblogs.be

Avatar
Frédéric Lachasse
La partie:
-Xrunjdwp:transport=dt_socket,address7.0.0.1:1323,suspend=y
est incorrecte, en particulier l'adresse est incorrecte pour "server=y" (qui

est le défaut. Le format est correct si "server=n", mais cette option est
rarement utilisée).

Je ne connais pas NetBeans, mais si tu as "127.0.0.1:1323" dans un des
champs de configuration, change pour "1323" (juste un numéro de port), et
cela devrait mieux marcher.

"Bernard Koninckx" wrote in message
news:408529a9$0$10882$
Le debugger ne s'ouvre pas et le message suivant apparaît :


Incorrect Configuration
Exception while starting debugger :
Cannot start process c:j2sdk_nbj2sdk1.4.2binjava.exe
java.io.IOException: VM initialization failed


Dans l'onglet Process Output le message suivant apparaît:

FATAL ERROR in native method: No transports initialized
--------------------------------------------------------------------------
--

----
Ce qui se trouve dans l'onglet Debugger Console :


C:j2sdk_nbj2sdk1.4.2binjava.exe -Xdebug -Xnoagent -Xrunjdwp:transport=dt

_socket,address7.0.0.1:1323,suspend=y -Djava.compiler=NONE -classpath

"C:WINDOWS.netbeans3.6system;C:WINDOWS.netbeans3.6system;C:J2SDK_NB


NETBEANS3.6system;C:J2SDK_NBNETBEANS3.6modulesextAbsoluteLayout.jar;C


:J2SDK_NBNETBEANS3.6modulesextjunit-3.8.1.jar;C:J2SDK_NBNETBEANS3.6m


odulesextjunit-testrunner.jar;C:J2SDK_NBNETBEANS3.6modulesautoloadext


jsp-api-2.0.jar;C:J2SDK_NBNETBEANS3.6modulesautoloadextservlet-api-2.


4.jar;C:J2SDK_NBNETBEANS3.6beansTimerBean.jar;C:JavaProgsrc;C:j2sdk_n


bhibernate-2.1hibernate2.jar;C:j2sdk_nbhibernate-2.1libjboss-cache.jar


;C:j2sdk_nbhibernate-2.1libant-1.5.3.jar;C:j2sdk_nbhibernate-2.1liba


nt-optional-1.5.3.jar;C:j2sdk_nbhibernate-2.1libc3p0-0.8.3.jar;C:j2sdk_


nbhibernate-2.1libcglib-2.0-rc2.jar;C:j2sdk_nbhibernate-2.1libcommons

-collections-2.1.jar;C:j2sdk_nbhibernate-2.1libcommons-dbcp-1.1.jar;C:
j


2sdk_nbhibernate-2.1libcommons-lang-1.0.1.jar;C:j2sdk_nbhibernate-2.1l


ibcommons-logging-1.0.3.jar;C:j2sdk_nbhibernate-2.1libcommons-pool-1.1.


jar;C:j2sdk_nbhibernate-2.1libconcurrent-1.3.2.jar;C:j2sdk_nbhibernate

-2.1libconnector.jar;C:j2sdk_nbhibernate-2.1libdom4j-1.4.jar;C:j2sd
k_


nbhibernate-2.1libehcache-0.6.jar;C:j2sdk_nbhibernate-2.1libjaas.jar;


C:j2sdk_nbhibernate-2.1libjboss-common.jar;C:j2sdk_nbhibernate-2.1lib


jboss-jmx.jar;C:j2sdk_nbhibernate-2.1libjboss-system.jar;C:j2sdk_nbhi


bernate-2.1libjcs-1.0-dev.jar;C:j2sdk_nbhibernate-2.1libjdbc2_0-stdext


.jar;C:j2sdk_nbhibernate-2.1libjgroups-2.2.jar;C:j2sdk_nbhibernate-2.1


libjta.jar;C:j2sdk_nbhibernate-2.1libjunit-3.8.1.jar;C:j2sdk_nbhiber


nate-2.1liblog4j-1.2.8.jar;C:j2sdk_nbhibernate-2.1libodmg-3.0.jar;C:j


2sdk_nbhibernate-2.1liboscache-2.0.jar;C:j2sdk_nbhibernate-2.1libprox


ool-0.8.3.jar;C:j2sdk_nbhibernate-2.1libswarmcache-1.0rc2.jar;C:j2sdk_n


bhibernate-2.1libxalan-2.4.0.jar;C:j2sdk_nbhibernate-2.1libxerces-2.4


.0.jar;C:j2sdk_nbhibernate-2.1libxml-apis.jar;C:mysqlJDBCmysql-connec


tor-java-3.0.9-stablemysql-connector-java-3.0.9-stable-bin.jar;C:JavaProg

bin" com.jobsearch.application.JobSearch
err:: No such file or directory
Error [2] in gethostbyname() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.

Comme ça je pense avoir été complet dans la description de problème


Avatar
Bernard Koninckx
Bonjour,

Ce n'est pas une application JBoss d'ailleurs j'ai retiré les quelques
archives le concernant.
J'ai également corrigé les erreurs que tu m'as fait remarquer a juste titre
dans un précédent post.
Je n'arrive malgré tout pas du tout a debugger mon application. Les même
messages d'erreurs sont générés.

Bernard


"Vincent Brabant" a écrit dans le message de
news: 4085634a$0$11077$
Ce qui est d'autant plus curieux c'est que mon application se lance
correctement en mode exécution.
Est-ce que le fait que j'utilise un compilateur External a une influence
?


Logiquement non, puisque External Compiler est ce qui est par défaut.

Est-ce une application Web, que je vois des classes jboss, ou c'est
juste qu'elles font partie d'Hibernate ?
--
Vincent Brabant
----------------
http://www.netbeans.org/index_fr.html
http://vbrabant-fr.skynetblogs.be




1 2