The error that Alfresco 5.2.e maven install by eclipse during in the alfresco-remote-api .the error content is this:

cancel
Showing results for 
Search instead for 
Did you mean: 
阿土哥
Member II
2 Replies
douglascrp
Advanced II

Re: The error that Alfresco 5.2.e maven install by eclipse during in the alfresco-remote-api .the error content is this:

Please, share the full stacktrace as text, and not as an image.

That will make it easier to people willing to try to help you.

阿土哥
Member II

Re: The error that Alfresco 5.2.e maven install by eclipse during in the alfresco-remote-api .the error content is this:

yes i will, this is the error info when i maven install alfresco 5.2.e by eclipse :
first : the error info in console is the first image that i trans,so i tracking error message and i find in the path(E:\YIMEI\ECM\root\projects\remote-api\target\surefire-reports\org.alfresco.remoteapi.AllUnitTestsSuite-output):the context info is this:

2017-08-22 20:24:20,434 WARN [framework.core.ResourceLookupDictionary] [main] content
2017-08-22 20:24:20,452 WARN [framework.core.ResourceLookupDictionary] [main]
2017-08-22 20:24:20,452 WARN [framework.core.ResourceLookupDictionary] [main] v3isaresource
2017-08-22 20:24:20,453 WARN [framework.core.ResourceLookupDictionary] [main] v3isaresource
2017-08-22 20:24:20,489 WARN [framework.core.ResourceLookupDictionary] [main] nonsense
2017-08-22 20:24:20,501 WARN [framework.webscripts.ResourceWebScriptHelper] [main] No setter method for property: name
[{"age":2,"mood":"MELLOW","favourites":["front","back","over the road"],"goatId":"Billy"},{"name":"Dolly","age":3,"sheepGuid":"ABCD"},{"name":"Dolly","age":3,"sheepGuid":"XYZ"}]

