Archive for the ‘NetBeans’ Tag

NetBeans Quiz!

Want to win an Apple MacBook Air, iPod, Sony Playstation and lots of cool stuff every week?
Well just take the NetBeans Quiz!



Its really simple.. Just 3 steps.

  1. Launch NetBeans
  2. Install the Quiz plugin (one-time only)
  3. Take the Quiz (every week till June 30)

1. Launch NetBeans


2. Install the Quiz plugin (one-time only)




3. Take the Quiz (every week till June 30)




Prizes – http://www.netbeans.org/quiz/prizes.html
Winners will be announced every week at – http://statistics.netbeans.org/quiz/winners.jsp

Good luck and have fun!

Advertisements

NetBeans 6 and Java 6 on openSUSE 10.3

I’ve been struggling to install NetBeans 6 on my openSUSE 10.3.
The installer would startup alright but would crash soon after displaying the bug-buddy dialog.
After few attempts, I ran the installer using Java 5. This time the installer gave the following error:

java: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

After googling the above I found the following bug – http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373.
I also found the workaround on the same page i.e. set the following environment variable:

export LIBXCB_ALLOW_SLOPPY_LOCK=1

After implementing the workaround, I was able to install NetBeans and run it.
However, once I upgraded my JDK to Java 6 update 4, and executed NetBeans, the splash screen would appear for a brief moment and then it would crash displaying the bug-buddy dialog.

abhi@abhiltlnx(~)# /opt/netbeans/netbeans-6.0/bin/netbeans --jdkhome /opt/java/jdk1.6.0_04
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:47: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:48: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:49: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:47: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:48: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:49: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
/usr/lib/: No such file or directory.

Following is the bug report that got generated.

