| 发表于:2007-07-10 10:01:16 楼主 |
小弟课程设计是用sqlserver2000+jbuilder2006写一个超市管理系统 于是到网上当了一个 结果怎么调试也调不出来 老弹出一个对话框告诉我 hit breakpoint in class java.awt.eventdispatchthread. tracing is disabled for this class. 下面是 ( g:\borland\jbuilder2006\jdk1.5\bin\javaw -classpath "c:\documents and settings\jgh\jbproject\supermacket\classes;g:\borland\jbuilder2006\jdk1.5\lib\tools.jar;g:\borland\jbuilder2006\jdk1.5\lib\jconsole.jar;g:\borland\jbuilder2006\jdk1.5\lib\htmlconverter.jar;g:\borland\jbuilder2006\jdk1.5\lib\dt.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\charsets.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\jsse.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\rt.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\deploy.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\plugin.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\ext\sunpkcs11.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\ext\sunjce_provider.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\ext\localedata.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\ext\dnsns.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\jce.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\im\thaiim.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\im\indicim.jar;g:\borland\jbuilder2006\jdk1.5\jre\lib\javaws.jar " -xdebug -xnoagent -djava.compiler=none -xrunjdwp:transport=dt_socket,address=hit-software:1542,suspend=y supermacket.application1 hit uncaught exception java.lang.nullpointerexception ) 双击之后 显示evrntdispatchthread的源代码中的run()函数那行变成灰绿色 // jbuilder api decompiler stub source generated from class file // 2007-7-10 // -- implementation of methods is not available package java.awt; // imports import java.awt.event.mouseevent; import sun.awt.debughelper; class eventdispatchthread extends thread { // fields private static final debughelper dbg; private eventqueue thequeue; private boolean dodispatch; private static final int any_event = -1; private static final string handlerpropname = "sun.awt.exception.handler "; private static string handlerclassname; private static string no_handler; // constructors eventdispatchthread(threadgroup threadgroup, string string, eventqueue eventqueue) { } // methods void stopdispatchingimpl(boolean _boolean) { } public void stopdispatching() { } public void stopdispatchinglater() { } ////////////////////////////////////////////////////////// public void run() { } // 显示这行有问题 ////////////////////////////////////////////////////////// void pumpevents(conditional conditional) { } void pumpeventsforhierarchy(conditional conditional, component component) { } void pumpevents(int _int, conditional conditional) { } void pumpeventsforhierarchy(int _int, conditional conditional, component component) { } boolean checkmouseeventformodaljinternalframe(mouseevent mouseevent, component component) { return false;} boolean pumponeeventforhierarchy(int _int, component component) { return false;} private void processexception(throwable throwable, boolean _boolean) { } private boolean handleexception(throwable throwable) { return false;} boolean isdispatching(eventqueue eventqueue) { return false;} eventqueue geteventqueue() { return null;} // inner classes class stopdispatchevent extends awtevent implements activeevent { // constructors public stopdispatchevent(eventdispatchthread eventdispatchthread) { } // methods public void dispatch() { } } } 这到底是什么原因呢 小弟是个学生 实在是不懂 请高手指教 (小弟出来乍到 没有多少分可以送 现在只有不到10分 下东西还要扣分 真郁闷 请高手原谅) |
|
|
|
|