java.lang.NullPointerException

Atlassian JIRA | Dave Loeng [Atlassian] | 1 decade ago
  1. 0

    stack trace: java.lang.NullPointerException at net.sf.hibernate.proxy.HibernateProxyHelper.getClass(HibernateProxyHelper.java:36) at net.sf.hibernate.impl.AbstractQueryImpl.guessType(AbstractQueryImpl.java:390) at net.sf.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:385) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao$4.doInHibernate(HibernateObjectDao.java:291) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:147) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:382) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:283) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:268) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:248) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:233) at com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getSpacesCreatedOrUpdatedSinceDate(HibernateSpaceDao.java:78) at com.atlassian.confluence.spaces.DefaultSpaceManager.getSpacesCreatedOrUpdatedSinceDate(DefaultSpaceManager.java:104) 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:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:201) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:17) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135) at $Proxy15.getSpacesCreatedOrUpdatedSinceDate(Unknown Source) 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:324)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.lang.NullPointerException
  2. 0

    stack trace: java.lang.NullPointerException at net.sf.hibernate.proxy.HibernateProxyHelper.getClass(HibernateProxyHelper.java:36) at net.sf.hibernate.impl.AbstractQueryImpl.guessType(AbstractQueryImpl.java:390) at net.sf.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:385) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao$4.doInHibernate(HibernateObjectDao.java:291) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:147) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:382) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:283) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:268) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:248) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:233) at com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getSpacesCreatedOrUpdatedSinceDate(HibernateSpaceDao.java:78) at com.atlassian.confluence.spaces.DefaultSpaceManager.getSpacesCreatedOrUpdatedSinceDate(DefaultSpaceManager.java:104) 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:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:201) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:17) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135) at $Proxy15.getSpacesCreatedOrUpdatedSinceDate(Unknown Source) 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:324)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.lang.NullPointerException
  3. 0

    To reproduce: 1. signup as a new user 2. then click the pages report link on dashboard Strangely enough, if you are persistent, and re-login (1 or more times) as the same user, the NPE will go away. Maybe that might shed light on the problem. java.lang.NullPointerException at net.sf.hibernate.proxy.HibernateProxyHelper.getClass(HibernateProxyHelper.java:36) at net.sf.hibernate.impl.AbstractQueryImpl.guessType(AbstractQueryImpl.java:390) at net.sf.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:385) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao$4.doInHibernate(HibernateObjectDao.java:291) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:149) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:473) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:283) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:268) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:248) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:233) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPagesCreatedOrUpdatedSinceDate(HibernatePageDao.java:230) at com.atlassian.confluence.pages.DefaultPageManager.getPagesCreatedOrUpdatedSinceDate(DefaultPageManager.java:91) at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    To reproduce: 1. signup as a new user 2. then click the pages report link on dashboard Strangely enough, if you are persistent, and re-login (1 or more times) as the same user, the NPE will go away. Maybe that might shed light on the problem. java.lang.NullPointerException at net.sf.hibernate.proxy.HibernateProxyHelper.getClass(HibernateProxyHelper.java:36) at net.sf.hibernate.impl.AbstractQueryImpl.guessType(AbstractQueryImpl.java:390) at net.sf.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:385) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao$4.doInHibernate(HibernateObjectDao.java:291) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:149) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:473) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:283) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:268) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:248) at com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:233) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPagesCreatedOrUpdatedSinceDate(HibernatePageDao.java:230) at com.atlassian.confluence.pages.DefaultPageManager.getPagesCreatedOrUpdatedSinceDate(DefaultPageManager.java:91) at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    java.lang.NullPointerException
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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

      No message provided

      at net.sf.hibernate.proxy.HibernateProxyHelper.getClass()
    2. net.sf.hibernate
      AbstractQueryImpl.setParameter
      1. net.sf.hibernate.proxy.HibernateProxyHelper.getClass(HibernateProxyHelper.java:36)
      2. net.sf.hibernate.impl.AbstractQueryImpl.guessType(AbstractQueryImpl.java:390)
      3. net.sf.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:385)
      3 frames
    3. com.atlassian.confluence
      HibernateObjectDao$4.doInHibernate
      1. com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao$4.doInHibernate(HibernateObjectDao.java:291)
      1 frame
    4. Hibernate
      HibernateTemplate.executeFind
      1. org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:147)
      2. org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:382)
      2 frames
    5. com.atlassian.confluence
      DefaultSpaceManager.getSpacesCreatedOrUpdatedSinceDate
      1. com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:283)
      2. com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:268)
      3. com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:248)
      4. com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:233)
      5. com.atlassian.confluence.spaces.persistence.dao.hibernate.HibernateSpaceDao.getSpacesCreatedOrUpdatedSinceDate(HibernateSpaceDao.java:78)
      6. com.atlassian.confluence.spaces.DefaultSpaceManager.getSpacesCreatedOrUpdatedSinceDate(DefaultSpaceManager.java:104)
      6 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:59)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:201)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
      3 frames
    8. com.atlassian.confluence
      SpringProfilingInterceptor.invoke
      1. com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:17)
      1 frame
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135)
      2 frames
    10. Unknown
      $Proxy15.getSpacesCreatedOrUpdatedSinceDate
      1. $Proxy15.getSpacesCreatedOrUpdatedSinceDate(Unknown Source)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames