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 90667 - SC returns servlet error for html with size of 0 bytes
Summary: SC returns servlet error for html with size of 0 bytes
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: collabnet (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: support
URL: http://qa.netbeans.org/bugzilla/dashb...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 14:56 UTC by jcatchpoole
Modified: 2009-11-08 02:36 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jcatchpoole 2006-12-06 14:56:09 UTC
It was reported that the URL above returns a servlet error.  wget headers and
error msg included below.  On investigation, I found that the page in question
exists, but has a size of 0 bytes.

So I guess 2 problems here :

1) QA team should fix the page - I filed issue 90663 about that.

2) Would be nice if SourceCast handled zero-sized html better than just
returning a servlet error.  A blank page or 404 is probably more appropriate ?

Here's the output of wget -S for the URL in question :

--%<--

[jak@jem]: ~ $ wget -S http://qa.netbeans.org/bugzilla/dashboards/top-voted.html
--12:37:30--  http://qa.netbeans.org/bugzilla/dashboards/top-voted.html
           => `top-voted.html'
Resolving qa.netbeans.org... 204.16.105.18
Connecting to qa.netbeans.org|204.16.105.18|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.0 302 Moved Temporarily
  Date: Wed, 06 Dec 2006 12:37:31 GMT
  Server: Apache/2.0.50 (Unix) mod_choke/0.1 DAV/2 mod_jk/1.2.0 SVN/1.1.1
mod_auth_svn/0.1 mod_ssl/2.0.50 OpenSSL/0.9.7b mod_auth_mda/2.0
  Expires: Wed, 06 Dec 2006 12:52:31 GMT
  Set-Cookie:
JSESSIONID=B39B1D9A89FB3B90B6EFD499039EE4CD;Domain=.netbeans.org;Path=/
  Set-Cookie: JSESSIONID=B39B1D9A89FB3B90B6EFD499039EE4CD;Path=/servlets
  Cache-Control: max-age=900
  HelmLoginID: guest
  Location: http://www.netbeans.org/servlets/ErrorPage
  Vary: Accept-Language
  Content-Length: 0
  Content-Type: text/html
  X-Cache: MISS from cache1.sjc.collab.net
  Connection: keep-alive
Location: http://www.netbeans.org/servlets/ErrorPage [following]
--12:37:46--  http://www.netbeans.org/servlets/ErrorPage
           => `ErrorPage'
Resolving www.netbeans.org... 204.16.105.18
Reusing existing connection to qa.netbeans.org:80.
HTTP request sent, awaiting response... 
  HTTP/1.0 200 OK
  Date: Wed, 06 Dec 2006 12:37:46 GMT
  Server: Apache/2.0.50 (Unix) mod_choke/0.1 DAV/2 mod_jk/1.2.0 SVN/1.1.1
mod_auth_svn/0.1 mod_ssl/2.0.50 OpenSSL/0.9.7b mod_auth_mda/2.0
  HelmLoginID: guest
  Content-Type: text/html; charset=UTF-8
  X-Cache: MISS from cache1.sjc.collab.net
  Connection: close
Length: unspecified [text/html]

    [  <=>                                                          ] 10,292   
    37.47K/s             

12:37:47 (37.36 KB/s) - `ErrorPage' saved [10292]

-->%--

ErrorPage looks like :

--%<--

ervlet error

Fatal error

Error proxying content: i/o error getting response stream

Please click on your browser's Back button, review your input, and try again.

If you get the error again, please notify us, including the following
information in your report:

    * The date and time: 12:36:41 PM GMT Wednesday, December 6, 2006
    * The version and build number: 3.5.1.19.9
    * Your login name: jcatchpoole
    * The page that caused the error:
http://qa.netbeans.org/bugzilla/dashboards/top-voted.html
    * Any field input you provided and the name of any button you pressed
    * Any other relevant information

-->%--
Comment 1 deeptinker 2007-05-10 03:58:17 UTC
This page is now working again.  Issue
http://www.netbeans.org/issues/show_bug.cgi?id=90872 still remains; there is no
way to drill down to this page.  One just has to know that it is there.

Comment 2 jcatchpoole 2007-05-21 15:44:23 UTC
Thanks Deeptinker.  this is a 2 part issue, 2) is that SourceCast should handle
a zero-sized file better.  Reopening to track that.
Comment 3 Unknown 2007-05-21 17:58:53 UTC
Hi,

Thank you for contacting CollabNet Support & submitting a Enhancement Request.
Your request is under process & will be reviewed internally. An update will be
provided as soon as the request has been accepted by the product management
team. Meanwhile if you feel you require the enhancement to be
considered/implemented immediately, please let us know & our services team would
prepare a fee based Statement of Work (SOW) to help expedite the implementation
of this request.

Thanks,
Vathsan
Support Operations.
Comment 4 Unknown 2007-05-24 00:40:48 UTC
Hi Jack,

I am currently replicating this issue to confirm the way NB handles an empty
.html page (0 bytes size). Would take this issue further to the concerned
department if it works the way you have described. Will keep you posted on the
progress.

Best Regards,
Vathsan
Support Operations.
Comment 5 Unknown 2007-05-29 13:23:52 UTC
Hi Kevin,

I have filed an internal issue after getting to see the Servlet error on
replicating the issue by adding an empty html file (0 bytes) to a test project
on the site. Our Product Management team would look through the request on the
basis of the business benefit achieved out on implementing the enhancement. It
would also be supportive for this case if some specific business benefit you
expect are provided to us on implementing this feature apart from the current
request on appropriate handling of empty html files . Will get back to you on
the team's response for this request.

Thanks,
Vathsan
Support Operations.
Comment 6 Unknown 2007-06-04 19:08:26 UTC
Hi Jack,

Kindly, disregard my prior comment. I have filed an internal issue after getting
to see the Servlet error on replicating the issue by adding an empty html file
(0 bytes) to a test project on the site. Our engineers are currently working on
applying a patch that guards with a check which helps in handling empty html
files when added. 
Will get back to you on the team's progress on for this request.

Thanks,
Vathsan
Support Operations.
Comment 7 Unknown 2007-06-07 18:16:01 UTC
Hi Jack,

The requested feature is accepted to be fixed in Rubicon release of CEE. Support
will track this issue internally & review the fix in the corresponding release.

Thanks,
Vathsan
Support Operations.
Comment 8 Unknown 2007-09-18 21:36:56 UTC
Marking the issue as Resolved Later as the fix is available in a future release.

Regards,
Karishma
Support Operations
Comment 9 jcatchpoole 2007-09-19 10:03:48 UTC
Which future release ?
Comment 10 Unknown 2007-09-19 10:07:16 UTC
Jack,

As in desc8, this feature is available in Rubicon (CEE 5.0).

Regards,
Karishma
Support Operations
Comment 11 Unknown 2007-09-19 10:28:28 UTC
Updating Target Milestone.

Regards,
Karishma
Support Operations
Comment 12 Unknown 2008-02-26 12:37:11 UTC
Hi

This feature is fixed in Rubicon and I have verified the same on a test box carrying the latest version. I shall close
this case for now. Please feel free to re-open, if the functionality does not satisfy your expectation when site gets
upgraded to Rubicon version of CEE.

Regards,
Vathsan
Support Operations.
Comment 13 Unknown 2008-02-26 13:39:05 UTC
Re-opening the issue.
Comment 14 Unknown 2008-02-26 13:39:28 UTC
Marking as Resolved FIXED.
Comment 15 Marian Mirilovic 2009-11-08 02:36:55 UTC
We recently moved out from Collabnet's infrastructure