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.
See attached source file. This ispart of a Swing application. I put a breakpoint on line: System.out.println("Schema name = " + _schema.getName()); Debugger stops on that line. Now I move the cursor over instance variable _schema on line: private Schema _schema; First time I see: _schema = (butler.sql.metadata.Schema)#548 Next I move the cursor back and on _schema again. Second time I see: _schema = >No current context< When I click on PF8 nothing happens. When I click on Ctrl-PF5 debugging seems to stop, but process still running. When I click on Shift-PF5 debugging stops. I can consistently repeat this bug even after restarting the IDE. Similar bug also happens in other source files.
Created attachment 19192 [details] ClientDatabaseBroker.java
Reassigning for eval.
I can not use your ClientDatabaseBroker.java, beacuse it depends on other your sources. When I try it on my own example, it works. Can you extract some simple use case? Can you attach some info. about your OS, JDK, NB version?
What I can do is zip up the project and database. Once extracted you can run it immediately on your PC. Just start the database and you can start debugging. It is a 100% full Java system, so there are no other dependencies. I can make the files available from TS FileX, a web based file transfer system. Just let me know if this is ok to you.
Cau you add info. about your platform first? Do you think that its reproducible in such big applocations only? Can you try it in some small HelloWorld app.?
I can reproduce this bug consistently in my project. Because I do not know what causes the bug to happen, creating a new project to reproduce this bug is like searching for a needle in a haystack. It is not sure I can re-create the bug in a new project. This project is 100% Java. The only things required to debug the project are: - extract files - start database - start debugger This takes you and me less than 10 minutes.
OK. No problem, I can try to download your project. What is your JDK version and netBeans version?
You should have received a message from TS FileX by now explaining login details. For security reasons details are left out here. Netbeans version 4.0 RC2 OS : Mandrake Linux 10.0 I tested the application again in the state of the ZIP files. To replicate the bug. - extract ZIP files in the same parent folder - load project TSclient_Butler and project Butler - start database from shell in folder bin with : ./start_dbs.sh - put breakpoint in ClientDatabaseBroker.getSchema - start in debug mode test.butler.ClientDatabaseBrokerTest - move cursor over _schema - move cursor over schema again :now you get : >No context< - Try to continue debugging with PF8: will not work - Finish debugging
Not reproducible in normal cases => works for me. Are you able to reproduce it in the latest builds?
Cannot reproduce this problem anymore. >System Info: Product Version = NetBeans IDE 4.0 (Build 200412081800) Operating System = Linux version 2.6.8.1-12mdk running on i386 Java; VM; Vendor = 1.5.0_01; Java HotSpot(TM) Client VM 1.5.0_01-b08; Sun Microsystems Inc. Java Home = /opt/jdk1.5.0_01/jre System Locale; Encod. = en_US (nb); ISO-8859-1 Home Dir; Current Dir = /home/johnz; /home/johnz IDE Install; User Dir = /opt/netbeans-4.0/platform4; /home/johnz/.netbeans/4.0 CLASSPATH = /opt/netbeans-4.0/platform4/lib/boot.jar:/opt/jdk1.5.0_01/lib/dt.jar:/opt/jdk1.5.0_01/lib/htmlconverter.jar:/opt/jdk1.5.0_01/lib/jconsole.jar:/opt/jdk1.5.0_01/lib/sa-jdi.jar:/opt/jdk1.5.0_01/lib/tools.jar Boot & ext classpath = /opt/jdk1.5.0_01/jre/lib/rt.jar:/opt/jdk1.5.0_01/jre/lib/i18n.jar:/opt/jdk1.5.0_01/jre/lib/sunrsasign.jar:/opt/jdk1.5.0_01/jre/lib/jsse.jar:/opt/jdk1.5.0_01/jre/lib/jce.jar:/opt/jdk1.5.0_01/jre/lib/charsets.jar:/opt/jdk1.5.0_01/jre/classes:/opt/jdk1.5.0_01/jre/lib/ext/dnsns.jar:/opt/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar:/opt/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar:/opt/jdk1.5.0_01/jre/lib/ext/localedata.jar Dynamic classpath = /opt/netbeans-4.0/platform4/core/core.jar:/opt/netbeans-4.0/platform4/core/openide-loaders.jar:/opt/netbeans-4.0/platform4/core/openide.jar:/opt/netbeans-4.0/platform4/core/org-netbeans-swing-plaf.jar:/opt/netbeans-4.0/platform4/core/updater.jar:/opt/netbeans-4.0/nb4.0/core/org-netbeans-upgrade.jar:/opt/netbeans-4.0/nb4.0/core/locale/core_nb.jar:/opt/netbeans-4.0/ide4/core/org-netbeans-modules-utilities-cli.jar
No such problem in current build 200507061800, therefore I'm closing it.