This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 238227 - COSMOSUI tests - GraphResponseViewer, Problem with Record Details Dialog
Summary: COSMOSUI tests - GraphResponseViewer, Problem with Record Details Dialog
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Leonard Richardson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 07:49 EDT by Srinivas Reddy CLA
Modified: 2012-01-03 13:53 EST (History)
4 users (show)

See Also:


Attachments
Snapshot of COSMOSUI with error message (132.11 KB, image/jpeg)
2008-06-24 07:49 EDT, Srinivas Reddy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Srinivas Reddy CLA 2008-06-24 07:49:02 EDT
Created attachment 105690 [details]
Snapshot of COSMOSUI with error message

Build ID: COSMOS-1.0.0-200806231121

Steps To Reproduce:
1 Go to the test page at : http://localhost:8080/COSMOSUITests/?page=graphResponseViewer
2 Three Graph Response Viewer Widgets should be displayed
3 On each of the three Nodes and Edges Grids, click on the cell at row 4 cell 2 (the edge) with a value "reference"
3.1 for each
3.1.1 check the ART pane title is hown without the grid (the pane container has a title that can be toggled
      so that the contents beneath it are not displayed)
3.1.2 check that the green circle icon with a white + is shown underneath the Detail label
3.1.3 Check that the Record Id is shown:
	ECM01:SomeLongWordsAndSomeNumbers/12345678/09876/AndHereIsSomeMore/AndSoonThisWillFinsih/TestingTesting/OneTwoThreegone!

Output:
- Record Details dialog throws some exceptions as listed below

exception 

javax.servlet.ServletException: Servlet execution threw an exception


root cause 

java.lang.ExceptionInInitializerError
	org.eclipse.cosmos.internal.dr.drs.service.outputter.RecordDetailsOutputter.render(RecordDetailsOutputter.java:33)
	org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.delegateRequest(OutputterDelegator.java:71)
	org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.doGet(OutputterDelegator.java:39)
	org.eclipse.cosmos.internal.dr.drs.service.handler.common.URLDelegator.doGet(URLDelegator.java:75)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause 

java.util.MissingResourceException: Can't find bundle for base name org.eclipse.cosmos.internal.dr.drs.service.outputter.messages, locale en_AU
	java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
	java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
	java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
	org.eclipse.cosmos.internal.dr.drs.service.outputter.Messages.<clinit>(Messages.java:19)
	org.eclipse.cosmos.internal.dr.drs.service.outputter.RecordDetailsOutputter.render(RecordDetailsOutputter.java:33)
	org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.delegateRequest(OutputterDelegator.java:71)
	org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDelegator.doGet(OutputterDelegator.java:39)
	org.eclipse.cosmos.internal.dr.drs.service.handler.common.URLDelegator.doGet(URLDelegator.java:75)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs.




More information:

Refer attached snapshot
Comment 1 Sheldon Lee-Loy CLA 2008-06-24 11:08:04 EDT
Can the graph viewer test just reference a json file instead of calling the outputter.  The cosmos test application should just tests the dojo widgets with hard coded json files and not call outputters.  
Comment 2 Sheldon Lee-Loy CLA 2008-07-23 09:51:26 EDT
Moving bug to i13.  This issue is related to test cases and not critical for i12.
Comment 3 Leonard Richardson CLA 2008-08-13 06:15:40 EDT
Hello Srinivas,

I was unable to recreate the errors seen in the snapshot using build COSMOS-1.0.0200808061030.

Please can you confirm that this is fixed in the latest stable build for you as well.

Thanks

Leonard
Comment 4 Srinivas Reddy CLA 2008-08-19 00:26:46 EDT
This is verified on build-COSMOS-1.0.0200808061030 and found to be working fine.

Leonard, Pl. close this, as it's already fixed by some other bug.
Comment 5 Leonard Richardson CLA 2008-08-19 05:44:44 EDT
This is not a problem anymore so closing it.
Comment 6 Srinivas Reddy CLA 2008-08-19 07:19:48 EDT
Based on above comment, I am closing it.