Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

NullPointerException reading ice.properties #49

Open
sayan-rudder opened this issue Jun 1, 2020 · 1 comment
Open

NullPointerException reading ice.properties #49

sayan-rudder opened this issue Jun 1, 2020 · 1 comment

Comments

@sayan-rudder
Copy link

2020-06-01 03:29:50,750 [localhost-startStop-1] INFO BootStrap - Read ice.properties ...
| Error java.lang.NullPointerException
| Error at java.util.Hashtable.put(Hashtable.java:460)
| Error at java.util.Properties.setProperty(Properties.java:166)
| Error at java_util_Properties$setProperty$1.call(Unknown Source)
| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
| Error at BootStrap$_closure1.doCall(BootStrap.groovy:108)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.Closure.call(Closure.java:423)
| Error at groovy.lang.Closure.call(Closure.java:417)
| Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
| Error at grails.util.Environment.executeForEnvironment(Environment.java:320)
| Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
| Error at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
| Error at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
| Error at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
| Error at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
| Error at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
| Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
| Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
| Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
| Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
| Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
| Error at java.lang.Thread.run(Thread.java:748)
| Error 2020-06-01 03:29:51,161 [localhost-startStop-1] ERROR BootStrap - Startup failed
Message: null
Line | Method
->> 460 | put in java.util.Hashtable


| 166 | setProperty in java.util.Properties
| 108 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
| 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 320 | executeForEnvironment . . . . . in ''
| 296 | executeForCurrentEnvironment in ''
| 266 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
| 1149 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 624 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 748 | run in java.lang.Thread

I replaced the configmap-ice.yaml files with values for <> fields.
Any pointers will be helpful

@sayan-rudder
Copy link
Author

somewhat similar to #38 but on ice.properties

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant