Details
-
Bug
-
Resolution: Fixed
-
Major
-
15.4-rc-1
-
Unknown
-
N/A
-
N/A
-
Description
Sometimes, an error likeĀ
Failed to execute UIX with id [xwiki:Help.SupportPanel.WebHome] Cause: [null]. java.lang.NullPointerException at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:333) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:303) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:354) at org.xwiki.job.internal.DefaultJobProgressManager.pushLevelProgress(DefaultJobProgressManager.java:59) at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.execute(DefaultBlockAsyncRendererExecutor.java:95) at org.xwiki.uiextension.internal.AbstractWikiUIExtension.execute(AbstractWikiUIExtension.java:120) at org.xwiki.uiextension.internal.AbstractWikiUIExtension.execute(AbstractWikiUIExtension.java:108) at jdk.internal.reflect.GeneratedMethodAccessor269.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) ...
happens, e.g., in a panel. This can be seen in sporadic failures of web standards tests. The reason for this is that org.xwiki.collection.internal.PriorityEntries#getSorted is not fully thread safe: it is possible that it returns null if the sorted list of components is set to null by another thread between the check if the list is null and returning it.
Attachments
Issue Links
- is caused by
-
XCOMMONS-2507 Add a priority concept in components
- Closed