[
https://issues.apache.org/jira/browse/WICKET-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-3324.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M4
Assignee: Igor Vaynberg
> Markup NO_MARKUP can not call toString
> --------------------------------------
>
> Key: WICKET-3324
> URL: https://issues.apache.org/jira/browse/WICKET-3324
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.5-M3
> Environment: all
> Reporter: Richard Emberson
> Assignee: Igor Vaynberg
> Priority: Trivial
> Fix For: 1.5-M4
>
>
> Putting debugging statements I made the mistake of trying to print out a
> Markup
> object. Turns out, it the MarkupCache can not find an associated Markup
> object uses the Markup.NO_MARKUP singleton. This has neither the
> markupResourceStream instance variable set or the markupElements set and,
> thus, the Markup.toString method gives one a java.lang.NullPointerException.
> The check might be to test for null prior to accessing them in the toString
> method.
> Just a thought.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.