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

I get NullPointerException when using ManagedScheduledExecutorService.scheduleAtFixedRate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0.Alpha1
    • Component/s: EE
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            emmartins Eduardo Martins
            Reporter:
            nyatl Pavel Abizyaev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: