Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9990

NullPointerException at SessionExpiryBatchHandler$StateChangeResultHandler.processResults

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.0.0
    • Component/s: authentication, CTS
    • Environment:
      OpenAM 14.0.0-SNAPSHOT Build 0f298ef221 (2016-November-08 01:38)

      Description

      See OPENAM-9987
      Running some authn load we get unexpected errors in CoreSystem debug log, like the following one:

      amThreadManager:11/10/2016 11:08:48:415 AM CET: Thread[amThreadManager-17,5,main]: TransactionId[688c22d0-fae8-479c-a7dc-849d7f9caae5-0]
      ERROR: ThreadMonitor: Thread WatchDog detected error, restarting
      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      	at org.forgerock.openam.shared.concurrency.ThreadMonitor$WatchDog.run(ThreadMonitor.java:231)
      	at org.forgerock.openam.audit.context.AuditRequestContextPropagatingRunnable.run(AuditRequestContextPropagatingRunnable.java:42)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at org.forgerock.openam.cts.worker.process.SessionExpiryBatchHandler$StateChangeResultHandler.processResults(SessionExpiryBatchHandler.java:141)
      	at org.forgerock.openam.cts.worker.process.SessionExpiryBatchHandler$StateChangeResultHandler.processResults(SessionExpiryBatchHandler.java:113)
      	at org.forgerock.openam.sm.datalayer.impl.tasks.UpdateTask.performTask(UpdateTask.java:64)
      	at org.forgerock.openam.sm.datalayer.api.AbstractTask.execute(AbstractTask.java:49)
      	at org.forgerock.openam.sm.datalayer.impl.SeriesTaskExecutor$AuditRequestContextPropagatingTask.execute(SeriesTaskExecutor.java:217)
      	at org.forgerock.openam.sm.datalayer.impl.SimpleTaskExecutor.execute(SimpleTaskExecutor.java:67)
      	at org.forgerock.openam.sm.datalayer.impl.SeriesTaskExecutorThread.run(SeriesTaskExecutorThread.java:93)
      	... 6 more
      

        Attachments

          Activity

            People

            • Assignee:
              craig.mcdonnell Craig McDonnell
              Reporter:
              sberthol Sebastien Bertholet [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: