Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9484

Non-consecutive UI extension objects in the same document break the whole UIX mechanism

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2-milestone-2
    • Fix Version/s: 5.2-rc-1
    • Component/s: UI Extension
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      A NPE occurs when building the list of extensions.

      2013-09-20 16:14:43,610 [http://localhost:8080/bin/WebHome] ERROR .o.i.DefaultObservationManager - Failed to send event [org.xwiki.bridge.event.ApplicationReadyEvent@37cd5ec3] to listener [org.xwiki.component.wiki.internal.DefaultWikiComponentManagerEventListener@c0870d4] 
      java.lang.NullPointerException: null
              at org.xwiki.uiextension.internal.WikiUIExtensionComponentBuilder.buildComponents(WikiUIExtensionComponentBuilder.java:149) ~[xwiki-platform-uiextension-api-5.2-milestone-2.jar:na]
              at org.xwiki.component.wiki.internal.DefaultWikiComponentManagerEventListener.registerComponents(DefaultWikiComponentManagerEventListener.java:148) ~[xwiki-platform-component-wiki-5.2-milestone-2.jar:na]
              at org.xwiki.component.wiki.internal.DefaultWikiComponentManagerEventListener.onEvent(DefaultWikiComponentManagerEventListener.java:126) ~[xwiki-platform-component-wiki-5.2-milestone-2.jar:na]
      

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: