[ https://issues.apache.org/jira/browse/WICKET-5904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546887#comment-14546887 ]
ASF subversion and git services commented on WICKET-5904: --------------------------------------------------------- Commit a1c83cbc9cba919cf0106ff5b7c5fa69cac27ef7 in wicket's branch refs/heads/master from [~bitstorm] [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=a1c83cb ] WICKET-5904 minor typos > NPE after editing a markup file in debug mode > --------------------------------------------- > > Key: WICKET-5904 > URL: https://issues.apache.org/jira/browse/WICKET-5904 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 7.0.0-M5 > Reporter: Guillaume Smet > Assignee: Andrea Del Bene > Attachments: npe-markup.tar.gz > > > Hi, > I have a weird behavior with 7.0.0-SNAPSHOT: if I update the markup in > Eclipse debug mode (just add a class in a class attribute for instance, > nothing fancy), I get the following exception when I reload the page without > removing the ?version parameter: > java.lang.IllegalArgumentException: Argument 'markup' may not be null. > at org.apache.wicket.util.lang.Args.notNull(Args.java:41) > at org.apache.wicket.markup.MarkupStream.<init>(MarkupStream.java:65) > at > org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:133) > at > org.apache.wicket.markup.html.internal.Enclosure.onConfigure(Enclosure.java:148) > at org.apache.wicket.Component.configure(Component.java:1055) > at org.apache.wicket.Component.internalBeforeRender(Component.java:940) > at org.apache.wicket.Component.beforeRender(Component.java:1017) > at > org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1712) > at org.apache.wicket.Component.onBeforeRender(Component.java:3876) > at org.apache.wicket.Component.internalBeforeRender(Component.java:949) > at org.apache.wicket.Component.beforeRender(Component.java:1017) > at > org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1712) > at org.apache.wicket.Component.onBeforeRender(Component.java:3876) > at org.apache.wicket.Page.onBeforeRender(Page.java:801) > at org.apache.wicket.Component.internalBeforeRender(Component.java:949) > at org.apache.wicket.Component.beforeRender(Component.java:1017) > at > org.apache.wicket.Component.internalPrepareForRender(Component.java:2214) > at org.apache.wicket.Page.internalPrepareForRender(Page.java:242) > I can reproduce it every time. > If the issue isn't obvious, I can try to extract a quick start. -- This message was sent by Atlassian JIRA (v6.3.4#6332)