[jboss-cvs] JBossAS SVN: r75954 - trunk/console/src/resources/webconsole.war.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 17 08:03:37 EDT 2008


Author: stalep
Date: 2008-07-17 08:03:37 -0400 (Thu, 17 Jul 2008)
New Revision: 75954

Modified:
   trunk/console/src/resources/webconsole.war/AOPBinding.jsp
Log:
[JBAS-5737] Added a nullpointer check for binding


Modified: trunk/console/src/resources/webconsole.war/AOPBinding.jsp
===================================================================
--- trunk/console/src/resources/webconsole.war/AOPBinding.jsp	2008-07-17 11:40:29 UTC (rev 75953)
+++ trunk/console/src/resources/webconsole.war/AOPBinding.jsp	2008-07-17 12:03:37 UTC (rev 75954)
@@ -38,8 +38,11 @@
 		<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="center" id="AutoNumber1">
                   <tr>
                     <td width="50%" align="center" colspan="2">
+                    <% if (binding != null && binding.getPointcut() != null) {
+                    %>
                     <p align="left"><font size="1"><b>Pointcut Expression: </b><%=binding.getPointcut().getExpr()%></font></p>
-                    <% if (binding.getCFlowString() != null) {
+                    <% } %>
+                    <% if (binding != null && binding.getCFlowString() != null) {
                     %>
                     <p align="left"><font size="1"><b>CFlow Expression: </b><%=binding.getCFlowString()%></font></p>
                     <% } %>




More information about the jboss-cvs-commits mailing list