Author: kwright
Date: Wed Jun 4 08:32:55 2014
New Revision: 1599991
URL: http://svn.apache.org/r1599991
Log:
Fix an NPE
Modified:
manifoldcf/branches/CONNECTORS-946/framework/crawler-ui/src/main/webapp/editjob.jsp
Modified:
manifoldcf/branches/CONNECTORS-946/framework/crawler-ui/src/main/webapp/editjob.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-946/framework/crawler-ui/src/main/webapp/editjob.jsp?rev=1599991&r1=1599990&r2=1599991&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-946/framework/crawler-ui/src/main/webapp/editjob.jsp
(original)
+++
manifoldcf/branches/CONNECTORS-946/framework/crawler-ui/src/main/webapp/editjob.jsp
Wed Jun 4 08:32:55 2014
@@ -208,7 +208,6 @@
sequenceArray.add(null);
}
-
// Get the names of the various Javascript methods we'll need to call
String outputCheckMethod = "checkOutputSpecification";
String outputSaveCheckMethod = "checkOutputSpecificationForSave";
@@ -654,6 +653,7 @@
sequenceArray.add(transformationConnectionSequenceNumber);
}
}
+
%>
</head>
@@ -734,9 +734,18 @@
if (startColumn != tabsArray.size())
{
int colspan = tabsArray.size() - startColumn;
+ if (currentSequenceNumber == null)
+ {
+%>
+ <td class="blanksequencetab" colspan="<%=colspan%>"></td>
+<%
+ }
+ else
+ {
%>
<td class="sequencetab"
colspan="<%=colspan%>"><%=(currentSequenceNumber.intValue()+1)%>.</td>
<%
+ }
}
%>
<td class="remaindersequencetab" rowspan="2">