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 42056 - 1.4.2 Standard debugger does not run with 3.6
Summary: 1.4.2 Standard debugger does not run with 3.6
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P4 blocker with 1 vote (vote)
Assignee: _ lcincura
URL:
Keywords:
: 45660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-15 21:20 UTC by z0man
Modified: 2010-04-29 09:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log of error (21.46 KB, text/plain)
2004-07-15 15:20 UTC, stuartjnewman
Details
Slightly different log file of my Netbeans (31.49 KB, text/plain)
2004-07-16 00:20 UTC, z0man
Details

Note You need to log in before you can comment on or make changes to this bug.
Description z0man 2004-04-15 21:20:19 UTC
"VM initialization has failed" error 
I get the same error as reported by Debugger faq
http://www.netbeans.org/kb/faqs/debugger.html#FAQ_5

I have even tried the suggested resolution.  I
uninstalled JDK and Netbeans; removed
c:\windows\.netbeans[version], removed
c:\jdk1_4_2.01. Restarted after uninstalled.

Reinstalled, netbeans and jdk under paths with no
spaces
c:\netbeans3_6
c:\j2sdk1_4_2_01
Restarted after installed

Also tried pointing the External Process to
c:\j2sdk1_4_2_01\bin\java.exe

Still get the same error message

What is wierd is that netbeans 3.5's debugger
worked fine with default install directories, it
might be the new arcitecture has not been fully
implemented.
Comment 1 z0man 2004-04-15 21:26:59 UTC
The Debugger FAQ does mention that the JPDA be installed seperately as
of jsdk1.3.x for netbeans
Comment 2 Jan Jancura 2004-06-03 09:57:49 UTC
Lubomir:
Can you try to reproduce and evaluate this bug, please? I do not have
access to Win98. Thanks Hanz
Comment 3 _ lcincura 2004-06-03 10:15:54 UTC
I tried, but was not succesfull. Debugger worked fine and I could not
find any way to stop it work when everything was installed correctly.
Comment 4 z0man 2004-06-04 09:48:34 UTC
I will uninstall both netbeans and Java and look at the logs.  Give
some clues where I might be able to look.  

Also when I reinstall my machine or my father does I will try to
examine there too.  My father's looking like it's aching to be
re-installed so, keep this open till win98 is least popular used on
the internet.

I plan to reinstall soon myself as, having that debugger not working
is a real pain.  It will be a carefull installation as me and my
father make sure we not caught up in DLL hell.  I made a program that
is similar to winxp and winme (i think) :) Made using Netbeans might i
add. :) http://81.98.115.45:8083 see sfcfiler under portfolio

If it installs fine then it is my machine if it does not, I will do my
best to get as much details.

If you do close this bug, I will email somone(or a bunch) from this
bug thread my findings.  Wish me luck :)
Comment 5 z0man 2004-06-04 09:51:54 UTC
I will also write step by steps of my uninstalls and installs
Comment 6 _ lcincura 2004-06-04 09:57:59 UTC
I suggest you to install NetBeans IDE 3.6 + j2se 1.4.2_04 bundle. The
bundle can be downloaded from
http://java.sun.com/j2se/1.4.2/download-netbeans.html.

I wish you luck
Comment 7 Jan Jancura 2004-06-29 17:24:45 UTC
*** Issue 45660 has been marked as a duplicate of this issue. ***
Comment 8 Jan Jancura 2004-06-30 09:59:27 UTC
*** Issue 45660 has been marked as a duplicate of this issue. ***
Comment 9 stuartjnewman 2004-06-30 15:04:35 UTC
I used the recommended versions and still get the problem.
Comment 10 stuartjnewman 2004-07-13 14:38:04 UTC
Dear Ian,

When I try to debug the colorpicker example with an updated Netbeans
under Windows 98 SE with JAVA 1.4.2_04 I get:

