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 147227 - option 'org.netbeans.log.startup=print' hangs IDE
Summary: option 'org.netbeans.log.startup=print' hangs IDE
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-09-15 08:06 UTC by Oleg Khokhlov
Modified: 2008-12-22 14:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2008-09-15 08:06:49 UTC
If I specify -J-Dorg.netbeans.log.startup=print in netbeans.conf file IDE hangs on startup.

This blocks our automated tests for cold startup measurements.

200809150201
Windows XP SP2
JDK 1.6.0_10
Comment 1 Lukas Hasik 2008-09-15 08:46:45 UTC
why should be an not-working command line property marked as P1?  


Tondo, could you please reassign to responsible developer? Thank you.
Comment 2 Oleg Khokhlov 2008-09-15 14:06:51 UTC
Actually not even hangs but IDE doesn't start, it creates message log like this and silently dies:

-------------------------------------------------------------------------------
>Log Session: Monday, September 15, 2008 5:06:03 PM MSD
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 200809150201)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b12; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_10-beta-b25
  Java Home               = C:\Sun\Java\jdk1.6.0_10\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory          = C:\Documents and Settings\tester
  Current Directory       = C:\netbeans\bin
  User Directory          = C:\Documents and Settings\tester\.netbeans\dev
  Installation            = C:\netbeans\nb6.5
                            C:\netbeans\ide10
                            C:\netbeans\java2
                            C:\netbeans\xml2
                            C:\netbeans\apisupport1
                            C:\netbeans\webcommon1
                            C:\netbeans\websvccommon1
                            C:\netbeans\enterprise5
                            C:\netbeans\mobility8
                            C:\netbeans\profiler3
                            C:\netbeans\gsf1
                            C:\netbeans\ruby2
                            C:\netbeans\php1
                            C:\netbeans\visualweb2
                            C:\netbeans\soa2
                            C:\netbeans\identity2
                            C:\netbeans\harness
                            C:\netbeans\cnd2
                            C:\netbeans\groovy1
                            C:\netbeans\platform9
  Boot & Ext. Classpath   =
C:\Sun\Java\jdk1.6.0_10\jre\lib\resources.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\rt.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\sunrsasign
.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\jsse.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\jce.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\charsets.jar;C:\Sun\Java\jdk1.6.0_10\
jre\classes;C:\Sun\Java\jdk1.6.0_10\jre\lib\ext\dnsns.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\ext\localedata.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\ext\sunjce_pro
vider.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\ext\sunmscapi.jar;C:\Sun\Java\jdk1.6.0_10\jre\lib\ext\sunpkcs11.jar
  Application Classpath   =
C:\netbeans\platform9\lib\boot.jar;C:\netbeans\platform9\lib\org-openide-modules.jar;C:\netbeans\platform9\lib\org-openide-util
.jar;C:\Sun\Java\jdk1.6.0_10\lib\dt.jar;C:\Sun\Java\jdk1.6.0_10\lib\tools.jar
  Startup Classpath       =
C:\netbeans\platform9\core\core.jar;C:\netbeans\platform9\core\org-openide-filesystems.jar;C:\netbeans\nb6.5\core\org-netbeans-
upgrader.jar;C:\netbeans\nb6.5\core\locale\core_nb.jar
-------------------------------------------------------------------------------
  @331 - TopLogging initialized dT=284
  @331 - Command line parsed dT=0
Comment 3 Antonin Nebuzelsky 2008-09-16 11:58:20 UTC
Jirko, take this one.
Comment 4 Jiri Skrivanek 2008-09-16 12:35:48 UTC
Fixed.
http://hg.netbeans.org/core-main/rev/ce2272608af2
Comment 5 Quality Engineering 2008-09-17 05:44:38 UTC
Integrated into 'main-golden', will be available in build *200809170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ce2272608af2
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #147227 - removed forgotten StartLog.logEnd and call System.err.flush() to print error messages before exit.
Comment 6 Jesse Glick 2008-09-18 12:58:31 UTC
Right, thanks.
Comment 7 Oleg Khokhlov 2008-09-18 14:05:19 UTC
verified in 200809170201