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

UnsupportedOperationException on SingletonService.getValue()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 9.0.2.Final
    • 10.0.0.CR5
    • Clustering
    • None

    Description

      java.lang.IllegalStateException: java.lang.UnsupportedOperationException
      	at java.util.Collections$1.remove(Collections.java:4684)
      	at org.wildfly.clustering.server.singleton.SingletonService$SingletonDispatcher.getValueRef(SingletonService.java:266)
      	at org.wildfly.clustering.server.singleton.SingletonService.getValue(SingletonService.java:225)
      	at org.wildfly.clustering.server.singleton.SingletonService.getValue(SingletonService.java:69)
      	at org.wildfly.clustering.service.AsynchronousServiceBuilder.getValue(AsynchronousServiceBuilder.java:92)
      	at org.jboss.msc.service.ServiceControllerImpl.awaitValue(ServiceControllerImpl.java:1166)
      	at org.wildfly.camel.test.singleton.SingletonRouteTest.testSingletonService(SingletonRouteTest.java:138)
      

      This is happening when I try to provide a code example for a singleton service like this

      CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/77

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: