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.
when I launch Netbeans IDE from solaris system (5.10)) it hangs after 1 or 2 minutes. netbeans editor hangs doesnt respond to any clicks or scroll of files etc.. what i see from 'prstat' is java process which starts with Netbeans uses lot of cpu . below see ouput of prstat command 19111 vijaybr 409M 274M sleep 59 0 0:02:12 48% java/25 here cpu usage is 48%. i observed after load file in editor (alt-shift-O) and do scroll or search etc cpu usage is increasing drastically.. , my environment is I export display to my SUN ray terminal from solaris server (sun fire v240) . and i see Exception in thread "AWT-Motif" Exception in thread "AWT-Motif" on shell where netbeans is launched. can anyone help on this? i am not running any java apps. on server where netbeans runs. and this is happening so frequently i have to kill all netbeans process each time and start again. net
Hi, could you please generate a few thread dumps when this situation occurs and attach them altogether with your $userdir/var/log/messages.log to this issue? How big is your project and your source files? How to generate thread dump: http://qa.netbeans.org/bugzilla/generating-thread-dumps.html Thanks.
Created attachment 38894 [details] Thread Dump file
hi i have attached thread dump for java process of Netbeans. my application have seven projects each around 350 files. thanks
This is the first released version of JDK1.5.0 and according to thread dump it is possible that the runtime is waiting in code performing clipboard synchronization. I suggest to upgrade to latest update release of JDK. Is it really NetBeans 5.5? Can you attach message.log file too (preffereably as text rather than octet-stream).
rkubacki, i am using Netbeans 5.5 . I will upgrade to latest of JDK1.5 pack and check . where can I find message.log in solaris 10? you mean syslog under /var/log? Thanks
Created attachment 38903 [details] /var/log/messages.log - Compressed file (.Z)
hi, found messages.log file ($home/.netbeans/var/log) . the file is too big to attach even after doing compress.(its 5mb after compress) i have split the file and compressed and attached last one. please let me know if this is ok. thanks, Vijaybr
Thanks, this can be enough. It seems that the IDE gets into bad state where visualization of some error causes another errors leading to high CPU usage and also causing some memory leak (the end of attached log file shows some OutOfMemoryErrors). *********** Exception occurred ************ at 1:13 PM on Feb 26, 2007 java.lang.IllegalStateException: Timer already cancelled. java.util.Timer.sched(Timer.java:354) java.util.Timer.schedule(Timer.java:170) org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:559) org.netbeans.core.FlashingIcon$Timer.run(FlashingIcon.java:201) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) org.netbeans.core.FlashingIcon.startFlashing(FlashingIcon.java:85) org.netbeans.core.NotifyException$2.run(NotifyException.java:240) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) java.awt.EventQueue.dispatchEvent(EventQueue.java:461) [catch] java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
fixed in trunk /cvs/core/src/org/netbeans/core/FlashingIcon.java,v <-- FlashingIcon.java new revision: 1.6; previous revision: 1.5
hi, After upgrading to JDK 1.5.0_11 . I didnt see this issue. CPU usage less than 1% Thanks