New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent exception when no persistent properties files #31

Closed
ypujante opened this Issue Mar 4, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@ypujante
Member

ypujante commented Mar 4, 2011

2011/03/03 19:12:08.022 INFO [ZKClient$StateChangeDispatcher] Starting StateChangeDispatcher
Exception in thread "main" java.lang.NullPointerException
       at java.util.HashMap.putAll(HashMap.java:498)
       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.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnw
rapNoCoerce.invoke(PojoMetaMethodSite.java:229)
       at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.j
ava:52)
       at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java
:40)
       at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.j
ava:54)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
124)
       at org.linkedin.glu.agent.impl.storage.AgentProperties.getExposedProperties(AgentPro
perties.groovy:57)
       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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
       at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
       at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.jav
a:3468)
       at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(Get
EffectivePogoPropertySite.java:84)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty
(AbstractCallSite.java:239)
       at org.linkedin.glu.agent.impl.storage.AgentProperties.getExposedProperty(AgentPrope
rties.groovy:82)
       at org.linkedin.glu.agent.impl.storage.AgentProperties$getExposedProperty.call(Unkno
wn Source)
       at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java
:40)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
116)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
124)
       at org.linkedin.glu.agent.impl.storage.TagsStorage.loadTags(TagsStorage.groovy:88)
       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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
       at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoU
nwrapNoCoerce.invoke(StaticMetaMethodSite.java:148)
       at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMe
thodSite.java:99)
       at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArra
y.java:48)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite
.java:165)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite
.java:177)
       at org.linkedin.glu.agent.impl.storage.TagsStorage.(TagsStorage.groovy:36)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorIm
pl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAc
cessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
       at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77
)
       at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoe
rce.callConstructor(ConstructorSite.java:102)
       at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSit
eArray.java:52)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCal
lSite.java:190)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCal
lSite.java:202)
       at org.linkedin.glu.agent.server.AgentMain.start(AgentMain.groovy:404)
@ypujante

This comment has been minimized.

Member

ypujante commented Mar 4, 2011

Fixed with 2.1.1

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment