java.lang.IllegalArgumentException: Key for add operation must be defined!

Google Groups | Unknown author | 4 months ago
  1. 0

    "Key for add operation must be defined" error when starting Tomcat

    Google Groups | 3 weeks ago | Bryson Duda
    java.lang.IllegalStateException: Failure during kernel init: Key for add operation must be defined!
  2. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Key for add operation must be defined!

      at org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd()
    2. Apache Commons Configuration
      AbstractConfiguration.getStringArray
      1. org.apache.commons.configuration.tree.DefaultExpressionEngine.prepareAdd(DefaultExpressionEngine.java:420)
      2. org.apache.commons.configuration.HierarchicalConfiguration.addPropertyDirect(HierarchicalConfiguration.java:383)
      3. org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:423)
      4. org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1271)
      5. org.apache.commons.configuration.ConfigurationUtils.convertToHierarchical(ConfigurationUtils.java:252)
      6. org.apache.commons.configuration.CombinedConfiguration$ConfigData.getTransformedRoot(CombinedConfiguration.java:943)
      7. org.apache.commons.configuration.CombinedConfiguration.constructCombinedNode(CombinedConfiguration.java:790)
      8. org.apache.commons.configuration.CombinedConfiguration.getRootNode(CombinedConfiguration.java:626)
      9. org.apache.commons.configuration.HierarchicalConfiguration.fetchNodeList(HierarchicalConfiguration.java:958)
      10. org.apache.commons.configuration.CombinedConfiguration.fetchNodeList(CombinedConfiguration.java:739)
      11. org.apache.commons.configuration.HierarchicalConfiguration.getProperty(HierarchicalConfiguration.java:344)
      12. org.apache.commons.configuration.AbstractConfiguration.getStringArray(AbstractConfiguration.java:1075)
      12 frames
    3. Ads API Client Library
      PrettyPrinter$$FastClassByGuice$$6806afe6.newInstance
      1. com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration.getSensitiveXPaths(AdWordsApiConfiguration.java:85)
      2. com.google.api.ads.common.lib.utils.logging.PrettyPrinter.<init>(PrettyPrinter.java:77)
      3. com.google.api.ads.common.lib.utils.logging.PrettyPrinter$$FastClassByGuice$$6806afe6.newInstance(<generated>)
      3 frames
    4. Google Guice - Core Library
      InjectorImpl.getInstance
      1. com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
      2. com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
      3. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
      4. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
      5. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
      6. com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
      7. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      8. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      9. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
      10. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
      11. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
      12. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
      13. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
      14. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
      15. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
      16. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
      17. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
      18. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
      19. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
      20. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
      20 frames
    5. Ads API Client Library
      OfflineCredentials$Api.<clinit>
      1. com.google.api.ads.adwords.lib.utils.AdWordsInternals.<clinit>(AdWordsInternals.java:37)
      2. com.google.api.ads.common.lib.auth.OfflineCredentials$Api.<clinit>(OfflineCredentials.java:66)
      2 frames
    6. Java RT
      Field.get
      1. sun.misc.Unsafe.ensureClassInitialized(Native Method)
      2. sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
      3. sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
      4. java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
      5. java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
      6. java.lang.reflect.Field.get(Field.java:379)
      6 frames
    7. Groovy
      AbstractCallSite.callGetProperty
      1. org.codehaus.groovy.reflection.CachedField.getProperty(CachedField.java:51)
      2. groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1797)
      3. groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1140)
      4. groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3690)
      5. groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1152)
      6. org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.getProperty(ClassMetaClassGetPropertySite.java:48)
      7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
      7 frames
    8. com.ipsy.ads
      GoogleAdwordsReportService$this$2$getAdwordsSession$0.callCurrent
      1. com.ipsy.ads.google.GoogleAdwordsReportService.getAdwordsSession(GoogleAdwordsReportService.groovy:149)
      2. com.ipsy.ads.google.GoogleAdwordsReportService.this$2$getAdwordsSession(GoogleAdwordsReportService.groovy)
      3. com.ipsy.ads.google.GoogleAdwordsReportService$this$2$getAdwordsSession$0.callCurrent(Unknown Source)
      3 frames
    9. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)
      3 frames
    10. com.ipsy.ads
      GoogleAdwordsReportService$$FastClassBySpringCGLIB$$90e2fa57.invoke
      1. com.ipsy.ads.google.GoogleAdwordsReportService.executePullAdwordsReports(GoogleAdwordsReportService.groovy:74)
      2. com.ipsy.ads.google.GoogleAdwordsReportService$$FastClassBySpringCGLIB$$90e2fa57.invoke(<generated>)
      2 frames
    11. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      1 frame
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      2 frames
    13. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
      3 frames
    14. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)
      2 frames
    15. com.ipsy.ads
      GoogleAdwordsReportService$executePullAdwordsReports.call
      1. com.ipsy.ads.google.GoogleAdwordsReportService$$EnhancerBySpringCGLIB$$a0d0c43a.executePullAdwordsReports(<generated>)
      2. com.ipsy.ads.google.GoogleAdwordsReportService$executePullAdwordsReports.call(Unknown Source)
      2 frames
    16. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      3 frames
    17. com.ipsy.ads
      GoogleAdwordsMetricsHourlyJob.execute
      1. com.ipsy.ads.GoogleAdwordsMetricsHourlyJob.execute(GoogleAdwordsMetricsHourlyJob.groovy:20)
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    19. grails.plugins.quartz
      GrailsJobFactory$GrailsJob.execute
      1. grails.plugins.quartz.GrailsJobFactory$GrailsJob.execute(GrailsJobFactory.java:102)
      1 frame
    20. quartz
      Job$execute.call
      1. org.quartz.Job$execute.call(Unknown Source)
      1 frame
    21. grails.plugins.quartz
      QuartzDisplayJob.execute
      1. grails.plugins.quartz.QuartzDisplayJob.execute(QuartzDisplayJob.groovy:27)
      1 frame
    22. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      2 frames