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 67508

Summary: [50cat] Debugging target using advanced options does not work
Product: debugger Reporter: misterm <misterm>
Component: AntAssignee: Martin Entlicher <mentlicher>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 67509    

Description misterm 2005-10-25 18:05:37 UTC
[ BUILD # : 20051013 ]
[ JDK VERSION : 1.4.2_xx ]

The following exception happens when trying to access Debug target -> Advanced... :

java.lang.NoClassDefFoundError: org/apache/tools/ant/module/AntSettings
	at org.netbeans.modules.ant.debugger.AdvancedActionPanel.initializeFields(AdvancedActionPanel.java:112)
	at org.netbeans.modules.ant.debugger.AdvancedActionPanel.<init>(AdvancedActionPanel.java:84)
	at org.netbeans.modules.ant.debugger.RunTargetsAction$AdvancedAction.actionPerformed(RunTargetsAction.java:260)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
	at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
	at java.awt.Component.processMouseEvent(Component.java:5100)
	at java.awt.Component.processEvent(Component.java:4897)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
	at java.awt.Container.dispatchEventImpl(Container.java:1613)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 Milan Kubec 2005-10-26 07:46:31 UTC
I cannot reproduce the exception, Debug Target -> Advanced works for me. Please
could you provide some additional info how to reproduce it starting from clean
userdir. You might also try newer build. Thanks. 

Lowering prio until we have reproducible testcase.
Comment 2 misterm 2005-10-26 10:48:27 UTC
I can _consistently_ reproduce it with a clean userdir and using qbuild 
20051013. Have you tried to reproduce it using this build?
Comment 3 misterm 2005-10-26 10:49:39 UTC
Here is the log snippet showing the modules turned on during startup:

        org.openide.util [6.5 200510131600]
        org.openide.modules [6.4 200510131600]
        org.openide.awt [6.6 200510131600]
        org.netbeans.modules.editor.util/1 [1.7 200510131600]
        org.openide.dialogs [6.3 200510131600]
        org.openide.filesystems [6.3 200510131600]
        org.openide.nodes [6.6 200510131600]
        org.openide.windows [6.3 200510131600]
        org.openide.options [6.3 200510131600]
        org.openide.text [6.7 200510131600]
        org.openide.explorer [6.4 1 200510131600]
        org.openide.actions [6.4 200510131600]
        org.openide.loaders [5.7 200510131600]
        org.netbeans.modules.editor.mimelookup/1 [1.2 200510131600]
        org.netbeans.modules.editor.fold/1 [1.4 200510131600]
        org.netbeans.modules.editor.lib/1 [1.8.0.1 1 200510131600]
        org.netbeans.modules.queries/1 [1.6 200510131600]
        org.openidex.util/3 [3.8 200510131600]
        org.netbeans.modules.editor.settings/1 [1.3 200510131600]
        org.netbeans.modules.editor.settings.storage/1 [1.3 200510131600]
        org.netbeans.modules.editor/3 [1.25.0.1 200510131600]
        org.netbeans.modules.editor.completion/1 [1.2 200510131600]
        org.netbeans.modules.projectapi/1 [1.8 200510131600]
        org.netbeans.modules.classfile/1 [1.16 200510131600]
        javax.jmi.reflect/1 [1.6 200510131600]
        org.netbeans.jmi.javamodel/2 [1.19.0 200510131600]
        org.netbeans.api.mdr/1 [1.3 200510131600]
        org.netbeans.api.progress/1 [1.2 200510131600]
        javax.jmi.model/1 [1.6 200510131600]
        org.netbeans.modules.jmiutils/1 [1.4.0.2 2 200510131600]
        org.netbeans.modules.mdr/1 [1.4.0.2.2 2 200510131600]
        org.openide.io [1.8 200510131600]
        org.openide.execution [1.7 200510131600]
        org.netbeans.api.java/1 [1.9 200510131600]
        org.netbeans.modules.javacore/1 [1.16.0.2.2 200510131600]
        org.netbeans.modules.projectuiapi/1 [1.12.0.5 5 200510131600]
        org.netbeans.modules.project.ant/1 [1.11 200510131600]
        org.netbeans.modules.websvc.clientapi [1.3 200510131600]
        org.netbeans.api.xml/1 [1.11 200510131600]
        org.netbeans.spi.navigator/1 [1.1 200510131600]
        org.netbeans.core.output2/1 [1.6.0.1 1 200510131600]
        org.netbeans.libs.formlayout/1 [1.1 1 200510131600]
        org.netbeans.modules.options.api/0 [1.1 200510131600]
        org.netbeans.bootstrap/1 [2.2 200510131600]
        org.netbeans.core.startup/1 [1.4 200510131600]
        org.netbeans.swing.plaf [1.4 200510131600]
        org.netbeans.core/2 [3.1.0.1 200510131600]
        org.netbeans.core.execution/1 [1.8 200510131600]
        org.apache.tools.ant.module/3 [3.23 200510131600]
        org.netbeans.modules.schema2beans/1 [1.13 200510131600]
        org.netbeans.libs.xerces/1 [1.7 2.6.2 200510131600]
        org.netbeans.modules.j2ee.dd/1 [1.6.0.2 2 200510131600]
        org.netbeans.modules.j2ee.dd.webservice [1.2 200510131600]
        org.netbeans.modules.websvc.websvcapi [1.3 200510131600]
        org.netbeans.modules.java.platform/1 [1.6 200510131600]
        org.netbeans.modules.favorites/1 [1.10 200510131600]
        org.netbeans.core.ui/1 [1.8 200510131600]
        org.netbeans.modules.xml.core/2 [1.10.0.4 4 200510131600]
        org.netbeans.modules.xml.catalog/2 [1.9.0.4.4 4 200510131600]
        org.netbeans.modules.masterfs/1 [1.6 200510131600]
        org.netbeans.modules.projectui [1.6.0.5 200510131600]
        org.openide.src [1.7 200510131600]
        org.netbeans.modules.editor.errorstripe.api/1 [2.1.0.1 1 200510131600]
        org.netbeans.modules.java/1 [1.24.0.2.2.2 2 200510131600]
        org.netbeans.modules.project.libraries/1 [1.12 200510131600]
        org.netbeans.modules.java.project/1 [1.7 200510131600]
        org.netbeans.modules.editor.hints/1 [1.8.0.1 1 200510131600]
        org.netbeans.spi.viewmodel/2 [1.8 200510131600]
        org.netbeans.api.debugger/1 [1.6 200510131600]
        org.netbeans.api.debugger.jpda/2 [2.2 200510131600]
        org.netbeans.modules.java.editor.lib/1 [1.3 200510131600]
        org.netbeans.modules.editor.codetemplates/1 [1.1 200510131600]
        org.netbeans.modules.java.editor/1 [1.3 200510131600]
        org.netbeans.modules.junit/2 [2.18 200510131600]
        org.netbeans.modules.j2eeapis/1 [1.5 200510131600]
        org.netbeans.modules.settings/1 [1.9 200510131600]
        org.netbeans.modules.j2eeserver/4 [1.11 200510131600]
        org.jdesktop.layout/1 [1.2 0.7.1 200510131600]
        org.netbeans.modules.javahelp/1 [2.7 200510131600]
        org.netbeans.modules.db/0 [1.14.0.3 3 200510131600]
        org.netbeans.modules.j2ee.common/1 [1.3 200510131600]
        org.netbeans.modules.dbschema/1 [1.6.0.3.3 3 200510131600]
        org.netbeans.api.web.webmodule [1.5 200510131600]
        org.netbeans.modules.j2ee.api.ejbmodule [1.3 200510131600]
        org.netbeans.modules.j2ee.ejbcore [1.3 200510131600]
        org.netbeans.modules.j2ee.ejbjarproject [1.3 200510131600]
        org.netbeans.modules.ant.browsetask [1.10 200510131600]
        org.netbeans.libs.commons_logging/1 [1.2 1.0.4 200510131600]
        org.netbeans.modules.servletapi24/1 [2.5 2.4 200510131600]
        org.netbeans.modules.web.jspparser/2 [2.4 200510131600]
        org.netbeans.modules.web.project [1.3 200510131600]
        org.netbeans.modules.j2ee.earproject [1.4.0 200510131600]
        org.netbeans.tasklistapi/1 [1.19.0.7 7 200510131600]
        org.netbeans.modules.autoupdate/1 [2.15 200510131600]
        org.netbeans.modules.updatecenters/1 [1.5 200510131600]
        org.netbeans.modules.defaults/1 [1.1 200510131600]
        org.netbeans.spi.palette/0 [1.4 200510131600]
        org.netbeans.core.multiview/1 [1.7 200510131600]
        org.netbeans.modules.xml.multiview/1 [1.3.0.2 2 200510131600]
        org.netbeans.modules.editor.structure/1 [1.10.0.1 1 200510131600]
        org.netbeans.modules.xml.text/2 [1.10.0.4.4 4 200510131600]
        org.netbeans.modules.editor.plain.lib/1 [1.2 200510131600]
        org.netbeans.modules.html.editor.lib/1 [1.3 200510131600]
        org.netbeans.modules.html.editor/1 [1.3 200510131600]
        org.netbeans.modules.web.core.syntax/1 [1.21.0.4 200510131600]
        org.netbeans.modules.web.core/1 [1.24.0.42.2 42 200510131600]
        org.netbeans.spi.debugger.ui/1 [2.7 200510131600]
        org.netbeans.modules.web.debug/1 [2.7 200510131600]
        org.netbeans.modules.web.examples/1 [1.4 200510131600]
        org.netbeans.modules.html/1 [1.18 200510131600]
        org.netbeans.modules.xml.tax/2 [1.10.0.4.4 4 200510131600]
        org.netbeans.modules.web.jstl11/1 [2.5 1.1.2 200510131600]
        org.netbeans.modules.refactoring/1 [1.13.0.3.2 3 200510131600]
        org.netbeans.modules.form/2 [1.18 1 200510131600]
        org.netbeans.modules.welcome/1 [1.9 200510131600]
        org.netbeans.modules.image/1 [1.16 200510131600]
        org.netbeans.modules.xml.tools/2 [1.10.0.4.4.4 4 200510131600]
        org.netbeans.modules.websvc.registry [1.2 200510131600]
        org.netbeans.modules.websvc.core [1.4.0.1.4.4 1 200510131600]
        org.netbeans.modules.j2ee.refactoring/1 [1.4.0.42.1 200510131600]
        org.netbeans.modules.apisupport.ant [2.28 200510131600]
        org.netbeans.lib.cvsclient/1 [1.13 051020]
        org.netbeans.swing.tabcontrol [1.5 200510131600]
        org.netbeans.core.windows/2 [2.6.0.1 200510131600]
        org.netbeans.modules.java.navigation/1 [1.1 200510131600]
        org.netbeans.modules.properties/1 [1.16 200510131600]
        org.netbeans.modules.java.examples/1 [1.4 200510131600]
        org.netbeans.modules.ant.freeform [1.7 200510131600]
        org.netbeans.modules.javadoc/1 [1.17 200510131600]
        org.netbeans.modules.j2ee.platform/1 [1.2 200510131600]
        org.netbeans.modules.tasklist.core/2 [1.36.0.16.7 16 200510131600]
        org.netbeans.modules.suggestions_framework/2 [1.14.0.9.16.7 9 
200510131600]
        org.netbeans.modules.tasklist.docscan/2 [1.22.0.9.16.7 200510131600]
        org.netbeans.modules.diff/1 [1.14.0.42 42 200510131600]
        org.netbeans.modules.servletapi/1 [1.8 200510131600]
        org.netbeans.modules.httpserver/2 [2.4.0.42 42 200510131600]
        org.netbeans.modules.xsl/1 [1.10.0.4 200510131600]
        org.netbeans.modules.db.core [1.1 200510131600]
        org.netbeans.modules.db.sql.editor [1.1.0.3 200510131600]
        org.netbeans.modules.j2ee.sun.dd/1 [1.4 200510131600]
        org.netbeans.modules.jmxri/1 [1.1 1 200510131600]
        org.netbeans.modules.j2ee.sun.appsrv/1 [1.2 1 200510131600]
        org.netbeans.modules.j2ee.sun.ddui/1 [1.5 200510131600]
        org.netbeans.modules.extbrowser/1 [1.8 200510131600]
        org.netbeans.modules.java.freeform/1 [1.3 200510131600]
        org.netbeans.modules.j2ee.ejbfreeform [1.4.0 200510131600]
        org.netbeans.modules.i18n/1 [1.19 200510131600]
        org.netbeans.modules.i18n.form/2 [1.17 200510131600]
        org.netbeans.modules.java.hints/1 [1.9.0.1 1 200510131600]
        org.netbeans.modules.beans/1 [1.16 200510131600]
        org.netbeans.modules.apisupport.feedreader/1 [1.1 200510131600]
        org.netbeans.modules.debugger.jpda/2 [1.15 200510131600]
        org.netbeans.modules.debugger.jpda.ui/1 [1.4 200510131600]
        org.netbeans.modules.websvc.dev/1 [1.4.0.1 200510131600]
        org.netbeans.modules.debugger.jpda.ant [1.6 200510131600]
        org.netbeans.modules.apisupport.project [1.10.0.5.4 5 200510131600]
        org.netbeans.modules.j2ee.sun.appsrv81/1 [1.1.1.4 1 200510131600]
        org.netbeans.modules.css/2 [1.10 200510131600]
        org.netbeans.modules.java.j2seproject [1.5.0.42 42 200510131600]
        org.netbeans.modules.j2ee.blueprints/1 [1.8 200510131600]
        org.netbeans.modules.web.struts/1 [1.1.0.1 1 200510131600]
        org.netbeans.modules.java.j2seplatform/1 [1.5.0.2 2 200510131600]
        org.netbeans.modules.j2ee.ant [1.6 200510131600]
        org.netbeans.libs.jsch/1 [1.2 0.1.20 200510131600]
        org.netbeans.modules.utilities/1 [1.20 200510131600]
        org.netbeans.modules.ant.grammar/1 [1.13 200510131600]
        org.netbeans.modules.tomcat5/1 [1.6 200510131600]
        org.netbeans.modules.tomcat5.bundled/1 [1.5 200510131600]
        org.netbeans.modules.options.editor/1 [1.1 200510131600]
        org.netbeans.modules.usersguide/1 [1.18 200510131600]
        org.netbeans.modules.editor.plain/1 [1.2 200510131600]
        org.netbeans.modules.properties.syntax/1 [1.16 200510131600]
        org.netbeans.modules.j2ee.genericserver [1.3 200510131600]
        org.netbeans.modules.j2ee.weblogic9/1 [1.3 200510131600]
        org.netbeans.upgrader [4.4 200510131600]
        org.netbeans.core.ide/1 [1.8 200510131600]
        org.netbeans.modules.xml.schema/1 [1.10.0.4 200510131600]
        org.netbeans.modules.ant.debugger/1 [1.6 200510131600]
        org.netbeans.modules.websvc.jaxrpc16/1 [1.1 200510131600]
        org.netbeans.modules.versioning/1 [1.2.0.1 1 200510131600]
        org.netbeans.modules.versioning.system.cvss/1 [1.6.0.1.42 1 
200510131600]
        org.netbeans.modules.j2ee.debug/1 [1.2 200510131600]
        org.netbeans.modules.j2ee.jboss4/1 [1.3 200510131600]
        org.netbeans.modules.editor.errorstripe/2 [2.1.0.1.1 1 200510131600]
        org.netbeans.modules.clazz/1 [1.18 200510131600]
        org.netbeans.modules.editor.bookmarks/1 [1.2 200510131600]
        org.netbeans.modules.web.freeform [1.2 200510131600]
        org.netbeans.modules.j2ee.ddloaders/1 [1.5.0.2.2.4 200510131600]
        org.netbeans.modules.web.monitor/1 [1.14 200510131600]
        org.netbeans.modules.apisupport.refactoring [1.1.0.5 200510131600]
        org.netbeans.modules.web.jsf/1 [1.1.0.1 1 200510131600]
        org.netbeans.modules.utilities.project/1 [1.4 200510131600]
Comment 4 Milan Kubec 2005-10-26 11:31:03 UTC
Verified reproducible in dev-200510131922, but not in latest dev-200510251800.
Please could you verify that too.
Comment 5 misterm 2005-10-26 13:05:08 UTC
I have asked people testing the next Q-Build to see if this bug is fixed. I 
will get back to you.
Comment 6 Martin Entlicher 2005-10-26 13:06:23 UTC
Yes, this is already fixed.

*** This issue has been marked as a duplicate of 62562 ***
Comment 7 Quality Engineering 2010-04-29 09:26:43 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.