Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25727

Fix random WebEngine module initialization issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF18, 10.3
    • Component/s: WebEngine

      Description

      In rare cases we get this NPE when accessing a WebEngine module for the first time (for example EasyShare):

      Caused by: java.lang.NullPointerException
      	at com.sun.jersey.server.spi.component.ResourceComponentInjector.processFields(ResourceComponentInjector.java:115)
      	at com.sun.jersey.server.spi.component.ResourceComponentInjector.<init>(ResourceComponentInjector.java:93)
      	at com.sun.jersey.server.spi.component.ResourceComponentConstructor.<init>(ResourceComponentConstructor.java:156)
      	at org.nuxeo.ecm.webengine.model.impl.TypeRegistry.installTypeContribution(TypeRegistry.java:280)
      	at org.nuxeo.ecm.webengine.model.impl.TypeRegistry.installContribution(TypeRegistry.java:275)
      	at org.nuxeo.ecm.webengine.model.impl.TypeRegistry.installContribution(TypeRegistry.java:49)
      	at org.nuxeo.runtime.contribution.impl.AbstractContributionRegistry.fireResolved(AbstractContributionRegistry.java:164)
      	at org.nuxeo.runtime.contribution.impl.ContributionImpl.resolve(ContributionImpl.java:248)
      	at org.nuxeo.runtime.contribution.impl.ContributionImpl.update(ContributionImpl.java:212)
      	at org.nuxeo.runtime.contribution.impl.ContributionImpl.addFragment(ContributionImpl.java:165)
      	at org.nuxeo.runtime.contribution.impl.AbstractContributionRegistry.addFragment(AbstractContributionRegistry.java:134)
      	at org.nuxeo.ecm.webengine.model.impl.TypeRegistry.registerType(TypeRegistry.java:191)
      	at org.nuxeo.ecm.webengine.model.impl.TypeRegistry.registerRootType(TypeRegistry.java:82)
      	at org.nuxeo.ecm.webengine.model.impl.TypeRegistry.<init>(TypeRegistry.java:69)
      	at org.nuxeo.ecm.webengine.model.impl.TypeRegistry.<init>(TypeRegistry.java:76)
      	at org.nuxeo.ecm.webengine.model.impl.ModuleImpl.createTypeRegistry(ModuleImpl.java:444)
      	at org.nuxeo.ecm.webengine.model.impl.ModuleImpl.getTypeRegistry(ModuleImpl.java:188)
      	at org.nuxeo.ecm.webengine.model.impl.ModuleImpl.getType(ModuleImpl.java:207)
      	at org.nuxeo.ecm.webengine.model.impl.ModuleRoot.setContext(ModuleRoot.java:74)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d