Skip to content

Instantly share code, notes, and snippets.

@OndraZizka
Created April 9, 2011 11:26
Show Gist options
  • Select an option

  • Save OndraZizka/911324 to your computer and use it in GitHub Desktop.

Select an option

Save OndraZizka/911324 to your computer and use it in GitHub Desktop.
Unexpected RuntimeException
WicketMessage: close tag not found for tag: <a href="#" wicket:id="chooseTimeSpan">. Component: [MarkupContainer [Component id = chooseTimeSpan]]
[markup = file:/mnt/ssd1/_projekty/GoogleCode-ondrazizka/svn-whole/trunk/bots/JawaBot/branches/2.0/web/target/classes/org/jboss/jawabot/web/_pg/HomePage.html
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd" xml:lang="cz" lang="cz">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Author" content="Ondra Žižka, ozizka at redhat.com"/>
<meta name="Description" content="JawaBot web UI"/>
<wicket:link>
<link rel="stylesheet" type="text/css" href="files/dw_styles.css"/>
<link rel="stylesheet" type="text/css" href="files/common.css"/>
<link rel="stylesheet" type="text/css" href="files/layout-vut.css"/>
<link rel="shortcut icon" href="../files/favicon.ico" type="image/x-icon">
<script type="text/javascript" charset="utf-8" src="../files/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../files/js/logout.js"></script>
</wicket:link>
<style>
#header h1 a { text-decoration: none; color: white; }
</style>
<title>JawaBot - resource reservation tool</title>
</head>
<body>
<div wicket:id="debug"></div>
<div id="wrap">
<div xwicket:id="header" id="header">
<h1><a href="#">JawaBot</a></h1>
</div>
<div id="main">
<!-- MAIN TABLE -->
<table border="0" cellspacing="0" cellpadding="0" style="width:100%"><tr>
<!-- Menu -->
<td valign="top">
<div id="menu_container">
<!-- Menu -->
<div class="menu" wicket:id="menu">Menu menu menu</div>
<hr class="cistic" />
</div>
</td><!-- Menu KONEC -->
<!-- MAIN CELL -->
<td valign="top">
<!-- Obsah -->
<div class="obsah" id="obsah">
<wicket:child><wicket:extend>
<h2>Resources</h2>
<table border="0" class="common ">
<thead>
<tr>
<th>res</th>
<th colspan="5">Reserve for</th>
</tr>
</thead>
<tbody>
<tr wicket:id="resources">
<td><a href="#" wicket:id="reslink"><img xwicket:id="icoType" src="ResourceMachine.gif"/><span xwicket:id="label">jawa01</span></a></td>
<td xwicket:id="today"><a href="#" wicket:id="today"><span wicket:id="label">today</span></a></td>
<td xwicket:id="todayPlus1"><a href="#" wicket:id="todayPlus1"><span wicket:id="label">tomorrow</span></a></td>
<td xwicket:id="todayPlus2"><a href="#" wicket:id="todayPlus2"><span wicket:id="label">+2</span></a></td>
<td xwicket:id="todayPlus3"><a href="#" wicket:id="todayPlus3"><span wicket:id="label">+3</span></a></td>
<td xwicket:id="chooseSpan"><a href="#" wicket:id="chooseTimeSpan"><span wicket:id="label">choose span...</span></a></td>
</tr>
<tr><td colspan="6"> <input type="text" wicket:id="note"/> </td></tr>
</tbody>
</table>
<h2>Reserved resources</h2>
<table border="0" class="common ">
<thead>
<tr>
<th>res</th>
<th>owner</th>
<th>from</th>
<th>until</th>
<th>note</th>
</tr>
</thead>
<tbody>
<tr wicket:id="reservations">
<td><a wicket:id="res">jawa02</a></td>
<td wicket:id="owner">ozizka</td>
<td wicket:id="from">today</td>
<td wicket:id="to">tomorrow</td>
<td wicket:id="note">EWS CR2</td>
</tr>
</tbody>
</table>
</wicket:extend></wicket:child>
</div>
</td>
<!-- MAIN CELL KONEC -->
</tr>
</table>
<!-- MAIN TABLE KONEC -->
<!-- <hr class="cistic" size="0"/> -->
</div>
</div><!-- #wrap -->
</body>
</html>
, index = 65, current = '<span wicket:id="label">' (line 24, column 80)]
Root cause:
org.apache.wicket.markup.MarkupException: close tag not found for tag: <a href="#" wicket:id="chooseTimeSpan">. Component: [MarkupContainer [Component id = chooseTimeSpan]]
[markup = file:/mnt/ssd1/_projekty/GoogleCode-ondrazizka/svn-whole/trunk/bots/JawaBot/branches/2.0/web/target/classes/org/jboss/jawabot/web/_pg/HomePage.html
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd" xml:lang="cz" lang="cz">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Author" content="Ondra Žižka, ozizka at redhat.com"/>
<meta name="Description" content="JawaBot web UI"/>
<wicket:link>
<link rel="stylesheet" type="text/css" href="files/dw_styles.css"/>
<link rel="stylesheet" type="text/css" href="files/common.css"/>
<link rel="stylesheet" type="text/css" href="files/layout-vut.css"/>
<link rel="shortcut icon" href="../files/favicon.ico" type="image/x-icon">
<script type="text/javascript" charset="utf-8" src="../files/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../files/js/logout.js"></script>
</wicket:link>
<style>
#header h1 a { text-decoration: none; color: white; }
</style>
<title>JawaBot - resource reservation tool</title>
</head>
<body>
<div wicket:id="debug"></div>
<div id="wrap">
<div xwicket:id="header" id="header">
<h1><a href="#">JawaBot</a></h1>
</div>
<div id="main">
<!-- MAIN TABLE -->
<table border="0" cellspacing="0" cellpadding="0" style="width:100%"><tr>
<!-- Menu -->
<td valign="top">
<div id="menu_container">
<!-- Menu -->
<div class="menu" wicket:id="menu">Menu menu menu</div>
<hr class="cistic" />
</div>
</td><!-- Menu KONEC -->
<!-- MAIN CELL -->
<td valign="top">
<!-- Obsah -->
<div class="obsah" id="obsah">
<wicket:child><wicket:extend>
<h2>Resources</h2>
<table border="0" class="common ">
<thead>
<tr>
<th>res</th>
<th colspan="5">Reserve for</th>
</tr>
</thead>
<tbody>
<tr wicket:id="resources">
<td><a href="#" wicket:id="reslink"><img xwicket:id="icoType" src="ResourceMachine.gif"/><span xwicket:id="label">jawa01</span></a></td>
<td xwicket:id="today"><a href="#" wicket:id="today"><span wicket:id="label">today</span></a></td>
<td xwicket:id="todayPlus1"><a href="#" wicket:id="todayPlus1"><span wicket:id="label">tomorrow</span></a></td>
<td xwicket:id="todayPlus2"><a href="#" wicket:id="todayPlus2"><span wicket:id="label">+2</span></a></td>
<td xwicket:id="todayPlus3"><a href="#" wicket:id="todayPlus3"><span wicket:id="label">+3</span></a></td>
<td xwicket:id="chooseSpan"><a href="#" wicket:id="chooseTimeSpan"><span wicket:id="label">choose span...</span></a></td>
</tr>
<tr><td colspan="6"> <input type="text" wicket:id="note"/> </td></tr>
</tbody>
</table>
<h2>Reserved resources</h2>
<table border="0" class="common ">
<thead>
<tr>
<th>res</th>
<th>owner</th>
<th>from</th>
<th>until</th>
<th>note</th>
</tr>
</thead>
<tbody>
<tr wicket:id="reservations">
<td><a wicket:id="res">jawa02</a></td>
<td wicket:id="owner">ozizka</td>
<td wicket:id="from">today</td>
<td wicket:id="to">tomorrow</td>
<td wicket:id="note">EWS CR2</td>
</tr>
</tbody>
</table>
</wicket:extend></wicket:child>
</div>
</td>
<!-- MAIN CELL KONEC -->
</tr>
</table>
<!-- MAIN TABLE KONEC -->
<!-- <hr class="cistic" size="0"/> -->
</div>
</div><!-- #wrap -->
</body>
</html>
, index = 65, current = '<span wicket:id="label">' (line 24, column 80)]
at org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:123)
at org.apache.wicket.Component.renderComponent(Component.java:2690)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1539)
at org.apache.wicket.Component.render(Component.java:2521)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1441)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1604)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1528)
at org.apache.wicket.Component.renderComponent(Component.java:2690)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1539)
at org.apache.wicket.Component.render(Component.java:2521)
at org.apache.wicket.markup.html.list.ListView.renderItem(ListView.java:624)
at org.apache.wicket.markup.html.list.ListView.renderChild(ListView.java:612)
at org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:103)
at org.apache.wicket.Component.render(Component.java:2521)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1441)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1604)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1528)
at org.apache.wicket.Component.renderComponent(Component.java:2690)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1539)
at org.apache.wicket.Component.render(Component.java:2521)
at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
at org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:66)
at org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1445)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1604)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1528)
at org.apache.wicket.Component.renderComponent(Component.java:2690)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1539)
at org.apache.wicket.Component.render(Component.java:2521)
at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
at org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:73)
at org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1445)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1555)
at org.apache.wicket.Page.onRender(Page.java:1594)
at org.apache.wicket.Component.render(Component.java:2521)
at org.apache.wicket.Page.renderPage(Page.java:932)
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Markup
The problem is in "file:/mnt/ssd1/_projekty/GoogleCode-ondrazizka/svn-whole/trunk/bots/JawaBot/branches/2.0/web/target/classes/org/jboss/jawabot/web/_pg/HomePage.html":
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd" xml:lang="cz" lang="cz">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Author" content="Ondra Žižka, ozizka at redhat.com"/>
<meta name="Description" content="JawaBot web UI"/>
<wicket:link>
<link rel="stylesheet" type="text/css" href="files/dw_styles.css"/>
<link rel="stylesheet" type="text/css" href="files/common.css"/>
<link rel="stylesheet" type="text/css" href="files/layout-vut.css"/>
<link rel="shortcut icon" href="../files/favicon.ico" type="image/x-icon">
<script type="text/javascript" charset="utf-8" src="../files/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../files/js/logout.js"></script>
</wicket:link>
<style>
#header h1 a { text-decoration: none; color: white; }
</style>
<title>JawaBot - resource reservation tool</title>
</head>
<body>
<div wicket:id="debug"></div>
<div id="wrap">
<div xwicket:id="header" id="header">
<h1><a href="#">JawaBot</a></h1>
</div>
<div id="main">
<!-- MAIN TABLE -->
<table border="0" cellspacing="0" cellpadding="0" style="width:100%"><tr>
<!-- Menu -->
<td valign="top">
<div id="menu_container">
<!-- Menu -->
<div class="menu" wicket:id="menu">Menu menu menu</div>
<hr class="cistic" />
</div>
</td><!-- Menu KONEC -->
<!-- MAIN CELL -->
<td valign="top">
<!-- Obsah -->
<div class="obsah" id="obsah">
<wicket:child><wicket:extend>
<h2>Resources</h2>
<table border="0" class="common ">
<thead>
<tr>
<th>res</th>
<th colspan="5">Reserve for</th>
</tr>
</thead>
<tbody>
<tr wicket:id="resources">
<td><a href="#" wicket:id="reslink"><img xwicket:id="icoType" src="ResourceMachine.gif"/><span xwicket:id="label">jawa01</span></a></td>
<td xwicket:id="today"><a href="#" wicket:id="today"><span wicket:id="label">today</span></a></td>
<td xwicket:id="todayPlus1"><a href="#" wicket:id="todayPlus1"><span wicket:id="label">tomorrow</span></a></td>
<td xwicket:id="todayPlus2"><a href="#" wicket:id="todayPlus2"><span wicket:id="label">+2</span></a></td>
<td xwicket:id="todayPlus3"><a href="#" wicket:id="todayPlus3"><span wicket:id="label">+3</span></a></td>
<td xwicket:id="chooseSpan"><a href="#" wicket:id="chooseTimeSpan"><span wicket:id="label">choose span...</span></a></td>
</tr>
<tr><td colspan="6"> <input type="text" wicket:id="note"/> </td></tr>
</tbody>
</table>
<h2>Reserved resources</h2>
<table border="0" class="common ">
<thead>
<tr>
<th>res</th>
<th>owner</th>
<th>from</th>
<th>until</th>
<th>note</th>
</tr>
</thead>
<tbody>
<tr wicket:id="reservations">
<td><a wicket:id="res">jawa02</a></td>
<td wicket:id="owner">ozizka</td>
<td wicket:id="from">today</td>
<td wicket:id="to">tomorrow</td>
<td wicket:id="note">EWS CR2</td>
</tr>
</tbody>
</table>
</wicket:extend></wicket:child>
</div>
</td>
<!-- MAIN CELL KONEC -->
</tr>
</table>
<!-- MAIN TABLE KONEC -->
<!-- <hr class="cistic" size="0"/> -->
</div>
</div><!-- #wrap -->
</body>
</html>
display page view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment