java.lang.ArrayStoreException: com.gemstone.gemfire.internal.cache.execute.FunctionContextImpl

Spring JIRA | John Blum | 2 years ago
  1. 0

    When executing a SDG Function annotated POJO method from _Gfsh_, _Gfsh_ will pass all arguments erroneously in a String[] to the Function invocation. When SDG tries to inject the FunctionContext into the POJO method during Function execution, an Exception occurs... {code} [severe 2014/07/07 23:21:37.970 PDT server1 <Function Execution Processor2> tid=0x62] UnExpected exception during function execution local member java.lang.ArrayStoreException: com.gemstone.gemfire.internal.cache.execute.FunctionContextImpl at org.springframework.data.gemfire.util.ArrayUtils.insert(ArrayUtils.java:43) at org.springframework.data.gemfire.function.FunctionContextInjectingArgumentResolver.resolveFunctionArguments(FunctionContextInjectingArgumentResolver.java:100) at org.springframework.data.gemfire.function.PojoFunctionWrapper.execute(PojoFunctionWrapper.java:107) at com.gemstone.gemfire.internal.cache.execute.AbstractExecution.executeFunctionLocally(AbstractExecution.java:356) at com.gemstone.gemfire.internal.cache.execute.AbstractExecution$2.run(AbstractExecution.java:320) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:717) at com.gemstone.gemfire.distributed.internal.DistributionManager$9$1.run(DistributionManager.java:1174) at java.lang.Thread.run(Thread.java:695) {code}

    Spring JIRA | 2 years ago | John Blum
    java.lang.ArrayStoreException: com.gemstone.gemfire.internal.cache.execute.FunctionContextImpl
  2. 0

    When executing a SDG Function annotated POJO method from _Gfsh_, _Gfsh_ will pass all arguments erroneously in a String[] to the Function invocation. When SDG tries to inject the FunctionContext into the POJO method during Function execution, an Exception occurs... {code} [severe 2014/07/07 23:21:37.970 PDT server1 <Function Execution Processor2> tid=0x62] UnExpected exception during function execution local member java.lang.ArrayStoreException: com.gemstone.gemfire.internal.cache.execute.FunctionContextImpl at org.springframework.data.gemfire.util.ArrayUtils.insert(ArrayUtils.java:43) at org.springframework.data.gemfire.function.FunctionContextInjectingArgumentResolver.resolveFunctionArguments(FunctionContextInjectingArgumentResolver.java:100) at org.springframework.data.gemfire.function.PojoFunctionWrapper.execute(PojoFunctionWrapper.java:107) at com.gemstone.gemfire.internal.cache.execute.AbstractExecution.executeFunctionLocally(AbstractExecution.java:356) at com.gemstone.gemfire.internal.cache.execute.AbstractExecution$2.run(AbstractExecution.java:320) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:717) at com.gemstone.gemfire.distributed.internal.DistributionManager$9$1.run(DistributionManager.java:1174) at java.lang.Thread.run(Thread.java:695) {code}

    Spring JIRA | 2 years ago | John Blum
    java.lang.ArrayStoreException: com.gemstone.gemfire.internal.cache.execute.FunctionContextImpl
  3. 0

    JAXBContext.newInstance(Class) throws ArrayStoreException:

    Oracle Community | 9 years ago | 843834
    java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    drag group of files from one package to another causes exception

    Eclipse Bugzilla | 5 years ago | aclement
    java.lang.ArrayStoreException: org.eclipse.jdt.internal.core.PackageFragment
  6. 0

    Intersection of 2 arrays using sets

    Stack Overflow | 3 years ago | jazz199
    java.lang.ArrayStoreException: java.lang.Character

    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.ArrayStoreException

      com.gemstone.gemfire.internal.cache.execute.FunctionContextImpl

      at org.springframework.data.gemfire.util.ArrayUtils.insert()
    2. Spring Data GemFire
      PojoFunctionWrapper.execute
      1. org.springframework.data.gemfire.util.ArrayUtils.insert(ArrayUtils.java:43)
      2. org.springframework.data.gemfire.function.FunctionContextInjectingArgumentResolver.resolveFunctionArguments(FunctionContextInjectingArgumentResolver.java:100)
      3. org.springframework.data.gemfire.function.PojoFunctionWrapper.execute(PojoFunctionWrapper.java:107)
      3 frames
    3. com.gemstone.gemfire
      AbstractExecution$2.run
      1. com.gemstone.gemfire.internal.cache.execute.AbstractExecution.executeFunctionLocally(AbstractExecution.java:356)
      2. com.gemstone.gemfire.internal.cache.execute.AbstractExecution$2.run(AbstractExecution.java:320)
      2 frames
    4. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      2 frames
    5. com.gemstone.gemfire
      DistributionManager$9$1.run
      1. com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:717)
      2. com.gemstone.gemfire.distributed.internal.DistributionManager$9$1.run(DistributionManager.java:1174)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:695)
      1 frame