schema:
{"type":"object","properties":{"name":{"type":"string"},"created":{"type":"number"},"age":{"type":"integer"},"id":{"type":"string"},"farm":{"type":"string","enum":["LARGE","SMALL","MEDIUM"]}}}
{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}}]}}
{"entry":{"sheepGuid":"ABCD","name":"Dolly","age":3}}
"8ec2779e-bb78-427c-9362-e1b622f97d6c"
{"list":{"pagination":{"count":0,"hasMoreItems":false,"totalItems":0},"entries":[]}}
{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":1,"maxItems":2},"entries":[{"entry":{"mood":"MELLOW","favourites":["front","back","over the road"],"grass":{"color":"green","id":"3"},"goatId":"Billy","age":2}},{"entry":{"sheepGuid":"ABCD","name":"Dolly","age":3}},{"entry":{"sheepGuid":"XYZ","name":"Dolly","age":3}}]}}
{"list":{"pagination":{"count":3,"hasMoreItems":true,"totalItems":5000,"skipCount":1,"maxItems":2},"entries":[{"entry":{"mood":"MELLOW","favourites":["front","back","over the road"],"grass":{"color":"green","id":"3"},"goatId":"Billy","age":2}},{"entry":{"sheepGuid":"ABCD","name":"Dolly","age":3}},{"entry":{"sheepGuid":"XYZ","name":"Dolly","age":3}}]}}
{"list":{"pagination":{"count":2,"hasMoreItems":false,"totalItems":2},"entries":[{"entry":{"related":{},"root":{"name":"Giles","created":"2017-08-22T12:24:20.685+0000","age":54,"id":"180","farm":"LARGE"},"anEmbeddedEntity":false,"embedded":{}}},{"entry":{"related":{},"root":{"name":"Giles","created":"2017-08-22T12:24:20.685+0000","age":54,"id":"456","farm":"LARGE"},"anEmbeddedEntity":false,"embedded":{}}}],"source":{"name":"Dolly","age":3,"sheepGuid":"1"}}}
{"list":{"pagination":{"count":2,"hasMoreItems":false,"totalItems":2},"entries":[{"entry":{"related":{},"root":{"name":"Giles","created":"2017-08-22T12:24:20.685+0000","age":54,"id":"180","farm":"LARGE"},"anEmbeddedEntity":false,"embedded":{}}},{"entry":{"related":{},"root":{"name":"Giles","created":"2017-08-22T12:24:20.685+0000","age":54,"id":"456","farm":"LARGE"},"anEmbeddedEntity":false,"embedded":{}}}]}}
{"list":{"pagination":{"count":2,"hasMoreItems":false,"totalItems":2},"entries":[{"entry":{"related":{},"root":{"name":"Giles","created":"2017-08-22T12:24:20.685+0000","age":54,"id":"180","farm":"LARGE"},"anEmbeddedEntity":false,"embedded":{}}},{"entry":{"related":{},"root":{"name":"Giles","created":"2017-08-22T12:24:20.685+0000","age":54,"id":"456","farm":"LARGE"},"anEmbeddedEntity":false,"embedded":{}}}],"source":{"name":"Dolly","age":3,"sheepGuid":"barbie"}}}
{"entry":{"sheepGuid":"1234A3","name":"Dolly","age":3}}
{"list":{"pagination":{"count":1,"hasMoreItems":false,"totalItems":1,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"paged","name":"Dolly","age":3}}]}}
{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}}]}}
{"list":{"pagination":{"count":1,"hasMoreItems":true,"totalItems":3,"skipCount":0,"maxItems":1},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}}]}}
{"age":2,"mood":"MELLOW","favourites":["front","back","over the road"],"goatId":"Billy"}
{"mood":"ANGRY","id":"Betty"}
{"entry":{"sheepGuid":"ssheep","name":"Dolly","age":3},"relations":{"farmers":{"list":{"pagination":{"count":2,"hasMoreItems":false,"totalItems":2},"entries":[{"entry":{"created":"2017-08-22T12:24:20.726+0000","name":"Giles","farm":"LARGE","id":"180","age":54}},{"entry":{"age":54}}]}}}}
{"entry":{"fileName":"ParamsExtractorTests-3686206897402872471.txt"}}
2017-08-22 20:24:20,773 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path goat. No unique id because the method annotated with @EmbeddedEntityResource returned null.
2017-08-22 20:24:20,773 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path sheep. No unique id because the method annotated with @EmbeddedEntityResource returned null.
{"entry":{"created":"2017-08-22T12:24:20.773+0000","name":"Giles","farm":"LARGE","id":"180","age":54}}
{"entry":{"age":3}}
{"entry":{"name":"Dolly","age":3}}
{"entry":{"name":"Dolly","age":3}}
{"entry":{"mood":"ANGRY","id":"Betty"},"relations":{"herd":{"list":{"pagination":{"count":1,"hasMoreItems":false,"totalItems":1,"skipCount":0,"maxItems":100},"entries":[{"entry":{"quantity":56,"name":"bigun"}}]}}}}
{"entry":{"mood":"ANGRY","id":"Betty"},"relations":{"herd":{"list":{"pagination":{"count":1,"hasMoreItems":false,"totalItems":1,"skipCount":0,"maxItems":100},"entries":[{"entry":{"name":"bigun"}}]}}}}
{"mimeType":"application/json"}
{"mimeType":"text/xml","sizeInBytes":45}
{"mimeType":"text/xml","sizeInBytes":99}
{"quantity":50,"photo":{"mimeType":"text/xml","sizeInBytes":99},"id":"myflock"}
{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3},"entries":["goat","sheep","horse"]}}
{"list":{"pagination":{"count":4,"hasMoreItems":false,"totalItems":4},"entries":[234,45,890,3456]}}
2017-08-22 20:24:20,870 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path goat. No unique id because the method annotated with @EmbeddedEntityResource returned null.
2017-08-22 20:24:20,870 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path sheep. No unique id because the method annotated with @EmbeddedEntityResource returned null.
{"entry":{"created":"2017-08-22T12:24:20.869+0000","name":"Giles","farm":"LARGE","id":"180","age":54},"relations":{"baaahh":{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}}]}},"blacksheep":{"list":{"pagination":{"count":4,"hasMoreItems":false,"totalItems":4,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}},{"entry":{"sheepGuid":"S4","name":"Dolly","age":3}}]}}}}
2017-08-22 20:24:20,876 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path goat. No unique id because the method annotated with @EmbeddedEntityResource returned null.
2017-08-22 20:24:20,876 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path sheep. No unique id because the method annotated with @EmbeddedEntityResource returned null.
2017-08-22 20:24:20,877 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path goat. No unique id because the method annotated with @EmbeddedEntityResource returned null.
2017-08-22 20:24:20,877 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path sheep. No unique id because the method annotated with @EmbeddedEntityResource returned null.
2017-08-22 20:24:20,877 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path goat. No unique id because the method annotated with @EmbeddedEntityResource returned null.
2017-08-22 20:24:20,878 WARN [framework.webscripts.ResourceWebScriptHelper] [main] Cannot embed resource with path sheep. No unique id because the method annotated with @EmbeddedEntityResource returned null.
{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":1,"maxItems":2},"entries":[{"entry":{"created":"2017-08-22T12:24:20.875+0000","name":"Giles","farm":"LARGE","id":"180","age":54},"relations":{"baaahh":{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}}]}},"blacksheep":{"list":{"pagination":{"count":4,"hasMoreItems":false,"totalItems":4,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}},{"entry":{"sheepGuid":"S4","name":"Dolly","age":3}}]}}}},{"entry":{"created":"2017-08-22T12:24:20.875+0000","name":"Giles","farm":"LARGE","id":"190","age":54},"relations":{"baaahh":{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}}]}},"blacksheep":{"list":{"pagination":{"count":4,"hasMoreItems":false,"totalItems":4,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}},{"entry":{"sheepGuid":"S4","name":"Dolly","age":3}}]}}}},{"entry":{"created":"2017-08-22T12:24:20.875+0000","name":"Giles","farm":"LARGE","id":"280","age":54},"relations":{"baaahh":{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}}]}},"blacksheep":{"list":{"pagination":{"count":4,"hasMoreItems":false,"totalItems":4,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}},{"entry":{"sheepGuid":"S4","name":"Dolly","age":3}}]}}}}]}}
{"list":{"pagination":{"count":3,"hasMoreItems":false,"totalItems":3,"skipCount":0,"maxItems":100},"entries":[{"entry":{"sheepGuid":"D1","name":"Dolly","age":3}},{"entry":{"sheepGuid":"Z2","name":"Dolly","age":3}},{"entry":{"sheepGuid":"4X","name":"Dolly","age":3}}]}}
{"entry":{"sheepy":{"name":"Dolly","age":3,"sheepGuid":"XYZ"},"goatie":{"age":2,"mood":"MELLOW","favourites":["front","back","over the road"],"goatId":"Billy"},"sheepie":{"name":"Dolly","age":3,"sheepGuid":"ABCD"}}}
[{"age":2,"mood":"MELLOW","favourites":["front","back","over the road"],"goatId":"Billy"},{"name":"Dolly","age":3,"sheepGuid":"ABCD"},{"name":"Dolly","age":3,"sheepGuid":"XYZ"}]
{"entry":{"created":"2017-08-22T12:24:20.917+0000","name":"Giles","farm":"LARGE","id":"180","goat":{"mood":"MELLOW","favourites":["front","back","over the road"],"grass":{"color":"green","id":"Goat1111"},"goatId":"Billy","age":2},"age":54,"sheep":{"sheepGuid":"2222","name":"Dolly","age":3}}}
line 1:14 no viable alternative at character '.'
line 1:16 no viable alternative at character '%'
2017-08-22 20:24:20,958 WARN [framework.core.ResourceLookupDictionary] [main]
2017-08-22 20:24:21,000 ERROR [framework.jacksonextensions.JacksonHelper] [main] Failed to write Json output
org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: java.util.ArrayList[0])
at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:218)
at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:197)
at org.codehaus.jackson.map.ser.std.SerializerBase.wrapAndThrow(SerializerBase.java:166)
at org.codehaus.jackson.map.ser.std.StdContainerSerializers$IndexedListSerializer.serializeContents(StdContainerSerializers.java:127)
at org.codehaus.jackson.map.ser.std.StdContainerSerializers$IndexedListSerializer.serializeContents(StdContainerSerializers.java:71)
at org.codehaus.jackson.map.ser.std.AsArraySerializerBase.serialize(AsArraySerializerBase.java:86)
at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610)
at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256)
at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1613)
at org.codehaus.jackson.impl.JsonGeneratorBase.writeObject(JsonGeneratorBase.java:314)
at org.codehaus.jackson.JsonGenerator.writeObjectField(JsonGenerator.java:1090)
at org.alfresco.rest.framework.jacksonextensions.SerializerOfCollectionWithPaging.serialize(SerializerOfCollectionWithPaging.java:65)
at org.alfresco.rest.framework.jacksonextensions.SerializerOfCollectionWithPaging.serialize(SerializerOfCollectionWithPaging.java:45)
at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610)
at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256)
at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1613)
at org.alfresco.rest.framework.tools.ResponseWriter$3.writeContents(ResponseWriter.java:257)
at org.alfresco.rest.framework.jacksonextensions.JacksonHelper.withWriter(JacksonHelper.java:111)
at org.alfresco.rest.framework.tools.ResponseWriter.renderJsonResponse(ResponseWriter.java:251)
at org.alfresco.rest.framework.webscripts.AbstractResourceWebScript.execute(AbstractResourceWebScript.java:150)
at org.alfresco.rest.framework.tests.core.ExecutionTests.testInvokeAbstract(ExecutionTests.java:269)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: java.lang.NullPointerException
at org.codehaus.jackson.impl.Utf8Generator._flushBuffer(Utf8Generator.java:1754)
at org.codehaus.jackson.impl.Utf8Generator.flush(Utf8Generator.java:1088)
at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1615)
at org.codehaus.jackson.impl.JsonGeneratorBase.writeObject(JsonGeneratorBase.java:314)
at org.codehaus.jackson.JsonGenerator.writeObjectField(JsonGenerator.java:1090)
at org.alfresco.rest.framework.jacksonextensions.SerializerOfExecutionResult.serialize(SerializerOfExecutionResult.java:127)
at org.alfresco.rest.framework.jacksonextensions.SerializerOfExecutionResult.serialize(SerializerOfExecutionResult.java:49)
at org.codehaus.jackson.map.ser.std.StdContainerSerializers$IndexedListSerializer.serializeContents(StdContainerSerializers.java:122)
... 59 more
2017-08-22 20:24:21,007 ERROR [framework.webscripts.ResourceWebScriptGet] [main] 80e16f1e-3003-4840-8e29-6fe9834100da : [org.alfresco.rest.framework.tests.api.mocks.BadEntityResource.readAll(BadEntityResource.java:56), org.alfresco.rest.framework.webscripts.ResourceWebScriptGet.executeAction(ResourceWebScriptGet.java:137), org.alfresco.rest.framework.webscripts.AbstractResourceWebScript$2.execute(AbstractResourceWebScript.java:177), org.alfresco.rest.framework.tests.core.AbstractContextTest$1.answer(AbstractContextTest.java:110), org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:34), org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:91), org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29), org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38), org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59), org.alfresco.repo.transaction.RetryingTransactionHelper$$EnhancerByMockitoWithCGLIB$$bdaa5830.doInTransaction(<generated>), org.alfresco.rest.framework.webscripts.AbstractResourceWebScript.execute(AbstractResourceWebScript.java:170), org.alfresco.rest.framework.webscripts.AbstractResourceWebScript.execute(AbstractResourceWebScript.java:107), org.alfresco.rest.framework.tests.core.ExecutionTests.testInvokeAbstract(ExecutionTests.java:273), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:483), org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50), org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12), org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47), org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17), org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26), org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74), org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83), org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88), org.junit.runners.ParentRunner$3.run(ParentRunner.java:290), org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71), org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288), org.junit.runners.ParentRunner.access$000(ParentRunner.java:58), org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268), org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61), org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71), org.junit.runners.ParentRunner.run(ParentRunner.java:363), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174), org.junit.runners.Suite.runChild(Suite.java:128), org.junit.runners.Suite.runChild(Suite.java:27), org.junit.runners.ParentRunner$3.run(ParentRunner.java:290), org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71), org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288), org.junit.runners.ParentRunner.access$000(ParentRunner.java:58), org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268), org.junit.runners.ParentRunner.run(ParentRunner.java:363), junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38), junit.framework.TestSuite.runTest(TestSuite.java:252), junit.framework.TestSuite.run(TestSuite.java:247), org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86), org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367), org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274), org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238), org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161), org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290), org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242), org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)]
2017-08-22 20:24:21,030 ERROR [tests.core.ExecutionTests] [main] 5820c28b-34fb-4d80-8427-d2af8dfd3b24 : [org.alfresco.rest.framework.tests.core.ExecutionTests.testRenderError(ExecutionTests.java:307), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:483), org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50), org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12), org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47), org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17), org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26), org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74), org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83), org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88), org.junit.runners.ParentRunner$3.run(ParentRunner.java:290), org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71), org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288), org.junit.runners.ParentRunner.access$000(ParentRunner.java:58), org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268), org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61), org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71), org.junit.runners.ParentRunner.run(ParentRunner.java:363), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174), org.junit.runners.Suite.runChild(Suite.java:128), org.junit.runners.Suite.runChild(Suite.java:27), org.junit.runners.ParentRunner$3.run(ParentRunner.java:290), org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71), org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288), org.junit.runners.ParentRunner.access$000(ParentRunner.java:58), org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268), org.junit.runners.ParentRunner.run(ParentRunner.java:363), junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38), junit.framework.TestSuite.runTest(TestSuite.java:252), junit.framework.TestSuite.run(TestSuite.java:247), org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86), org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367), org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274), org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238), org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161), org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290), org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242), org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)]
2017-08-22 20:24:21,031 ERROR [tests.core.ExecutionTests] [main] 80b07802-17e0-4125-a53b-fec4d32bfe70 : [org.alfresco.rest.framework.tests.core.ExecutionTests.testRenderError(ExecutionTests.java:318), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:483), org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50), org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12), org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47), org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17), org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26), org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74), org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83), org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88), org.junit.runners.ParentRunner$3.run(ParentRunner.java:290), org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71), org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288), org.junit.runners.ParentRunner.access$000(ParentRunner.java:58), org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268), org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61), org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71), org.junit.runners.ParentRunner.run(ParentRunner.java:363), org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174), org.junit.runners.Suite.runChild(Suite.java:128), org.junit.runners.Suite.runChild(Suite.java:27), org.junit.runners.ParentRunner$3.run(ParentRunner.java:290), org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71), org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288), org.junit.runners.ParentRunner.access$000(ParentRunner.java:58), org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268), org.junit.runners.ParentRunner.run(ParentRunner.java:363), junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38), junit.framework.TestSuite.runTest(TestSuite.java:252), junit.framework.TestSuite.run(TestSuite.java:247), org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86), org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367), org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274), org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238), org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161), org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290), org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242), org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)]
{"error":{"errorKey":"framework.exception.EntityNotFound","statusCode":404,"briefSummary":"07220045 The entity with id: 2 was not found","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}}
2017-08-22 20:24:21,412 DEBUG [search.impl.ResultMapper] [main] Failed to find a versioned node with id of workspace://SpacesStore/frozencf8b0ee2-f0be-4f10-9762-8ce8ee7de42e521 this is probably because the original node has been deleted.
2017-08-22 20:24:21,412 DEBUG [search.impl.ResultMapper] [main] Unknown noderef returned from search results workspace://version2Store/cf8b0ee2-f0be-4f10-9762-8ce8ee7de42e521
{"collection":[{"root":{"name":"Giles","created":"2017-08-22T12:24:21.602+0000","age":54,"id":"180","farm":"LARGE"},"anEmbeddedEntity":false}],"totalItems":2,"context":{"consistency":{"lastTxId":23},"facetQueries":[{"label":"f1","count":15},{"label":"f2","count":20}],"spellCheck":{"type":"aFlag","suggestions":["bish","bash"]},"facetsFields":[{"label":"theLabel","buckets":[{"label":"b1","count":23,"display":"displayText1"},{"label":"b2","count":34,"display":"displayText2"}]}]}}
{"collection":[{"root":{"name":"Giles","created":"2017-08-22T12:24:21.602+0000","age":54,"id":"180","farm":"LARGE"},"anEmbeddedEntity":false}],"totalItems":2,"context":{}}
2017-08-22 20:24:21,627 DEBUG [api.search.SearchApiWebscript] [main] Filtering using the following properties: [dog, cat]
2017-08-22 20:24:21,627 DEBUG [api.search.SearchApiWebscript] [main] Filtering using the following properties: [name, size, dog, cat]
2017-08-22 20:24:21,628 WARN [search.impl.StoreMapper] [main] Unknown store ref: null
{"list":{"pagination":{"count":5,"hasMoreItems":false,"totalItems":5,"skipCount":0,"maxItems":100},"entries":[{"entry":{"metaData":{"uniqueId":"/sheep","type":"ENTITY","operations":[{"httpMethod":"GET","title":"Gets all the Sheep","parameters":[{"name":"siteId","required":false,"title":"Site id","description":"What ever.","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"who","required":false,"title":"Who","dataType":"java.lang.String","allowMultiple":true,"paramType":"HTTP_HEADER"},{"name":"body","required":false,"title":"aintnobody","dataType":"org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo","allowMultiple":true,"paramType":"HTTP_BODY_OBJECT"},{"name":"requiredParam","required":true,"dataType":"java.lang.String","allowMultiple":true,"paramType":"QUERY_STRING"},{"name":"skipCount","required":false,"title":"Skip count","description":"An integer describing how many entities exist in the collection before those included in this list.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"},{"name":"maxItems","required":false,"title":"Maximum items","description":"The maximum items request to return.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"},{"name":"properties","required":false,"title":"Properties to include.","description":"The properties parameter is a comma-separated list of property names. You can use the properties parameter to restrict the returned properties.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"}],"successStatus":202},{"httpMethod":"GET","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"}],"successStatus":200},{"httpMethod":"PUT","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"SHEEP","required":true,"title":"The entity","description":"Unique entity properties","dataType":"org.alfresco.rest.framework.tests.api.mocks.Sheep","allowMultiple":true,"paramType":"HTTP_BODY_OBJECT"}],"successStatus":200},{"httpMethod":"DELETE","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"}],"successStatus":204}]}}},{"entry":{"metaData":{"uniqueId":"/sheep/{entityId}/baah","type":"RELATIONSHIP","parentResource":"/sheep"}}},{"entry":{"metaData":{"uniqueId":"/sheep/{entityId}/sheepUpload","type":"RELATIONSHIP","operations":[{"httpMethod":"POST","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"MULTIPARTTESTRESPONSE","required":true,"title":"The entity","description":"Unique entity properties","dataType":"org.alfresco.rest.framework.tests.api.mocks.MultiPartTestResponse","allowMultiple":true,"paramType":"HTTP_BODY_OBJECT"}],"successStatus":201}],"parentResource":"/sheep"}}},{"entry":{"metaData":{"uniqueId":"/sheep/{entityId}/baaahh","type":"RELATIONSHIP","operations":[{"httpMethod":"GET","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"skipCount","required":false,"title":"Skip count","description":"An integer describing how many entities exist in the collection before those included in this list.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"},{"name":"maxItems","required":false,"title":"Maximum items","description":"The maximum items request to return.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"},{"name":"properties","required":false,"title":"Properties to include.","description":"The properties parameter is a comma-separated list of property names. You can use the properties parameter to restrict the returned properties.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"}],"successStatus":200},{"httpMethod":"GET","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"relationshipId","required":true,"title":"The unique id of the entity relationship being addressed","description":"The unique id must be a String. It is only valid in the scope of the relationship","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"}],"successStatus":200}],"parentResource":"/sheep"}}},{"entry":{"metaData":{"uniqueId":"/sheep/{entityId}/blacksheep","type":"RELATIONSHIP","operations":[{"httpMethod":"POST","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entity","required":false,"title":"A single shepp","description":"A single sheep, multiples are not supported.","dataType":"org.alfresco.rest.framework.tests.api.mocks.Sheep","allowMultiple":false,"paramType":"HTTP_BODY_OBJECT"},{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"}],"successStatus":201},{"httpMethod":"GET","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"skipCount","required":false,"title":"Skip count","description":"An integer describing how many entities exist in the collection before those included in this list.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"},{"name":"maxItems","required":false,"title":"Maximum items","description":"The maximum items request to return.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"},{"name":"properties","required":false,"title":"Properties to include.","description":"The properties parameter is a comma-separated list of property names. You can use the properties parameter to restrict the returned properties.","dataType":"java.lang.Integer","allowMultiple":false,"paramType":"QUERY_STRING"}],"successStatus":200},{"httpMethod":"PUT","title":"Missing @WebApiDescription annotation","description":"This method should be annotated with @WebApiDescription","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"relationshipId","required":true,"title":"The unique id of the entity relationship being addressed","description":"The unique id must be a String. It is only valid in the scope of the relationship","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"SHEEP","required":true,"title":"The entity","description":"Unique entity properties","dataType":"org.alfresco.rest.framework.tests.api.mocks.Sheep","allowMultiple":true,"paramType":"HTTP_BODY_OBJECT"}],"successStatus":200},{"httpMethod":"DELETE","title":"Deletes only black Sheep","parameters":[{"name":"entityId","required":true,"title":"The unique id of the entity being addressed","description":"The unique id must be a String. It is returned as an 'id' from the entity","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"},{"name":"relationshipId","required":true,"title":"The unique id of the entity relationship being addressed","description":"The unique id must be a String. It is only valid in the scope of the relationship","dataType":"java.lang.String","allowMultiple":false,"paramType":"URL_PATH"}],"successStatus":409}],"parentResource":"/sheep"}}}]}}