Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-646

NPE due to TCCL usage in clustering

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0.CR1
    • Component/s: Clustering
    • Labels:
      None

      Description

      AS7-635 has pointed out TCCL usage which is causing NPEs. If these descriptors are in the same module as the calling code, then it should just do Caller.class.getClassloader().

      (see http://community.jboss.org/wiki/ModuleCompatibleClassloadingGuide for more info why)

      Caused by: java.lang.NullPointerException
      at org.jboss.as.clustering.jgroups.subsystem.ProtocolDefaultsService.find(ProtocolDefaultsService.java:95)
      at org.jboss.as.clustering.jgroups.subsystem.ProtocolDefaultsService.load(ProtocolDefaultsService.java:85)
      at org.jboss.as.clustering.jgroups.subsystem.ProtocolDefaultsService.start(ProtocolDefaultsService.java:76)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
      ... 3 more

      Caused by: java.lang.NullPointerException
      at org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerDefaultsService.find(EmbeddedCacheManagerDefaultsService.java:131)
      at org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerDefaultsService.load(EmbeddedCacheManagerDefaultsService.java:110)
      at org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerDefaultsService.start(EmbeddedCacheManagerDefaultsService.java:84)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
      ... 3 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pferraro Paul Ferraro
                Reporter:
                jason.greene Jason Greene
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: