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 245681 - Usages are being logged twice on JDK8
Summary: Usages are being logged twice on JDK8
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 08:48 UTC by Vladimir Riha
Modified: 2014-08-12 14:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
uigestures (29.57 KB, text/plain)
2014-07-15 08:48 UTC, Vladimir Riha
Details
IDE log (32.98 KB, text/plain)
2014-07-15 08:49 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-07-15 08:48:58 UTC
Created attachment 148056 [details]
uigestures

Product Version: NetBeans IDE Dev (Build 201407140001)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-30-generic running on i386; UTF-8; en_US (nb)


Please check the attached uigestures, it contains multiple identical records. These twins are also next to each other (see samples below). I cannot reproduce it on JDK7u65 so it probably happens only on JDK8


Few sample examples:


<record>
  <date>2014-07-15T10:45:00</date>
  <millis>1405413900045</millis>
  <sequence>106</sequence>
  <logger>org.netbeans.ui.focus</logger>
  <level>FINE</level>
  <thread>54</thread>
  <message>LOG_WINDOW_ACTIVATED</message>
  <key>LOG_WINDOW_ACTIVATED</key>
  <catalog>org.netbeans.core.ui.warmup.Bundle</catalog>
  <param>3</param>
</record>
<record>
  <date>2014-07-15T10:45:00</date>
  <millis>1405413900045</millis>
  <sequence>106</sequence>
  <logger>org.netbeans.ui.focus</logger>
  <level>FINE</level>
  <thread>54</thread>
  <message>LOG_WINDOW_ACTIVATED</message>
  <key>LOG_WINDOW_ACTIVATED</key>
  <catalog>org.netbeans.core.ui.warmup.Bundle</catalog>
  <param>3</param>
</record>


or


<record>
  <date>2014-07-15T10:41:49</date>
  <millis>1405413709140</millis>
  <sequence>93</sequence>
  <logger>org.netbeans.ui.metrics.php</logger>
  <level>INFO</level>
  <thread>47</thread>
  <message>USG_TEST_RUN_PHP</message>
  <key>USG_TEST_RUN_PHP</key>
  <catalog>org.netbeans.modules.php.project.util.Bundle</catalog>
  <param>PhpUnit|atoum</param>
</record>
<record>
  <date>2014-07-15T10:41:49</date>
  <millis>1405413709140</millis>
  <sequence>93</sequence>
  <logger>org.netbeans.ui.metrics.php</logger>
  <level>INFO</level>
  <thread>47</thread>
  <message>USG_TEST_RUN_PHP</message>
  <key>USG_TEST_RUN_PHP</key>
  <catalog>org.netbeans.modules.php.project.util.Bundle</catalog>
  <param>PhpUnit|atoum</param>
</record>


or


<record>
  <date>2014-07-15T10:41:33</date>
  <millis>1405413693480</millis>
  <sequence>69</sequence>
  <logger>org.netbeans.ui.projects</logger>
  <level>CONFIG</level>
  <thread>21</thread>
  <message>UI_INIT_PROJECTS</message>
  <key>UI_INIT_PROJECTS</key>
  <catalog>org.netbeans.modules.project.ui.Bundle</catalog>
  <param>org.netbeans.modules.php.project.PhpProject</param>
  <param>PhpProject</param>
  <param>2</param>
</record>
<record>
  <date>2014-07-15T10:41:33</date>
  <millis>1405413693480</millis>
  <sequence>69</sequence>
  <logger>org.netbeans.ui.projects</logger>
  <level>CONFIG</level>
  <thread>21</thread>
  <message>UI_INIT_PROJECTS</message>
  <key>UI_INIT_PROJECTS</key>
  <catalog>org.netbeans.modules.project.ui.Bundle</catalog>
  <param>org.netbeans.modules.php.project.PhpProject</param>
  <param>PhpProject</param>
  <param>2</param>
</record>



Product Version: NetBeans IDE Dev (Build 201407140001)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-30-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-07-15 08:49:17 UTC
Created attachment 148057 [details]
IDE log
Comment 2 Martin Entlicher 2014-07-22 16:53:26 UTC
Fixed by changeset:   276451:a3216db3c418
http://hg.netbeans.org/core-main/rev/a3216db3c418
Comment 3 Quality Engineering 2014-07-24 02:40:57 UTC
Integrated into 'main-silver', will be available in build *201407240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a3216db3c418
User: mentlicher@netbeans.org
Log: #245681: Hold the restored Installer instance so that it's not re-created after it's GC.
Comment 4 Vladimir Riha 2014-08-12 14:50:19 UTC
Thank you, verified

Product Version: NetBeans IDE Dev (Build 201408120001)
Java: 1.8.0_11; Java HotSpot(TM) Client VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)