System: Linux 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686
X Vendor: The X.Org Foundation
X Vendor Release: 70000001
Selinux: No
Accessibility: Disabled
GTK+ Theme: Chlorophyll
Icon Theme: Industrial
Memory status: size: 1003343872 vsize: 1003343872 resident: 48775168 share: 25587712 rss: 74362880 rss_rlim: 900776960
CPU usage: start_time: 1203194106 rtime: 812 utime: 647 stime: 165 cutime:0 cstime: 2 timeout: 0 it_real_value: 0 frequency: 100
Backtrace was generated from '/usr/lib/'
[?1034h(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7de36c0 (LWP 2395)]
[New Thread 0xb1b0fb90 (LWP 2510)]
[New Thread 0xb2ba9b90 (LWP 2499)]
[New Thread 0xb3656b90 (LWP 2479)]
[New Thread 0xb3857b90 (LWP 2478)]
[New Thread 0xb3a58b90 (LWP 2477)]
[New Thread 0xb3d04b90 (LWP 2476)]
[New Thread 0xb41fbb90 (LWP 2475)]
[New Thread 0xb43fcb90 (LWP 2474)]
[New Thread 0xb45fdb90 (LWP 2473)]
[New Thread 0xb47feb90 (LWP 2472)]
[New Thread 0xb49ffb90 (LWP 2405)]
[New Thread 0xb4e2ab90 (LWP 2404)]
[New Thread 0xb502bb90 (LWP 2403)]
[New Thread 0xb50acb90 (LWP 2402)]
[New Thread 0xb52adb90 (LWP 2401)]
[New Thread 0xb54f4b90 (LWP 2400)]
[New Thread 0xb56f5b90 (LWP 2399)]
[New Thread 0xb5776b90 (LWP 2398)]
[New Thread 0xb7dbdb90 (LWP 2397)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f2b575 in pthread_join () from /lib/libpthread.so.0
#2  0x0804dce8 in ContinueInNewThread ()
#3  0x080497f6 in main ()
Thread 20 (Thread 0xb7dbdb90 (LWP 2397)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x080588f4 in ?? ()
No symbol table info available.
#9  0xb7dbcabc in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 19 (Thread 0xb5776b90 (LWP 2398)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7e8ef3c in sched_yield () from /lib/libc.so.6
No symbol table info available.
#2  0x063432c5 in SafepointSynchronize::begin ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#3  0x063caeb3 in VMThread::loop ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x063caa9f in VMThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 18 (Thread 0xb56f5b90 (LWP 2399)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x080808f4 in ?? ()
No symbol table info available.
#9  0xb56f4f40 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 17 (Thread 0xb54f4b90 (LWP 2400)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x062ff1de in Monitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x063cb525 in VMThread::execute ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x060dd073 in BiasedLocking::revoke_and_rebias ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0636dda5 in ObjectSynchronizer::fast_enter ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x0620eaee in InterpreterRuntime::monitorenter ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0xb5b2558a in ?? ()
No symbol table info available.
#9  0x08081800 in ?? ()
No symbol table info available.
#10 0xb54f3bf4 in ?? ()
No symbol table info available.
#11 0xb5b2555f in ?? ()
No symbol table info available.
#12 0xb4a3348d in ?? ()
No symbol table info available.
#13 0x6197c398 in ?? ()
No symbol table info available.
#14 0xb54f3bf4 in ?? ()
No symbol table info available.
#15 0x9430eac4 in ?? ()
No symbol table info available.
#16 0xb54f3c24 in ?? ()
No symbol table info available.
#17 0x94c3b4f0 in ?? ()
No symbol table info available.
#18 0x00000000 in ?? ()
No symbol table info available.
Thread 16 (Thread 0xb52adb90 (LWP 2401)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f3049e in sem_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x06311374 in check_pending_signals ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#3  0x0630e65d in os::signal_wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x0630b6b8 in signal_thread_entry ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06391bbd in JavaThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 15 (Thread 0xb50acb90 (LWP 2402)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x062ff1de in Monitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x0619d0df in CompileQueue::get ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0619e844 in CompileBroker::compiler_thread_loop ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06391bbd in JavaThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 14 (Thread 0xb502bb90 (LWP 2403)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x062ff059 in Monitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x062e39c5 in LowMemoryDetector::low_memory_detector_thread_entry ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06391bbd in JavaThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 13 (Thread 0xb4e2ab90 (LWP 2404)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e7ec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec8f in pthread_cond_timedwait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x0630f161 in os::sleep ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06390f0a in WatcherThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 12 (Thread 0xb49ffb90 (LWP 2405)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0xb4a110f4 in ?? ()
No symbol table info available.
#9  0xb49fedf8 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 11 (Thread 0xb47feb90 (LWP 2472)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f31248 in accept () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb4b70357 in NET_Accept ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/libnet.so
No symbol table info available.
#3  0xb4b6ba59 in Java_java_net_PlainSocketImpl_socketAccept ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/libnet.so
No symbol table info available.
#4  0xb5b25e9d in ?? ()
No symbol table info available.
#5  0xb4a2ecf4 in ?? ()
No symbol table info available.
#6  0xb47fde50 in ?? ()
No symbol table info available.
#7  0xb47fde4c in ?? ()
No symbol table info available.
#8  0xb5b1e508 in ?? ()
No symbol table info available.
#9  0xb4a2ec00 in ?? ()
No symbol table info available.
#10 0x615daf98 in ?? ()
No symbol table info available.
#11 0x00000001 in ?? ()
No symbol table info available.
#12 0xb47fde1c in ?? ()
No symbol table info available.
#13 0x942d787c in ?? ()
No symbol table info available.
#14 0xb47fde50 in ?? ()
No symbol table info available.
#15 0x94bed608 in ?? ()
No symbol table info available.
#16 0x00000000 in ?? ()
No symbol table info available.
Thread 10 (Thread 0xb45fdb90 (LWP 2473)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f30c1e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ca58 in _L_mutex_lock_86 () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb7f2c47d in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4  0x062fd844 in Mutex::lock_without_safepoint_check ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06343727 in SafepointSynchronize::block ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x063707d9 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#9  0xb5b25e9d in ?? ()
No symbol table info available.
#10 0xb4a2fcf4 in ?? ()
No symbol table info available.
#11 0xb45fcf0c in ?? ()
No symbol table info available.
#12 0x000007d0 in ?? ()
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.
Thread 9 (Thread 0xb43fcb90 (LWP 2474)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f3205b in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb2494d07 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb249503c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb299d700 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5  0xb299dbf2 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#6  0xb299de43 in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#7  0xb299e42e in google_breakpad::ExceptionHandler::HandleException ()
from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#8  
No symbol table info available.
#9  0xb5bf2bba in ?? ()
No symbol table info available.
#10 0xb5bbc528 in ?? ()
No symbol table info available.
#11 0x64631518 in ?? ()
No symbol table info available.
#12 0x63cb91d8 in ?? ()
No symbol table info available.
#13 0x00000022 in ?? ()
No symbol table info available.
#14 0xb5c14b04 in ?? ()
No symbol table info available.
#15 0xb43faaa0 in ?? ()
No symbol table info available.
#16 0x949e7240 in ?? ()
No symbol table info available.
#17 0xb43faac8 in ?? ()
No symbol table info available.
#18 0xb5c14fa2 in ?? ()
No symbol table info available.
#19 0x64629210 in ?? ()
No symbol table info available.
#20 0xb43faaa4 in ?? ()
No symbol table info available.
#21 0x614cc5a8 in ?? ()
No symbol table info available.
#22 0x64631518 in ?? ()
No symbol table info available.
#23 0x614cc500 in ?? ()
No symbol table info available.
#24 0x00354ea2 in ?? ()
No symbol table info available.
#25 0x00000022 in ?? ()
No symbol table info available.
#26 0x00000000 in ?? ()
No symbol table info available.
Thread 8 (Thread 0xb41fbb90 (LWP 2475)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0xb4a334f4 in ?? ()
No symbol table info available.
#9  0xb41fa520 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 7 (Thread 0xb3d04b90 (LWP 2476)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x082a68f4 in ?? ()
No symbol table info available.
#9  0xb3d03c5c in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 6 (Thread 0xb3a58b90 (LWP 2477)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f30c1e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ca58 in _L_mutex_lock_86 () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb7f2c47d in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4  0x062fd844 in Mutex::lock_without_safepoint_check ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06343727 in SafepointSynchronize::block ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06393434 in JavaThread::check_safepoint_and_suspend_for_native_trans ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x06237041 in jni_CallStaticVoidMethod ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0xb3eec652 in performPoll ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/xawt/libmawt.so
No symbol table info available.
#9  0xb3eec433 in waitForEvents ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/xawt/libmawt.so
No symbol table info available.
#10 0xb5b25e9d in ?? ()
No symbol table info available.
#11 0x0833acf4 in ?? ()
No symbol table info available.
#12 0xffffffff in ?? ()
No symbol table info available.
#13 0xffffffff in ?? ()
No symbol table info available.
#14 0xffffffff in ?? ()
No symbol table info available.
#15 0x00000000 in ?? ()
No symbol table info available.
Thread 5 (Thread 0xb3857b90 (LWP 2478)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x0833bcf4 in ?? ()
No symbol table info available.
#9  0xb3856d8c in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 4 (Thread 0xb3656b90 (LWP 2479)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x0833ccf4 in ?? ()
No symbol table info available.
#9  0xb3655cfc in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 3 (Thread 0xb2ba9b90 (LWP 2499)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e7ec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec8f in pthread_cond_timedwait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310d1e in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x063704ff in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x085188f4 in ?? ()
No symbol table info available.
#9  0xb2ba8ee0 in ?? ()
No symbol table info available.
#10 0x0000ea60 in ?? ()
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (Thread 0xb1b0fb90 (LWP 2510)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x08121cf4 in ?? ()
No symbol table info available.
#9  0xb1b0ecbc in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 1 (Thread 0xb7de36c0 (LWP 2395)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2b575 in pthread_join () from /lib/libpthread.so.0
No symbol table info available.
#2  0x0804dce8 in ContinueInNewThread ()
No symbol table info available.
#3  0x080497f6 in main ()
No symbol table info available.
#0  0xffffe410 in __kernel_vsyscall ()
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
----------- .xsession-errors (9766 sec old) ---------------------
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
...Too much output, ignoring rest...
--------------------------------------------------

I tried uninstalling/installing Jdk6u4 a number of times – manually, RPMs, YaST etc. to no avail.
Since I was unable to understand the bug report, I decided to uninstall bug-buddy in the hope of getting more meaningful information on the terminal.
The moment I unistalled bug-buddy, I was able to run NetBeans using Java 6.

root@abhiltlnx(~)#  zypper rm bug-buddy
* Reading repository 'Main Repository (OSS)' cache
* Reading repository 'Main Repository (NON-OSS)' cache
* Reading repository 'openSUSE-10.3-DVD 10.3' cache
* Reading installed packages [100%]
The following package is going to be REMOVED:
bug-buddy
After the operation, 2.0 M will be freed.
Continue? [yes/no]: yes
* Removing bug-buddy-2.20.0-5 [100%]
root@abhiltlnx(~)#

As it turned out bug-buddy wasn’t much of a buddy in this case.

Swing problem on Xgl and openSUSE/Linux

I installed NetBeans 5.5 on openSUSE 10.2 and found out that Swing applications are not rendered properly. The installer dialog itself appeared like an icon and I had to resize it. The IDE itself was either appearing as an icon or it would scale past the screen size. The “New Project” dialog (or any window/dialog for that matter) also displayed the same behaviour and were not appearing in the centre of the IDE. I created a simple swing GUI application and realized that the JOptionPane message dialog was also not appearing in the center. I checked if I was using a very old JDK and found that my default JDK was – Java 6 build 105.


Many hours later (sigh) I found out that Swing applications have rendering issues with Xgl.

Bug ID – 6429775: Xgl/Compiz/Java 1.5/Swing problem
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775

Everything worked fine once I disabled XGL. But having got used to the cool way of working using Xgl I just couldn’t keep it disabled for long.
Fortunately, this bug seems to have been fixed in Java 6 update 1. So I downloaded it and everything worked like a charm.


Sun Tech Days 2007 @ Delhi and Hyderabad

Last week we had Sun Tech Days at Hyderabad with parallel events in Delhi, Mumbai and Pune. It was an amazing event.. we reached out to 10000+ developers across these cities. The sessions were very informative and we got some great feedback from the attendees.

I had a session in Delhi on Java Persistence APIs: Simplifying Persistence. I had opted for this topic because lot of developers are using persistence frameworks viz. Hibernate, JDO etc. in projects and I wanted to share my views on Java Persistence API vis-a-vis these frameworks.

I developed a small web application that uses Java Persistence API using NetBeans. The attendees loved the Persistence support provided in NetBeans and were very eager to try it out themselves.

There were quite a few questions and I had a nice discussion with few attendees after the session.

Later in the evening I left for Hyderabad, to join my team for the Hands-on-Labs that were scheduled for the next day. The venue was really nice and was packed with lot of excited students. The lab sessions required attendees to carry laptop and we were surprised to see the number of students who turned up. We had to add extra chairs :). A laptop seems to be a must-have for students these days.

I had a good time and look forward to Sun Tech Days 2008!

Tech Seminar @ IIT Roorkee

Yesterday, we had a seminar on Sun Technologies at IIT Roorkee. I spoke along the lines of my session at IIT Bombay last week. I was accompanied by Aakash who spoke on Solaris and its features.

We had a nice audience, mostly CS students who had postponed their lectures for the seminar. It was heartening to see the Head of the CS Department sitting in the front row – Thank you Sir!

The seminar was very well received by the audience and we got a lot of Qs – about Java, Solaris, Internship programs at Sun etc.

After the seminar we met few senior faculty members and distributed OpenSolaris and NetBeans CD/DvDs.

Sun @ TechFest 2007, IIT Bombay

Techfest 2007 – IIT Bombay‘s Annual International Science and Technology festival began yesterday (Jan 26th) with much fanfare.
The beautiful campus near the Powai lake was jostling with Students and Industry folks alike.
Sun is one of the key sponsors of the festival and has a lot of presence during the entire three-day event –
Technical sessions (interestingly titled Sun Lectures by the TechFest folks 🙂 ),
Quizzes etc.

I was invited to talk.. err.. rather show how to develop applications for different Java plaforms – Java SE, EE and ME.
I was accompanied by Sundar, Moinak and Naveen. We reached the campus in the morning and were taken straight to the lecture hall.
The hall was packed with students and you could feel the excitement in the air.

After being formally introduced we took our seats and Naveen, who takes care of Developer Relations welcomed everyone to the event.
Since, Jan 26th happens to be India’s Republic Day, he requested the audience to start the event with the National Anthem.
It was well taken by the audience and within moments the hall was resounding with the student voices singing the Anthem.

Sundar took the first session and spoke on Java – Now and Future .
He shared with the audience some exciting features/work (Scripting support, JRuby etc.) that are currently under development and also explained the effects/benefits of open sourcing Java.

My session was titled – Building Applications for the Desktop, Web and Mobile leveraging NetBeans.
I gave a quick overview of NetBeans and delved straight into the application development bits.
The audience simply loved the ease of use side of Java.

  • I created a simple desktop application using the Matisse GUI builder and showed the Localization support that aids development of multi-lingual applications.
    I demonstrated it using different regional languages viz. Bengali, Gujarati, Hindi etc.
  • There were few web application developers in the audience and they were completely smitten by the NetBeans Visual Web Pack plugin especially the validation and pagination features.
  • Most of the students in the audience had come to see Java ME application development and totally loved NetBeans Mobility Pack.
    I showed them couple of games and developed an End-to-End application – A mobile client (Midlet) that accesses a web application (Servlet).
  • I followed it up with a brief demo of profiling applications using NetBeans Profiler and how it helps in diagnosing various performance problems.

Moinak took the last session and spoke about Solaris and its features.
He also shared with them information about OpenSolaris and BeleniX – his baby 🙂 .
Many students penned down the URLs and email addresses of various resources and OpenSolaris user groups respectively.

Later, we distributed CDs/DvDs of NetBeans/OpenSolaris to the attendees and took a stroll around the campus.
There were banners/posters of various technologies and companies all over the place.
I instantly understood what Naveen meant in the morning when he said – if you’re not here you’re not there 🙂 .

On the whole, it was an exciting first day @ TechFest, IIT Bombay.

NIIT Java Seminar @ Pune, Mumbai and Hyderabad

I’m blogging after a long time.. the past couple of months have been a blur.
I was busy working, traveling and ofcourse talking (mostly technologies 🙂 ).
NIIT had invited me to deliver a talk on Java at Pune, Mumbai and Hyderabad, something along the lines of what I did for them earlier in Delhi and Chandigarh..

I touched various topics namely – Java, Open Source and Open Standards, NetBeans etc.

  • 17th Dec 2006 – Java Seminar @ Pune,
  • No. of attendees – 500+

    Photos – Coming soon!

    The event was promoted in a big way using – flyers, banners etc.
    Even the local Radio station was roped in to advertise the event.

  • 18th Dec 2006 – Java Seminar @ Mumbai,
  • No. of attendees – 700+

    Photos – Coming soon!

  • 6th Jan 2007 – Java Seminar @ Hyderabad,
  • No. of attendees – 500+

    Photos – Coming soon!
    I really enjoyed my stay at Hyderabad… had some really nice Biryani 🙂

I also talked about the upcoming Sun Tech Days
to be held in Hyderabad (Feb 21-23) and
Sun Developer Days (1-day) that’ll be held in parallel at Pune, Mumbai and Delhi.

IEEE Gujarat J2EE Workshop

IEEE (Gujarat Chapter) had organised a two-day workshop on J2EE (or Java EE to be more correct) and had invited me to talk about the latest features of Java EE 5. So I decided to talk on EJB 3.0 , Java Persistence API and JSF.

I had never been to Gujarat earlier and was looking forward to the trip. I caught the morning flight from Delhi and was in Ahmedabad within an hour and half. After a 3-hour car ride (that included changing a flat tyre) I managed to reach the venue. I met few other speakers, mostly academicians from various institutions in the state.

After the initial few formalities the workshop was set in motion. Since my session was not until 3 PM, I took my seat and attended few other sessions. It was good to see enthusiastic students diligently penning down notes as the speakers talked about the various Java EE Technologies viz. Servlets, JSP, EJB etc. I soon realised that students as well as teachers in this part of the country still used Notepad/vi to write Java programs and manualy compiled/configured/deployed the applications on Tomcat server.

Later during the lunch I got to speak with few attendees and they all had this impression of Java being a “tough language”. They cited the example of VB and .NET applications that can be quickly created using drag-and-drop approach. I talked about NetBeans and Creator and requested them to be patient till my session, as I would show them drag-and-drop way of developing Java SE, ME and EE applications.

I made some last minute modifications to my slides to accomodate NetBeans and Creator demos and decided to focus on the ease-of-use side of Java EE 5. The presentation went fine. I covered the following areas:

Demos:

  • Developing Java SE, ME and EE applications with Netbeans. Showed them how EJB 3.0, Persistence and JSF support is present in NetBeans.
  • Developing JSF applications with Creator.

I later distributed few NetBeans CDs among the audience so that they can play with it in the lab sessions.

I got some great feedback from the attendees and they all seem to be hooked to NetBeans. Many of the students want to go ahead and develop their Final year projects using Java and NetBeans.

Later during the evening I went around Ahmedabad doing some sightseeing. All in all it was a nice trip and I look forward to being in Ahmedabad in future too.