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 119705 - Unable to debug main project in NB6.0
Summary: Unable to debug main project in NB6.0
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 22:42 UTC by _ jyothivasa
Modified: 2007-10-25 18:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
from oputput window (3.09 KB, text/plain)
2007-10-25 11:27 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ jyothivasa 2007-10-22 22:42:57 UTC
I'm not able to debug uml projects using "debug main project" in NB6 on Vista.

--snip---
Loading module list from C:\work\NBSrc\Hydra\Meteora1010\nb_all\nbbuild\nbproject\private\scan-cache-full.ser
Cannot find build prerequisite javax.jmi.reflect of C:\work\NBSrc\Hydra\Meteora1010\nb_all\j2ee\refactoring
Cannot find build prerequisite org.netbeans.jmi.javamodel of C:\work\NBSrc\Hydra\Meteora1010\nb_all\j2ee\refactoring
Cannot find build prerequisite org.netbeans.modules.javacore of C:\work\NBSrc\Hydra\Meteora1010\nb_all\j2ee\refactoring
Cannot find build prerequisite org.netbeans.modules.jmiutils of C:\work\NBSrc\Hydra\Meteora1010\nb_all\j2ee\refactoring
Cannot find build prerequisite org.netbeans.modules.refactoring of C:\work\NBSrc\Hydra\Meteora1010\nb_all\j2ee\refactoring
Cannot find build prerequisite org.netbeans.modules.registry of C:\work\NBSrc\Hydra\Meteora1010\nb_all\openidex\enode
Cannot find build prerequisite org.netbeans.modules.registry of
C:\work\NBSrc\Hydra\Meteora1010\nb_all\openidex\enode\testmodule
Cannot find build prerequisite org.netbeans.modules.convertor of
C:\work\NBSrc\Hydra\Meteora1010\nb_all\openidex\enode\testmodule
Cannot find build prerequisite org.netbeans.modules.vcscore of C:\work\NBSrc\Hydra\Meteora1010\nb_all\refactoring\vcs
Cannot find build prerequisite javax.jmi.reflect of C:\work\NBSrc\Hydra\Meteora1010\nb_all\serverplugins\sun\avk
Cannot find build prerequisite org.netbeans.jmi.javamodel of C:\work\NBSrc\Hydra\Meteora1010\nb_all\serverplugins\sun\avk
Cannot find build prerequisite org.netbeans.modules.java of C:\work\NBSrc\Hydra\Meteora1010\nb_all\serverplugins\sun\avk
Cannot find build prerequisite org.netbeans.modules.javacore of C:\work\NBSrc\Hydra\Meteora1010\nb_all\serverplugins\sun\avk
Cannot find build prerequisite org.netbeans.modules.jmiutils of C:\work\NBSrc\Hydra\Meteora1010\nb_all\serverplugins\sun\avk
check-for-build:
maybe-build-nozip:
tryme-setup-debug-args:
tryme:
BUILD SUCCESSFUL (total time: 1 minute 35 seconds)

--end snip---
Comment 1 Martin Entlicher 2007-10-23 17:36:01 UTC
It looks like some setup problem. I can debug UML project fine on Linux.
Can you please try: New Project / Samples / UML / UMLBankAppSample and start debugging on it? Will it work?
Comment 2 _ jyothivasa 2007-10-23 19:46:51 UTC
The problem is on Windows Vista.
Comment 3 Sergey Petrov 2007-10-23 20:05:38 UTC
Problem isn't rproducible with sample projects, it's reproducible with module projects from nb_all, for example uml/core
and also some not uml projects.
Comment 4 Martin Entlicher 2007-10-24 13:59:51 UTC
Please verify that you have checked out and compiled all necessary modules. Can you "run" the module? Can you run
NetBeans from nbbuild/netbeans/bin/netbeans ?
It works fine for me.
Comment 5 Sergey Petrov 2007-10-24 15:51:42 UTC
I can build netbeans without errors, I can run nbbuild/netbeans/bin/netbeans and uml is there
I can't run module from netbeans, it may be not a debugger issue if dbugger isn't used for from netbeans module run.
one more is usage of java5 only. looks like evering is started with absent javax.jmi.reflect somewhere in classpath.
It's reproducible on at least two systems. May be not a problem with debugger but with internal netbeans build process.

Did you try vista, java5, uml/core (debug or run)?
Comment 6 Martin Entlicher 2007-10-24 20:11:10 UTC
I've tested this on Linux, do not have Vista offhand.
If you can not run the project, it's not a debugger issue. The error seems to occur sooner than debugger is started anyway.
Moving to apisupport, that handles NetBeans projects I guess.
Comment 7 Jesse Glick 2007-10-24 20:31:13 UTC
Seems to be working for me on Ubuntu.

I also have no access to a Vista machine. If you do, and it fails only on Vista, then please investigate for yourself
what differs from e.g. XP. I cannot guess. Have not heard other reports about people using Vista being unable to work
with NB module projects, but who knows.
Comment 8 Sergey Petrov 2007-10-25 08:12:11 UTC
How it can be closed as works for me if not tested on platform it is targeted?

I never had the issue on xp, and now after upgrade to vista I and Jyothi have this problem.

in our team 2 people used to use internal netbeans run/debug and we got this problem now
other members always use external execution with debugger attaching later so they have no problem now as before.
from first fail report it sems nb can't find javax.jmi.reflect on vista and all other fails just a consequence of first one.
But I also don't understand why execution of uml/core or may be some graph/.. cause building of j2ee module in which
fail occure, it may be two issues here.
Comment 9 Sergey Petrov 2007-10-25 11:22:35 UTC
And third issue report shows SUCCESSFUL BUILD, debugger starts to listen on some port but ide never starts.
see complete log for attempt to debug graph/integration module in attachment.
presteps was: 
cvs co nbbuild
cd nbbuild
ant checkout
ant
'may be was checkiuted additional modules'
in separate nb instance open project graph/integration of uml/core or may be more other modules.
invoke Debug from context menu.
Comment 10 Sergey Petrov 2007-10-25 11:27:27 UTC
Created attachment 51656 [details]
from oputput window
Comment 11 Jesse Glick 2007-10-25 17:20:51 UTC
Try this. I cannot verify.

nbbuild/build.xml 1.855
Comment 12 Sergey Petrov 2007-10-25 18:12:28 UTC
thanks, it works now
even with all these "can't find.."