Skip to content

jsp with compile time issues breaking test pipeline on branches #158

@yingbull

Description

@yingbull

SEVERE: org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [98] in the jsp file: [/admin/adminbackupdownload.jsp]
Syntax error on token(s), misplaced construct(s)
95: Exception e = new Exception("Unable to find any files in the directory " + backuppath + ". (If this is the incorrect directory, please modify the value of backup_path in your properties file to reflect the correct directory).");
96: throw e;
97: }
98: for (int i = 0; i < contents.length; i++) {
99: bodd = bodd ? false : true;
100: if (contents[i].isDirectory() || contents[i].getName().equals("BackupClient.class") || contents[i].getName().startsWith("."))
101: continue;

An error occurred at line: [102] in the jsp file: [/admin/adminbackupdownload.jsp]
Syntax error on token "%=", @ expected
99: bodd = bodd ? false : true;
100: if (contents[i].isDirectory() || contents[i].getName().equals("BackupClient.class") || contents[i].getName().startsWith("."))
101: continue;
102: out.println("<a href="<%= request.getContextPath() %>/servlet/BackupDownload?filename=" + URLEncoder.encode(contents[i].getName()) + "'>" + contents[i].getName() + "");
103: long bytes = contents[i].length();
104: String display = FileUtils.byteCountToDisplaySize(bytes);
105:

Stacktrace:
May 07, 2025 1:45:45 PM org.apache.jasper.JspC execute
SEVERE: org.apache.jasper.JasperException: file:/workspace/src/main/webapp/oscarRx/ChooseAllergy2.jsp (line: [269], column: [151]) Unterminated [${] tag
May 07, 2025 1:46:00 PM org.apache.jasper.JspC execute
SEVERE: org.apache.jasper.JasperException: file:/workspace/src/main/webapp/documentManager/MultiPageDocDisplay.jsp (line: [121], column: [69]) According to TLD, tag [fmt:setBundle] must be empty, but is not

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions