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 249193 - USAGES log sending seem to send huge amount of reports
Summary: USAGES log sending seem to send huge amount of reports
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-08 10:22 UTC by Martin Fousek
Modified: 2014-12-10 16:11 UTC (History)
3 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 Martin Fousek 2014-12-08 10:22:53 UTC
Product Version: NetBeans IDE Dev (Build 20141204-f7305e888b96)
Java: 1.7.0_72; Java HotSpot(TM) 64-Bit Server VM 24.72-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_72-b14

It looks that there was likely introduced bug in the fix of the issue #203053. You are using "firstDateMetric" string constant for checking whether the USAGES logs should be uploaded to nbstatistics server or not. First time it looks to be stored into preferences correctly (when no such date is available) but after that it stores the last date under other, the "dateFirstMetric" constant.

Please double check our presumption and fix that ASAP. I and TomasH discussed with Marian that this fix could be released as a new patch over 8.0.2. There is problem that it overloads servers which are gathering and processing usages logs.
Comment 1 Martin Entlicher 2014-12-08 13:35:00 UTC
Fixed by http://hg.netbeans.org/core-main/rev/2b5bf0aa6814
Comment 2 Martin Entlicher 2014-12-09 15:15:42 UTC
Pushed into release801 branch:
http://hg.netbeans.org/releases/rev/0d50bd0c4910
http://hg.netbeans.org/releases/rev/8d330cf4e8bd
Comment 3 Quality Engineering 2014-12-10 04:02:07 UTC
Integrated into 'main-silver', will be available in build *201412100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2b5bf0aa6814
User: mentlicher@netbeans.org
Log: #249193: Correct the consistency of property constants that handle metrics reporting.