java.lang.NullPointerException

JIRA | Cédric Thiebault | 5 years ago
  1. 0

    Every minutes: 2012-05-16 09:31:46,488 - ERROR - ort.MethodInvokingRunnable - Invocation of method 'synchronizeIndices' on target class [class org.obiba.opal.search.IndexSynchronizationManager$$EnhancerByCGLIB$$89c879e4] failed java.lang.NullPointerException at java.util.Date.getMillisOf(Date.java:939) at java.util.Date.compareTo(Date.java:959) at org.obiba.magma.type.DateTimeType.compare(DateTimeType.java:117) at org.obiba.magma.type.DateTimeType.compare(DateTimeType.java:12) at org.obiba.magma.Value.compareTo(Value.java:101) at org.obiba.magma.views.View$1.getLastUpdate(View.java:156) at org.obiba.magma.support.Timestampeds$1.compare(Timestampeds.java:18) at org.obiba.magma.support.Timestampeds$1.compare(Timestampeds.java:10) at org.obiba.opal.search.es.EsIndexManager$EsValueTableIndex.isUpToDate(EsIndexManager.java:277) at org.obiba.opal.search.IndexSynchronizationManager$Sync.run(IndexSynchronizationManager.java:112) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:352) at org.obiba.opal.search.IndexSynchronizationManager.synchronizeIndices(IndexSynchronizationManager.java:58) at org.obiba.opal.search.IndexSynchronizationManager$$FastClassByCGLIB$$d2ecb9d8.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621) at org.obiba.opal.search.IndexSynchronizationManager$$EnhancerByCGLIB$$89c879e4.synchronizeIndices(<generated>) 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:597) at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273) at org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    JIRA | 5 years ago | Cédric Thiebault
    java.lang.NullPointerException
  2. 0

    Sorting using a comparable class

    Stack Overflow | 6 years ago | maxmackie
    java.lang.NullPointerException
  3. 0

    Java Eclipse source tree void message

    Stack Overflow | 12 months ago | Arjan Smits
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    task management hangs after typing a space

    YouTrack | 6 years ago
    java.lang.NullPointerException
  6. 0

    2012-05-16 16:35:52,760 - ERROR - der.RuntimeExceptionMapper - Unhandled exception java.lang.NullPointerException at java.util.Date.getMillisOf(Date.java:939) at java.util.Date.compareTo(Date.java:959) at org.obiba.magma.type.DateTimeType.compare(DateTimeType.java:117) at org.obiba.magma.type.DateTimeType.compare(DateTimeType.java:12) at org.obiba.magma.Value.compareTo(Value.java:101) at org.obiba.magma.views.View$1.getLastUpdate(View.java:156) at org.obiba.opal.web.TimestampedResponses.evaluate(TimestampedResponses.java:30) at org.obiba.opal.web.magma.TableResource.getVariables(TableResource.java:74) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.resteasy.core.ResourceLocator.createResource(ResourceLocator.java:64) at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:105) at org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:146) at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:91) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:503) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter$1.doInTransactionWithoutResult(OpalJettyServer.java:241) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter.doFilterInternal(OpalJettyServer.java:237) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:69) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.obiba.opal.server.httpd.OpalJettyServer$OpalVersionFilter.doFilterInternal(OpalJettyServer.java:222) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:474) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:934) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:404) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:869) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) at org.eclipse.jetty.server.Server.handle(Server.java:341) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:515) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:662)

    JIRA | 5 years ago | Clément Tamisier [X]
    java.lang.NullPointerException

  1. mellson 1 times, last 5 months ago
  2. hoangtranwork 8 times, last 6 months ago
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 java.util.Date.getMillisOf()
  2. Java RT
    Date.compareTo
    1. java.util.Date.getMillisOf(Date.java:939)
    2. java.util.Date.compareTo(Date.java:959)
    2 frames
  3. org.obiba.magma
    Timestampeds$1.compare
    1. org.obiba.magma.type.DateTimeType.compare(DateTimeType.java:117)
    2. org.obiba.magma.type.DateTimeType.compare(DateTimeType.java:12)
    3. org.obiba.magma.Value.compareTo(Value.java:101)
    4. org.obiba.magma.views.View$1.getLastUpdate(View.java:156)
    5. org.obiba.magma.support.Timestampeds$1.compare(Timestampeds.java:18)
    6. org.obiba.magma.support.Timestampeds$1.compare(Timestampeds.java:10)
    6 frames
  4. org.obiba.opal
    IndexSynchronizationManager$Sync.run
    1. org.obiba.opal.search.es.EsIndexManager$EsValueTableIndex.isUpToDate(EsIndexManager.java:277)
    2. org.obiba.opal.search.IndexSynchronizationManager$Sync.run(IndexSynchronizationManager.java:112)
    2 frames
  5. Shiro
    DelegatingSubject.execute
    1. org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
    2. org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
    3. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:352)
    3 frames
  6. org.obiba.opal
    IndexSynchronizationManager$$FastClassByCGLIB$$d2ecb9d8.invoke
    1. org.obiba.opal.search.IndexSynchronizationManager.synchronizeIndices(IndexSynchronizationManager.java:58)
    2. org.obiba.opal.search.IndexSynchronizationManager$$FastClassByCGLIB$$d2ecb9d8.invoke(<generated>)
    2 frames
  7. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
    1 frame
  8. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    2 frames
  9. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    1 frame
  10. Spring AOP
    Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
    2 frames
  11. org.obiba.opal
    IndexSynchronizationManager$$EnhancerByCGLIB$$89c879e4.synchronizeIndices
    1. org.obiba.opal.search.IndexSynchronizationManager$$EnhancerByCGLIB$$89c879e4.synchronizeIndices(<generated>)
    1 frame
  12. 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:597)
    4 frames
  13. Spring Core
    MethodInvoker.invoke
    1. org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
    1 frame
  14. Spring Context
    DelegatingErrorHandlingRunnable.run
    1. org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65)
    2. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51)
    2 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
    6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
    7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    9. java.lang.Thread.run(Thread.java:662)
    9 frames