History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NXP-1592
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Anahide Tchertchian
Reporter: John Goerzen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Nuxeo Enterprise Platform

Relations tab sometimes returns 404

Created: 29/09/07 03:55   Updated: 29/05/08 22:49
Component/s: None
Affects Version/s: 5.1.1
Fix Version/s: 5.2 M1, 5.1.2

Time Tracking:
Not Specified

File Attachments: 1. File error (112 kb)
2. Text File server.log (264 kb)

Environment:
Debian GNU/Linux sid
5.1.1.GA

Resolution Date: 02/10/07 17:18
Require Callback: No
Participants: Anahide Tchertchian, Derek Hval and John Goerzen
Date of First Response: 01/10/07 15:44
Tags:


 Description  « Hide
I have observed that sometimes hitting the relations tab will return a 404 error from Tomcat. This seems to happen most frequently when it is pressed within 30 seconds of creating/uploading a new file in Nuxeo. The error looks like this:

HTTP Status 404 - /nuxeo/nxdoc/MyRepo/8e5fc580-ddad-4942-b1a7-1b200982bf50/view_documents

type Status report

message /nuxeo/nxdoc/MyRepo/8e5fc580-ddad-4942-b1a7-1b200982bf50/view_documents

description The requested resource (/nuxeo/nxdoc/MyRepo/8e5fc580-ddad-4942-b1a7-1b200982bf50/view_documents) is not available.
Apache Tomcat/5.5.20

Clicking reload when this appears will usually cause the correct thing to be displayed.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anahide Tchertchian - 01/10/07 15:44
I haven't been able to reproduce this problem.
The 404 error is displayed when the error is too grave or happens in a phase where the application cannot display the error page, so it may be useful to get a traceback from the logs.

John Goerzen - 01/10/07 16:37
I'm having some difficulties duplicating this due to NXP-1586. I caused the system to generate an exception from the relations tab, but due to that bug I'm not sure if this is the same condition that caused the 404. I am attaching the server.log anyway.

John Goerzen - 01/10/07 16:42
Creating a file without content worked around NXP-1586. I did so and got this error when I clicked on Relations:

HTTP Status 404 - /nuxeo/nxdoc/MyRepo/9c14bd9e-128c-4887-ae39-d6fef5e7f150/view_documents

type Status report

message /nuxeo/nxdoc/MyRepo/9c14bd9e-128c-4887-ae39-d6fef5e7f150/view_documents

description The requested resource (/nuxeo/nxdoc/MyRepo/9c14bd9e-128c-4887-ae39-d6fef5e7f150/view_documents) is not available.
Apache Tomcat/5.5.20

The attached exception corresponds. Pressing Reload caused the correct page to be displayed.

Anahide Tchertchian - 02/10/07 17:18
Connection was sometimes lost (it was stored in the graph) ; a new one is now created at each call.
Clicking the reload button made it work because connection was destroyed and rebuilt when catching an error.