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 194210 - Report of exceptions does not work.
Summary: Report of exceptions does not work.
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger Server (show other bugs)
Version: 7.0
Hardware: PC Linux
: P1 normal with 1 vote (vote)
Assignee: Tomas Danek
URL:
Keywords:
: 194663 195196 195199 195243 195280 195321 195600 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-11 11:04 UTC by Martin Entlicher
Modified: 2011-02-24 14:30 UTC (History)
8 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 Entlicher 2011-01-11 11:04:07 UTC
It's really unfortunate how unreliable our servers are.
I'm getting this error in the IDE and I'm not able to report exceptions!

No data found at http://statistics.netbeans.org/analytics/uploaddone.jsp?id=3d3b598a-6a8b-4b74-8d69-83688dcb760a_05c85cb7-29c8-47b6-a20b-f15a63ac622a.
The problem can be caused by broken internet connection or on server side. Try to report problem later again. If you would face this problem repeatedly, submit a bug at http://www.netbeans.org/issues/enter_bug.cgi against logger, please.

Also please mention that the logger is in "ide" category, since there's NO "logger" at http://www.netbeans.org/issues/enter_bug.cgi.

In the browser when I go to http://statistics.netbeans.org/analytics/uploaddone.jsp?id=3d3b598a-6a8b-4b74-8d69-83688dcb760a_05c85cb7-29c8-47b6-a20b-f15a63ac622a
I'm getting:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /analytics/uploaddone.jsp.

Reason: Error reading from remote server

Apache/2.2.3 (CentOS) Server at statistics.netbeans.org Port 80
Comment 1 Tomas Danek 2011-01-11 11:19:53 UTC
Martine, what are your proxy settings in IDE?
Comment 2 Tomas Danek 2011-01-11 12:17:00 UTC
tested with manually set proxy. 
got the same as you, problem from log:

INFO [org.netbeans.modules.exceptions.ReporterResultTopComponent]: URL Loading failed
java.io.IOException: Server returned HTTP response code: 502 for URL: http://statistics.netbeans.org/analytics/uploaddone.jsp?id=52ba01ca-28de-42c6-9a8c-461b0e42e7db_3180e6e3-17fa-4710-9c62-c66cb07ae290
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
        at org.netbeans.modules.exceptions.ReporterResultTopComponent.uploadURL(ReporterResultTopComponent.java:327)
        at org.netbeans.modules.exceptions.ReporterResultTopComponent.access$800(ReporterResultTopComponent.java:74)
[catch] at org.netbeans.modules.exceptions.ReporterResultTopComponent$PageUploader.run(ReporterResultTopComponent.java:306)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1960)

anyway, exception was reported to IZ. I am pretty sure this is caused by combination of being behind proxy, as well as IDE currently not reading correctly system proxy settings.
Comment 3 Martin Entlicher 2011-01-11 12:27:44 UTC
My proxy settings are correct. I do not think I should post the proxy host to public. I have selected "Manual Proxy Settings" with the appropriate proxy host and port.
It looks like a problem of the server, since Firefox was not able to load the URL as well.
Comment 4 Quality Engineering 2011-01-14 06:08:28 UTC
Integrated into 'main-golden', will be available in build *201101140000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ac21bf454620
User: musilt2@netbeans.org
Log: #194210: Improved link and message
Comment 5 Tomas Danek 2011-01-17 15:58:42 UTC
b7dec2a9aaee might help this. Let's see.
Comment 6 Tomas Danek 2011-01-24 17:59:22 UTC
*** Bug 194663 has been marked as a duplicate of this bug. ***
Comment 7 Jesse Glick 2011-01-24 18:11:57 UTC
Got this today (several times I think). Not using a proxy.
Comment 8 Tomas Danek 2011-01-25 10:01:30 UTC
still waiting till all logs get reparsed to decide if b7dec2a9aaee (main/misc) helped.
Comment 9 Tomas Danek 2011-02-03 15:42:14 UTC
Finally got the root cause. Problem is, that on server are too many logs with org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.AssertionError
and for each such log we are querying DB in order to check for duplicity of the inner AEs, which is extremely expansive.
Correct fix would be to handle exceptions from org.openide.util.RequestProcessor$SlowItem separately, but first i'll try to tune those duplicate queries, which seems to be less risky fix.
Comment 10 Tomas Danek 2011-02-08 20:31:12 UTC
*** Bug 195199 has been marked as a duplicate of this bug. ***
Comment 11 Tomas Danek 2011-02-09 07:07:34 UTC
*** Bug 195196 has been marked as a duplicate of this bug. ***
Comment 12 Jesse Glick 2011-02-09 17:10:29 UTC
*** Bug 195243 has been marked as a duplicate of this bug. ***
Comment 13 Tomas Danek 2011-02-10 14:13:48 UTC
*** Bug 195280 has been marked as a duplicate of this bug. ***
Comment 14 computerwiz908 2011-02-13 00:57:08 UTC
Still can't report bugs on the latest nightly.  Is there still a bug overload causing reports not to processed?
Comment 15 Tomas Danek 2011-02-14 14:19:59 UTC
Still the same problem, fix is not trivial unfortunately ;(
(In reply to comment #14)
> Still can't report bugs on the latest nightly.  Is there still a bug overload
> causing reports not to processed?
Comment 16 Tomas Danek 2011-02-17 12:48:50 UTC
*** Bug 195600 has been marked as a duplicate of this bug. ***
Comment 17 Tomas Danek 2011-02-18 14:09:20 UTC
*** Bug 195321 has been marked as a duplicate of this bug. ***
Comment 18 Tomas Danek 2011-02-24 14:30:04 UTC
fixed (workarounded)  in main/misc and deployed to production.