Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit fbefa6c

Browse files
committed
I-141576
1 parent a2ac34c commit fbefa6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/java/main/com/topcoder/direct/services/view/action/contest/launch/GetContestAction.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
import com.topcoder.service.project.SoftwareCompetition;
3333
import org.apache.struts2.ServletActionContext;
3434

35+
import org.apache.commons.lang.math.NumberUtils;
36+
3537
import javax.servlet.http.HttpServletRequest;
3638
import javax.servlet.http.HttpSession;
3739
import java.util.ArrayList;
@@ -449,7 +451,7 @@ protected void executeAction() throws Exception {
449451
if(DirectUtils.isMM(softwareCompetition)) {
450452
String roundId = softwareCompetition.getProjectHeader().getProperty("Marathon Match Id");
451453

452-
if(roundId != null) {
454+
if(roundId != null && !roundId.equals("") && NumberUtils.isNumber(roundId)) {
453455
hasRoundId = true;
454456
viewData.setRoundId(Long.valueOf(roundId));
455457
MarathonMatchHelper.getMarathonMatchDetails(roundId, marathonMatchAnalyticsService, timelineInterval,

0 commit comments

Comments
 (0)