C:\j2sdk1.4.2_04\bin\java -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=127.0.0.1:2357,suspend=y
-Djava.compiler=NONE  -classpath
"C:\WINDOWS\.netbeans\3.6\system;C:\WINDOWS\.netbeans\3.6\system;C:\NETBEANS3.6\system;C:\NETBEANS3.6\modules\ext\AbsoluteLayout.jar;C:\NETBEANS3.6\modules\ext\junit-3.8.1.jar;C:\NETBEANS3.6\modules\ext\junit-testrunner.jar;C:\NETBEANS3.6\modules\autoload\ext\jsp-api-2.0.jar;C:\NETBEANS3.6\modules\autoload\ext\servlet-api-2.4.jar;C:\WINDOWS\.netbeans\3.6\sampledir;C:\NETBEANS3.6\beans\TimerBean.jar"
examples.colorpicker.ColorPicker
err:: No such file or directory
Error [2] in gethostbyname() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.

in the debugger console.  Does this help?  If not, what else can I do
for you?
Comment 11 stuartjnewman 2004-07-15 15:20:07 UTC
Created attachment 16277 [details]
Log of error
Comment 12 z0man 2004-07-15 23:50:09 UTC
Sorry I have been a while.

-I did do a uninstalled JDK,Netbeans and the JRE.
-I downloaded and installed the bundled Netbeans.
-Installed Netbeans3.6 and JDK1.4.2_04 [default settings]
-Restarted
-Installed JRE 1.4.2_04 for windows
-Restarted
-Ran Netbeans
-Opened Color Picker
-Put a BREAKPOINT on line 106 of code
-Click on "Run in Debugger"
-The output of error is still same reported as above.

---START OF SETTINGS FOR DEFAULT DEBUGGER-----
Options->Debugging and Executing->Debugger Types->Default Debugging

EXTERNAL PROCESS={jdk.home}{/}bin{/}java
{classic}{assertEnabled}{debuggerOptions} -Djava.compiler=NONE
-classpath {q}{filesystems}{q} {main}
IMPLEMENTATION=Default Debgger (JPDA)
IDENTIFYING NAME=Default Debugging
BOOT
CLASSPATH=C:\J2SDK1.4.2_04\JRE\lib\rt.jar;C:\J2SDK1.4.2_04\JRE\lib\i18n.jar;C:\J2SDK1.4.2_04\JRE\lib\sunrsasign.jar;C:\J2SDK1.4.2_04\JRE\lib\jsse.jar;C:\J2SDK1.4.2_04\JRE\lib\jce.jar;C:\J2SDK1.4.2_04\JRE\lib\charsets.jar;C:\J2SDK1.4.2_04\JRE\classes;C:\J2SDK1.4.2_04\JRE\lib\ext\dnsns.jar;C:\J2SDK1.4.2_04\JRE\lib\ext\ldapsec.jar;C:\J2SDK1.4.2_04\JRE\lib\ext\sunjce_provider.jar;C:\J2SDK1.4.2_04\JRE\lib\ext\localedata.jar
CLASSPATH="C:\PROGRAM
FILES\NETBEANS3.6\lib\ext\boot.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\lib\tools.jar"
---END OF SETTINGS FOR DEFAULT DEBUGGER-----
Comment 13 z0man 2004-07-16 00:04:48 UTC
Also checked the "CLASSPATH", "BOOT CLASSPATH" settings

They exist. No mistakes in the filenames.
Comment 14 z0man 2004-07-16 00:20:14 UTC
Created attachment 16288 [details]
Slightly different log file of my Netbeans
Comment 15 Jan Jancura 2004-08-26 16:38:55 UTC
You have some problem with network, I think. Debugger needs
"localhost" to be resolved correctly.
See:http://www.netbeans.org/kb/faqs/debugger.html for more info.
Comment 16 stuartjnewman 2004-08-26 21:07:50 UTC
I was able to get things working using the shared memory changes to
ide.cfg in the FAQ.  This still did not work with setting
c:\Windows\hosts for localhost.
Comment 17 Quality Engineering 2010-04-29 09:17:27 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.