Projects tigase _server tigase-http-api Issues #82
Accessing /rest/stats/ returns error (#82)
Andrzej Wójcik (Tigase) opened 5 years ago

Accessing /rest/stats/ returns error:

groovy.lang.MissingPropertyException: No such property: tigase for
class: groovy.lang.Binding
   at groovy.lang.Binding.getVariable(Binding.java:61)
   at groovy.lang.Binding.getProperty(Binding.java:103)
   at
org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:190)
   at groovy.lang.Closure.getPropertyTryThese(Closure.java:313)
   at groovy.lang.Closure.getPropertyDelegateFirst(Closure.java:303)
   at groovy.lang.Closure.getProperty(Closure.java:288)
   at
org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
   at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:309)
   at
groovy.tmp.templates.GStringTemplateScript37$_getTemplate_closure1.doCall(GStringTemplateScript37.groovy:21)
   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:498)
   at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
   at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
   at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
   at groovy.lang.Closure.call(Closure.java:405)
   at groovy.lang.Closure$WritableClosure.writeTo(Closure.java:845)
   at groovy.lang.Writable$writeTo.call(Unknown Source)
    at
tigase.http.modules.rest.RestExtServlet.fillResponseWithTemplate(RestExtServlet.groovy:172)
   at
tigase.http.modules.rest.RestExtServlet$fillResponseWithTemplate$2.callCurrent(Unknown
Source)
   at
tigase.http.modules.rest.RestExtServlet.encodeResults(RestExtServlet.groovy:133)
   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:498)
   at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
   at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
   at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:351)
   at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:64)
   at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
   at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
   at
tigase.http.modules.rest.RestServlet$_execute_closure4.doCall(RestServlet.groovy:236)
   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:498)
   at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
   at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
   at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
   at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:37)
   at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
   at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
   at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
   at
tigase.rest.adhoc.ServerStatsHandler$_closure1$_closure3$_closure4.doCall(ServerStats.groovy:176)
   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:498)
   at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
   at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
   at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
   at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:37)
   at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
   at tigase.http.ClosureCallback.onResult(ClosureCallback.groovy:32)
   at
tigase.http.HttpMessageReceiver.processResultPacket(HttpMessageReceiver.java:305)
   at
tigase.http.HttpMessageReceiver.processPacket(HttpMessageReceiver.java:182)
   at
tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1364)
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-http-api#82
Please wait...
Page is in error, reload to recover