Issue Details (XML | Word | Printable)

Key: CONF-8242
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Agnes Ro [Atlassian]
Reporter: Tom Davies [Atlassian]
Votes: 1
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Confluence

create-space-button macro throws NPE when using preview

Created: 10/Apr/07 09:16 PM   Updated: 29/Apr/07 11:58 PM
Component/s: Macros -- General
Affects Version/s: 2.4.4
Fix Version/s: 2.5

Time Tracking:
Not Specified

Participants: Agnes Ro [Atlassian] and Tom Davies [Atlassian]
Since last comment: 1 year, 31 weeks, 1 day ago
Resolution Date: 19/Apr/07 12:32 AM
Labels:


 Description  « Hide
java.lang.NullPointerException
at com.atlassian.confluence.renderer.radeox.macros.CreateSpaceButtonMacro.getHtml(CreateSpaceButtonMacro.java:52)
at com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro.execute(AbstractHtmlGeneratingMacro.java:44)
at com.atlassian.renderer.macro.RadeoxCompatibilityMacro.execute(RadeoxCompatibilityMacro.java:149)
at com.atlassian.confluence.renderer.v2.macros.RadeoxCompatibilityMacro.execute(RadeoxCompatibilityMacro.java:26)
at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45)
at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:340)
at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:241)
at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:130)
at com.atlassian.renderer.v2.components.MacroRendererComponent.handlePotentialMacro(MacroRendererComponent.java:115)
at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:77)
at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:54)
at com.atlassian.renderer.v2.V2SubRenderer.render(V2SubRenderer.java:44)

One of these is null when it should not be:

I18NBean i18NBean = GeneralUtil.getI18n();
HttpServletRequest request = ServletActionContext.getRequest();



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Agnes Ro [Atlassian] added a comment - 19/Apr/07 12:32 AM
Fixed.