Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3570

I get NullPointerException when using ManagedScheduledExecutorService.scheduleAtFixedRate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Alpha1
    • None
    • EE
    • None

      When I try to run a task with a small period (1 second or less) using ManagedScheduledExecutorService.scheduleAtFixedRate sometimes I get NullPointerException at http://grepcode.com/file/repo1.maven.org/maven2/org.wildfly/wildfly-ee/8.0.0.Final/org/jboss/as/ee/concurrent/ConcurrentContext.java line 167 (resetHandles is null). I think it occurs when a next task has run before a previous finishes. On 8.1.0 I have the same problem.

              emartins@redhat.com Eduardo Martins
              nyatl Pavel Abizyaev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: