netbeans 6.5 hangs on startup

Bug #354144 reported by Harald Schilly
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netbeans Core
Won't Fix
Unknown
netbeans (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

i'm running ubuntu netbook remix / jaunty on a hp 2140 netbook with about 1024x600 pixels display. all configurations are default.

it installed netbeans 6.5 but when i start it, it doesn't show up. the splashscreen pops up, loads until the "modules loading" info, and then it freezes with 100% cpu activity.

$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu4)
OpenJDK Server VM (build 14.0-b08, mixed mode)

maybe i have to switch java version?

Related branches

Revision history for this message
Harald Schilly (harald-schilly) wrote :

the same problem also happens with sun's java version

$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)

Revision history for this message
Marek Slama (mslama-email) wrote :

Need thread dumps. Use jps + jstack or Ctrl+\ from console. Get more thread dumps if CPU is running to see what happens.

Revision history for this message
Yulia Novozhilova (yulia-novozhilova) wrote :

Hello,

Please, attach ~/.netbeans/6.5/var/log/messages.log file here.

Revision history for this message
Harald Schilly (harald-schilly) wrote :

attached is CTRL-\

Revision history for this message
Harald Schilly (harald-schilly) wrote :

clean messages.log for one hanging startup

Revision history for this message
Harald Schilly (harald-schilly) wrote :

three outputs of jstack -l PID
first one is took about 1 minute after it started to hang, then 10 secs later 02, then 03.

Revision history for this message
Marek Slama (mslama-email) wrote :

It looks like infinite loop in toolbar layout manager in NetBeans code. AFAIK this whole code was rewritten for next version so I recommend you to take last milestone build M3 of NB 6.7 if you cannot start IDE. I will move this issue to Issuezilla at netbeans.org.

Revision history for this message
Harald Schilly (harald-schilly) wrote :

@Marek: yes, it seems to me that it can't draw the ui. maybe i should try another laf ?

And as i mentioned above, it's on a netbook with the ubuntu netbook remix (upcoming 9.04 dev version), resolution 1024x600 or something like that. Therefore I suspect it is related to that.
or
the "maximus" application, that removes window decoration including title bar and maximizes the window.
either way, it's broken in jaunty atm.

Revision history for this message
Harald Schilly (harald-schilly) wrote :

Tried netbeans 6.7 M3 and it works.

The only problem is the installer window. The maximus application and it's dialog window fight and it is constantly redrawn. You have to right-click "unmaximize" in the top bar to restore the dialog window without maximization.

Revision history for this message
Marek Slama (mslama-email) wrote :

I filed http://www.netbeans.org/issues/show_bug.cgi?id=162032. Regarding installer please file separate issue to NetBeans Issuezilla. I do not understand what is the problem with installer from your description.

Changed in netbeans:
status: Unknown → Won't Fix
Changed in netbeans (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netbeans - 6.7.1-0ubuntu1

---------------
netbeans (6.7.1-0ubuntu1) karmic; urgency=low

  * New upstream release (LP: #381814)
    * Fixed upstream bugs:
     - (LP: #336349)
     - (LP: #354144)
     - (LP: #357579)
     - (LP: #366740)
     - (LP: #401407)
  * control/Standards-Versions is updated to 3.8.3
  * control/Section is updated to java for *-java

 -- Yulia Novozhilova <email address hidden> Mon, 13 Jul 2009 19:05:01 +0400

Changed in netbeans (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Goddard (kinggoddard) wrote :

Either a different bug or a regression as Netbeans doesn't start in 15.10 using openjdk 7 8 or 9

Revision history for this message
captain_morgan (morganrallen) wrote :
Download full text (14.1 KiB)

Also seeing this with 15.10

message.log attached, jstack output below (cannot attach multiple files)

-------jstack--------------

2015-12-08 13:23:20
Full thread dump OpenJDK 64-Bit Server VM (24.91-b01 mixed mode):

"Attach Listener" daemon prio=10 tid=0x00007f3ed4001000 nid=0x34ec waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
 - None

"Deadlock Detector" prio=10 tid=0x00007f3eb597d000 nid=0x32f7 waiting on condition [0x00007f3e7f9e2000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
 at java.lang.Thread.sleep(Native Method)
 at org.netbeans.modules.deadlock.detector.Detector.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:745)

   Locked ownable synchronizers:
 - None

"Thread-4" daemon prio=10 tid=0x00007f3eb5958800 nid=0x32f6 in Object.wait() [0x00007f3e7fdec000]
   java.lang.Thread.State: WAITING (on object monitor)
 at java.lang.Object.wait(Native Method)
 - waiting on <0x00000000f1fe55c0> (a java.util.LinkedList)
 at java.lang.Object.wait(Object.java:503)
 at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1476)
 - locked <0x00000000f1fe55c0> (a java.util.LinkedList)

   Locked ownable synchronizers:
 - None

"File Watcher" daemon prio=10 tid=0x0000000000954000 nid=0x32f4 runnable [0x00007f3ea90f8000]
   java.lang.Thread.State: RUNNABLE
 at com.sun.jna.Native.invokeInt(Native Method)
 at com.sun.jna.Function.invoke(Function.java:390)
 at com.sun.jna.Function.invoke(Function.java:323)
 at com.sun.jna.Library$Handler.invoke(Library.java:236)
 at org.netbeans.modules.masterfs.watcher.linux.$Proxy2.read(Unknown Source)
 at org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.nextEventPath(Unknown Source)
 at org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.nextEvent(Unknown Source)
 at org.netbeans.modules.masterfs.providers.Notifier$1.nextEvent(Unknown Source)
 at org.netbeans.modules.masterfs.watcher.Watcher$Ext.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:745)

   Locked ownable synchronizers:
 - None

"Bundle File Closer" daemon prio=10 tid=0x00007f3eb57b1000 nid=0x32ed in Object.wait() [0x00007f3ea9f12000]
   java.lang.Thread.State: WAITING (on object monitor)
 at java.lang.Object.wait(Native Method)
 - waiting on <0x00000000d4648508> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
 at java.lang.Object.wait(Object.java:503)
 at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
 - locked <0x00000000d4648508> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
 at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

   Locked ownable synchronizers:
 - None

"Framework Event Dispatcher" daemon prio=10 tid=0x00007f3eb51f1800 nid=0x32ec in Object.wait() [0x00007f3eaa113000]
   java.lang.Thread.State: WAITING (on object monitor)
 at java.lang.Object.wait(Native Method)
 - waiting on <0x00000000d4648690> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
 at java.lang.Object.wait(Object.java:503)
 at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.