java.lang.NullPointerException: Ouch! Argument cannot be null: val

Stack Overflow | Amit Sharma | 3 months ago
  1. 0

    Apache Ignite not updating cache with null value

    Stack Overflow | 3 months ago | Amit Sharma
    java.lang.NullPointerException: Ouch! Argument cannot be null: val
  2. 0

    Argument 'context' cannot be null in Facebook

    Stack Overflow | 6 months ago | Satheesh
    java.lang.NullPointerException: Argument 'context' cannot be null
  3. 0

    "Argument 'context' cannot be null"

    Stack Overflow | 6 months ago | Ilhem Nemri
    java.lang.NullPointerException: Argument 'context' cannot be null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    onActivityResult called twice

    Stack Overflow | 2 years ago | returnFromException
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.adminn.facebooktest/com.example.adminn.facebooktest.MainActivity}: java.lang.NullPointerException: Argument 'context' cannot be null

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

      Ouch! Argument cannot be null: val

      at org.apache.ignite.internal.util.GridArgumentCheck.notNull()
    2. org.apache.ignite
      SpringCache.put
      1. org.apache.ignite.internal.util.GridArgumentCheck.notNull(GridArgumentCheck.java:48)
      2. org.apache.ignite.internal.util.GridArgumentCheck.notNull(GridArgumentCheck.java:61)
      3. org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.putAsync0(GridDhtAtomicCache.java:481)
      4. org.apache.ignite.internal.processors.cache.GridCacheAdapter.putAsync(GridCacheAdapter.java:2541)
      5. org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.put(GridDhtAtomicCache.java:460)
      6. org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2215)
      7. org.apache.ignite.internal.processors.cache.IgniteCacheProxy.put(IgniteCacheProxy.java:1214)
      8. org.apache.ignite.cache.spring.SpringCache.put(SpringCache.java:71)
      8 frames
    3. Spring Context
      CacheInterceptor.invoke
      1. org.springframework.cache.interceptor.AbstractCacheInvoker.doPut(AbstractCacheInvoker.java:82)
      2. org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest.apply(CacheAspectSupport.java:626)
      3. org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:340)
      4. org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:281)
      5. org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
      5 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
      2 frames
    5. com.sun.proxy
      $Proxy171.getChannelByCode
      1. com.sun.proxy.$Proxy171.getChannelByCode(Unknown Source)
      1 frame
    6. in.til.tp
      BadgeController.getUserBadges
      1. in.til.tp.commonpage.controller.BadgeController.getUserBadges(BadgeController.java:497)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames