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.

Bug 28461 - Failed to start on Win2k jdk 1.4.1
Summary: Failed to start on Win2k jdk 1.4.1
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2002-11-04 19:06 UTC by santosh
Modified: 2008-12-23 14:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack traceon ^Break when IDE hangs while starting up (6.06 KB, text/plain)
2002-11-06 15:56 UTC, santosh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description santosh 2002-11-04 19:06:01 UTC
When I run the runide.exe using the following entried in 
the ide.cfg ide just hangs the dump from the Ctrl+Break is 
enclosed. Increasing memory also does not help
***************Contents of ide.cfg
-jdkhome d:\j2sdk1.4.1_01
-J-Xms24m -J-Xmx96m
-J-Dnetbeans.logger.console=true


*********************

-----------------------------------------------------------
--------------------
>Log Session: Monday, November 4, 2002 12:45:52 PM CST
>System Info:
  Product Version       = NetBeans IDE Dev (Build 
200210300100)
  IDE Versioning        = IDE/1 spec=3.16 impl=200210300100
  Operating System      = Windows 2000 version 5.0 running 
on x86
  Java; VM; Vendor      = 1.4.1_01; Java HotSpot(TM) 
Client VM 1.4.1_01-b01; Sun
 Microsystems Inc.
  Java Home             = d:\j2sdk1.4.1_01\jre
  System Locale; Encod. = en_US; Cp1252
  Home Dir; Current Dir = C:\Documents and 
Settings\kulkarni; D:\netbeans\bin
  IDE Install; User Dir = D:\netbeans; C:\Documents and 
Settings\kulkarni\.netbe
ans\dev
  CLASSPATH             = 
D:\netbeans\lib\ext\boot.jar;D:\netbeans\lib\ext\crims
on-1.1.3.jar;D:\netbeans\lib\ext\regexp-
1.2.jar;D:\netbeans\lib\ext\rmi-ext.jar;
D:\netbeans\lib\ext\terminalemulator.jar;D:\netbeans\lib\ex
t\xerces-2.0.2.jar;D:
\netbeans\lib\ext\xml-apis-1.0b2.jar;d:\j2sdk1.4.1_01
\lib\dt.jar;d:\j2sdk1.4.1_0
1\lib\tools.jar
  Boot & ext classpath  = d:\j2sdk1.4.1_01
\jre\lib\rt.jar;d:\j2sdk1.4.1_01\jre\l
ib\i18n.jar;d:\j2sdk1.4.1_01
\jre\lib\sunrsasign.jar;d:\j2sdk1.4.1_01\jre\lib\jss
e.jar;d:\j2sdk1.4.1_01\jre\lib\jce.jar;d:\j2sdk1.4.1_01
\jre\lib\charsets.jar;d:\
j2sdk1.4.1_01\jre\classes;d:\j2sdk1.4.1_01
\jre\lib\ext\dnsns.jar;d:\j2sdk1.4.1_0
1\jre\lib\ext\ldapsec.jar;d:\j2sdk1.4.1_01
\jre\lib\ext\localedata.jar;d:\j2sdk1.
4.1_01\jre\lib\ext\sunjce_provider.jar
-----------------------------------------------------------
--------------------
Full thread dump Java HotSpot(TM) Client VM (1.4.1_01-b01 
mixed mode):

"AWT-EventQueue-0" prio=7 tid=0x0D708080 nid=0x860 waiting 
for monitor entry [df
4f000..df4fd8c]
        at 
sun.awt.windows.WComponentPeer.replaceSurfaceData
(WComponentPeer.java
:315)
        - waiting to lock <02C1E6F8> (a 
java.awt.Component$AWTTreeLock)
        at sun.awt.windows.WComponentPeer$2.run
(WComponentPeer.java:333)
        at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent
(EventQueue.java:448)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchTh
read.java:197)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThre
ad.java:150)
        at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)

        at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)

        at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)

"Java2D Disposer" daemon prio=10 tid=0x0D6AD888 nid=0xa1c 
in Object.wait() [de4f
000..de4fd8c]
        at java.lang.Object.wait(Native Method)
        - waiting on <02CD4F38> (a 
java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove
(ReferenceQueue.java:111)
        - locked <02CD4F38> (a 
java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove
(ReferenceQueue.java:127)
        at sun.java2d.Disposer.run(Disposer.java:97)
        at java.lang.Thread.run(Thread.java:536)

"AWT-Windows" daemon prio=7 tid=0x0D6E6DD8 nid=0x8c0 
runnable [dc4f000..dc4fd8c]

        at sun.awt.windows.WToolkit.eventLoop(Native 
Method)
        at sun.awt.windows.WToolkit.run(WToolkit.java:253)
        at java.lang.Thread.run(Thread.java:536)

"AWT-Shutdown" prio=5 tid=0x0D6E6BD0 nid=0x884 in 
Object.wait() [db4f000..db4fd8
c]
        at java.lang.Object.wait(Native Method)
        - waiting on <02C492C8> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:426)
        at sun.awt.AWTAutoShutdown.run
(AWTAutoShutdown.java:259)
        - locked <02C492C8> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:536)

