This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 122036 - Exceptions reports JSP (on official server) cannot be compiled
Summary: Exceptions reports JSP (on official server) cannot be compiled
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger Server (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Horvath
URL: http://statistics.netbeans.org/analyt...
Keywords:
: 122161 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-15 16:52 UTC by Jaroslav Tulach
Modified: 2007-11-20 18:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2007-11-15 16:52:44 UTC
type Exception report
message 
description The server encountered an internal error () that prevented it from fulfilling this request.
exception 
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 97 in the jsp file: /graph/exceptionreports.jsp
Syntax error, insert ";" to complete Statement
94:                 while (iterator.hasNext()){
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>


An error occurred at line: 97 in the jsp file: /graph/exceptionreports.jsp
Syntax error, insert ")" to complete MethodInvocation
94:                 while (iterator.hasNext()){
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>


An error occurred at line: 97 in the jsp file: /graph/exceptionreports.jsp
Syntax error, insert ";" to complete Statement
94:                 while (iterator.hasNext()){
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>


An error occurred at line: 97 in the jsp file: /graph/exceptionreports.jsp
Syntax error, insert "AssignmentOperator ArrayInitializer" to complete ArrayInitializerAssignement
94:                 while (iterator.hasNext()){
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>


An error occurred at line: 97 in the jsp file: /graph/exceptionreports.jsp
Syntax error on token "solid", = expected after this token
94:                 while (iterator.hasNext()){
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>


An error occurred at line: 98 in the jsp file: /graph/exceptionreports.jsp
Syntax error, insert ";" to complete LocalVariableDeclarationStatement
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>
101:                </tbody>


An error occurred at line: 98 in the jsp file: /graph/exceptionreports.jsp
Syntax error, insert ";" to complete Statement
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>
101:                </tbody>


An error occurred at line: 98 in the jsp file: /graph/exceptionreports.jsp
Syntax error, insert "AssignmentOperator ArrayInitializer" to complete ArrayInitializerAssignement
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>
101:                </tbody>


An error occurred at line: 98 in the jsp file: /graph/exceptionreports.jsp
Syntax error on token "solid", ( expected
95:                     String key = iterator.next();
96:                     Integer value = exceptionReports.getComponents().get(key);
97:                     out.println("<tr> <td style="border: 1px solid"> " + key + "</td>" +
98:                             "<td style="border: 1px solid"> "+ value + "</td> </tr>");
99:                }
100:                %>
101:                </tbody>


Stacktrace:
        org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
        org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
        org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23
Comment 1 Jindrich Sedek 2007-11-15 17:14:30 UTC
fixed.
Checking in exceptionreports.jsp;
/cvs/logger/uihandlerserver/web/graph/exceptionreports.jsp,v  <--  exceptionreports.jsp
new revision: 1.9; previous revision: 1.8
done
Comment 2 Jindrich Sedek 2007-11-15 17:15:25 UTC
fixed.
Checking in exceptionreports.jsp;
/cvs/logger/uihandlerserver/web/graph/exceptionreports.jsp,v  <--  exceptionreports.jsp
new revision: 1.9; previous revision: 1.8
done
Comment 3 Jindrich Sedek 2007-11-19 14:10:04 UTC
*** Issue 122161 has been marked as a duplicate of this issue. ***
Comment 4 Jaroslav Tulach 2007-11-20 14:13:49 UTC
It is not fixed, till it is not deployed, imho.
Comment 5 Jaroslav Tulach 2007-11-20 14:14:27 UTC
Jindro, we should let Jan know when there is an urgent need to upload new version.
Comment 6 Jindrich Sedek 2007-11-20 18:17:52 UTC
already redeployed