Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230663

While using hqapi call getting Null ponter exception

$
0
0

While using hqapi call to get the list of particular server  getting Null ponter exception

 

 

15-09-2013 07:24:04,341 EDT WARN  [tomcat-http--138] [org.hyperic.hq.hqu.PluginWrapper@156] Error handling request from /inautilus/xjp/hyperic/server-4.6.6-EE/hq-engine/hq-server/webapps/ROOT/hqu/hqapi1

java.lang.NullPointerException: Cannot get property 'id' on null object

        at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56)

        at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:155)

        at org.codehaus.groovy.runtime.callsite.PojoMetaClassGetPropertySite.callGetProperty(PojoMetaClassGetPropertySite.java:41)

        at org.hyperic.hq.hqu.rendit.metaclass.ResourceCategory.isPlatform(ResourceCategory.groovy:329)

        at sun.reflect.GeneratedMethodAccessor771.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:51)

        at org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:54)

        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)

        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)

        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880)

        at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:44)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)

        at ApiController.checkViewPermission(ApiController.groovy:59)

        at sun.reflect.GeneratedMethodAccessor770.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:266)

        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51)

        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)

        at ResourceController.find(ResourceController:523)

        at sun.reflect.GeneratedMethodAccessor1391.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)

        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)

        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)

        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880)

        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:708)

        at org.hyperic.hq.hqu.rendit.BaseController.invokeMethod(BaseController.groovy)

        at org.hyperic.hq.hqu.rendit.BaseController$invokeMethod.callCurrent(Unknown Source)

        at org.hyperic.hq.hqu.rendit.BaseController.dispatchRequest(BaseController.groovy:240)

        at ApiController.super$2$dispatchRequest(ApiController.groovy)

        at sun.reflect.GeneratedMethodAccessor1238.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)

        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)

        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1049)

        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.

 

The hq api call was working till some days before. We are encountering the issue suddenly. is there anything to fix this


Viewing all articles
Browse latest Browse all 230663

Trending Articles