[gatein-issues] [JBoss JIRA] Reopened: (GTNPORTAL-1539) Remove gadget Error 404 in logs
Thomas Heute (JIRA)
jira-events at lists.jboss.org
Mon Oct 18 06:15:54 EDT 2010
[ https://jira.jboss.org/browse/GTNPORTAL-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Heute reopened GTNPORTAL-1539:
-------------------------------------
In fact it breaks 1 test in the Shindig testsuite:
<testcase time="0.006" classname="org.apache.shindig.gadgets.render.DefaultServiceFetcherTest" name="testReadConfigWithValidEndpoints">
<failure message="expected:<{http://localhost/api/rpc=[system.listMethods, service.get], gadgets.rpc=[messages.send, ui.resize], http://%host%/api/rpc=[do.something, delete.someting], http://%host%/socia
l/api/rpc=[weather.get]}> but was:<{gadgets.rpc=[messages.send, ui.resize], http://localhost/api/rpc=[system.listMethods, service.get]}>" type="junit.framework.AssertionFailedError">junit.framework.Ass
ertionFailedError: expected:<{http://localhost/api/rpc=[system.listMethods, service.get], gadgets.rpc=[messages.send, ui.resize], http://%host%/api/rpc=[do.something, delete.someting], http://%host%/social/a
pi/rpc=[weather.get]}> but was:<{gadgets.rpc=[messages.send, ui.resize], http://localhost/api/rpc=[system.listMethods, service.get]}>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:277)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at org.apache.shindig.gadgets.render.DefaultServiceFetcherTest.testReadConfigWithValidEndpoints(DefaultServiceFetcherTest.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
</failure>
</testcase>
> Remove gadget Error 404 in logs
> -------------------------------
>
> Key: GTNPORTAL-1539
> URL: https://jira.jboss.org/browse/GTNPORTAL-1539
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Shindig
> Reporter: kien nguyen
> Assignee: kien nguyen
> Attachments: 2010-10-13-GTNPORTAL-1539-shindig.patch
>
>
> Have following errors when user drag and drop gadget to dashboard in first time (example: Todo gadget):
> Oct 6, 2010 8:57:18 AM org.apache.shindig.gadgets.render.DefaultServiceFetcher retrieveServices
> SEVERE: Failed to parse services methods from endpoint http://localhost:8080/social/rpc. JSONObject["data"] not found.
> Oct 6, 2010 8:57:18 AM org.apache.shindig.gadgets.render.DefaultServiceFetcher retrieveServices
> SEVERE: Failed to parse services methods from endpoint http://localhost:8080/gadgets/api/rpc. JSONObject["data"] not found.
> It seems to error that related to fetch data to get available rpc services
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list