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.
When I use the problem reporter when a problem occurred after hitting the send button a error message dialog is displayed with the following message: Upload of log to statistics.netbeans.org failed The message log shows a HTTP 500 error: java.io.IOException: Server returned HTTP response code: 500 for URL: http://statistics.netbeans.org/analytics/upload.jsp at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170) at org.netbeans.modules.uihandler.Installer.uLogs(Installer.java:610) at org.netbeans.modules.uihandler.Installer.uploadLogs(Installer.java:537) [catch] at org.netbeans.modules.uihandler.Installer$Submit.uploadAndPost(Installer.java:962) at org.netbeans.modules.uihandler.Installer$Submit.access$200(Installer.java:658) at org.netbeans.modules.uihandler.Installer$Submit$1.run(Installer.java:885) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Well, maybe you connection was too slow? Next time you see this, could you visit http://statistics.netbeans.org/analytics in an external browser and tell me whether the server was up or down? Indeed if it was down, then the 500 error is ok.
Got the exactly the same error again and the server is not down. Nothing wrong with the connection either.
Same problem with build 20070913 on win xp. The problem exists for months now. On nbusers the server is blamed.http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=98450
Error 500 means internal error (http://www.w3.org/Protocols/HTTP/HTRESP.html). We have uploaded new version, hopefully it is going to work in better way.
I'm sorry but still have the same problem. I'm now running nightly built 200709191200
I've got to the same problem. This is what the server said: INFO: accepting: multipart/form-data; boundary=--------konec<>bloku Sep 22, 2007 8:59:27 PM org.netbeans.server.uihandler.LogsManager addLog INFO: request for parsing /space/ui-logs/0676a418d-d130-42cf-b02c-bd355009bb10.9 Sep 22, 2007 8:59:27 PM org.netbeans.server.uihandler.LogsManager$1R run INFO: processing parsing /space/ui-logs/0676a418d-d130-42cf-b02c-bd355009bb10.9 probably means the parsing of a log file filed, but how?
I am able to reproduce this problem from home, however after hibernate and de-hibernate of my computer at work I am able to submit the log without problems. That is why I think this must be somehow connected to the IP I am using. The log file is useless, it does not contain any exception. Probably because there is just catch (Exception e) and not catch(Throwable t). I'll add here a diff that I need to be uploaded to the server. Jan, please make sure this fixed version is alive soon, this might be very significant problem.
Created attachment 50929 [details] Patch against the before_merge_103381 tag
Created attachment 50930 [details] My .war file if you do not want to build it yourself
Indeed the problem is in parsing my IP address, Jindra please look at it: SEVERE: failure during parsing /space/ui-logs/0676a418d-d130-42cf-b02c-bd355009bb10.53 java.lang.NumberFormatException: For input string: "246, 86" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.<init>(Integer.java:620) at org.netbeans.modules.exceptions.entity.Logfile.setIpAddr(Logfile.java:110) at org.netbeans.server.uihandler.LogsManager$1R.run(LogsManager.java:247) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301 (ScheduledThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)
If it is of any help, my IP was probably 86.49.107.244
adding more logging Checking in LogsManager.java; /cvs/logger/uihandlerserver/src/java/org/netbeans/server/uihandler/LogsManager.java,v <-- LogsManager.java new revision: 1.49; previous revision: 1.48 done after Jarda's script upload should fail no more -> decreasing priority
It works!
should be completelly correctly fixed Checking in src/org/netbeans/modules/exceptions/entity/Logfile.java; /cvs/logger/ExceptionUtils/src/org/netbeans/modules/exceptions/entity/Logfile.java,v <-- Logfile.java new revision: 1.5; previous revision: 1.4 done Checking in test/org/netbeans/modules/exceptions/utils/MappingTest.java; /cvs/logger/ExceptionUtils/test/org/netbeans/modules/exceptions/utils/MappingTest.java,v <-- MappingTest.java new revision: 1.4; previous revision: 1.3 done