"main" prio=5 tid=0x0D6C3BA8 nid=0xa54 runnable 
[da4f000..da4fd8c]
        at sun.awt.windows.WComponentPeer.reshape(Native 
Method)
        - locked <02D1A4A8> (a sun.awt.windows.WWindowPeer)
        at sun.awt.windows.WComponentPeer.setBounds
(WComponentPeer.java:128)
        at java.awt.Component.reshape(Component.java:1705)
        - locked <02C1E6F8> (a 
java.awt.Component$AWTTreeLock)
        at java.awt.Component.setBounds
(Component.java:1664)
        at java.awt.Component.resize(Component.java:1601)
        at java.awt.Component.setSize(Component.java:1593)
        at java.awt.Component.resize(Component.java:1622)
        at java.awt.Component.setSize(Component.java:1614)
        at java.awt.Window.pack(Window.java:430)
        at org.netbeans.core.Splash.center(Splash.java:173)
        at org.netbeans.core.Splash$SplashWindow.<init>
(Splash.java:510)
        at org.netbeans.core.Splash.createW
(Splash.java:138)
        at org.netbeans.core.Splash.showSplash
(Splash.java:71)
        at org.netbeans.core.Main.start(Main.java:373)
        at org.netbeans.core.TopThreadGroup.run
(TopThreadGroup.java:81)
        at java.lang.Thread.run(Thread.java:536)

"Signal Dispatcher" daemon prio=10 tid=0x00A549F0 
nid=0x9b8 waiting on condition
 [0..0]

"Finalizer" daemon prio=9 tid=0x00A9FB00 nid=0x9ac in 
Object.wait() [cf4f000..cf
4fd8c]
        at java.lang.Object.wait(Native Method)
        - waiting on <02D40368> (a 
java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove
(ReferenceQueue.java:111)
        - locked <02D40368> (a 
java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove
(ReferenceQueue.java:127)
        at java.lang.ref.Finalizer$FinalizerThread.run
(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x00A9E678 
nid=0x1e4 in Object.wait() [ce
4f000..ce4fd8c]
        at java.lang.Object.wait(Native Method)
        - waiting on <02D400B8> (a 
java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:426)
        at java.lang.ref.Reference$ReferenceHandler.run
(Reference.java:113)
        - locked <02D400B8> (a 
java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x00944E50 nid=0x96c waiting on 
condition [0..12d15c]

"VM Thread" prio=5 tid=0x00A9D440 nid=0x958 runnable

"VM Periodic Task Thread" prio=10 tid=0x00A534E0 nid=0x9a0 
waiting on condition

"Suspend Checker Thread" prio=10 tid=0x00A54008 nid=0x608 
runnable
Comment 1 Peter Zavadsky 2002-11-05 16:45:19 UTC
It is a problem with Splash. Whom belongs it?
Comment 2 mslama 2002-11-05 17:10:52 UTC
Recently I fixed similar problem when show() and toFront() was called
from main thread. I replanned it to AWT thread. Here call of center()
from main thead (after add()) is problematic IMO. It should be called
from AWT too.
Comment 3 David Simonek 2002-11-05 18:10:33 UTC
Fixed in main trunk as Marek suggested.
/cvs/core/src/org/netbeans/core/Splash.java,v  <--  Splash.java
new revision: 1.70; previous revision: 1.69

<flame on>
Peter & Marek, what about fixing it yourself directly next time,
without these reassignment and mentoring games. Fixing would take you
nearly the same time as these writings.
<flame off>
:-)
Comment 4 santosh 2002-11-06 15:56:35 UTC
Created attachment 7867 [details]
Stack traceon ^Break  when IDE hangs while starting up
Comment 5 santosh 2002-11-06 15:57:40 UTC
I tried todays dev build. I still cannot run the ide
Comment 6 David Simonek 2002-11-06 16:41:06 UTC
Well, no fun, now it's worse because I can find no problem in our code
from attached stack traces, it looks as it is running, no deadlock. Of
course everything works ok on our machines, as usual.

It looks now that problem is not in netbeans itself, but in jdk or
jvm. Try to experiment with ide.cfg (try to not use it for a while),
try jdk 1.3 or newer version of jdk 1.4.1 - FCS version appears as
this in netbeans log:
Java; VM; Vendor = 1.4.1; Java HotSpot(TM) Client VM 1.4.1-b21; Sun
Microsystems Inc.

I'm ccing guys that have more experinces with threads then me, perhaps
they can add something.
Comment 7 Marian Mirilovic 2003-07-28 15:39:30 UTC
Without new informations for long time - verifying, closing.
Comment 8 Quality Engineering 2008-12-23 14:23:43 UTC
This issue had *1 votes* before move to platform component