Hi, my application deploys fine in the local environment but when
trying to upload to AppEngine I get this stack trace [1] after
compiling about 30 JSP files.

The page with the bug is not being logged anywhere (the last one,
detail.jsp, compiles OK). I had to guess based on a 'ls -U' order of
folders in the filesystem, which took me a while to guess.

This is just a heads-up, because a way to increase the verbosity of
jspC (adding the -v flag or similar) would be really welcome. Maybe
there is one, but I could not find it.

Of course, fixing the NPE would also be great :)

===

[1] (list of previous JSP files omitted...)

19:43:44,908 INFO  [JspC] Built File: /WEB-INF/jsp/activity-log/
list.jsp
19:43:44,931 INFO  [JspC] Built File: /WEB-INF/jsp/activity-log/
detail.jsp
java.lang.NullPointerException
        at org.apache.jasper.compiler.Validator$ValidateVisitor.getMethod
(Validator.java:1269)
        at org.apache.jasper.compiler.Validator
$ValidateVisitor.processSignature(Validator.java:1257)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.access$400
(Validator.java:295)
        at org.apache.jasper.compiler.Validator$1FVVisitor.visit
(Validator.java:1248)
        at org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:122)
        at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:193)
        at org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:234)
        at org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:53)
        at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:193)
        at org.apache.jasper.compiler.Validator
$ValidateVisitor.validateFunctions(Validator.java:1252)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit
(Validator.java:593)
        at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:896)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit
(Validator.java:564)
        at org.apache.jasper.compiler.Node$NamedAttribute.accept(Node.java:
1810)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit
(Validator.java:716)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
        at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Validator.validate(Validator.java:1475)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:
214)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
        at org.apache.jasper.JspC.processFile(JspC.java:779)
        at org.apache.jasper.JspC.execute(JspC.java:908)
        at com.google.appengine.tools.development.LocalJspC.main
(LocalJspC.java:17)
Exception in thread "main" org.apache.jasper.JasperException:
java.lang.NullPointerException
        at org.apache.jasper.JspC.processFile(JspC.java:806)
        at org.apache.jasper.JspC.execute(JspC.java:908)
        at com.google.appengine.tools.development.LocalJspC.main
(LocalJspC.java:17)
Caused by: java.lang.NullPointerException
        at org.apache.jasper.compiler.Validator$ValidateVisitor.getMethod
(Validator.java:1269)
        at org.apache.jasper.compiler.Validator
$ValidateVisitor.processSignature(Validator.java:1257)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.access$400
(Validator.java:295)
        at org.apache.jasper.compiler.Validator$1FVVisitor.visit
(Validator.java:1248)
        at org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:122)
        at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:193)
        at org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:234)
        at org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:53)
        at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:193)
        at org.apache.jasper.compiler.Validator
$ValidateVisitor.validateFunctions(Validator.java:1252)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit
(Validator.java:593)
        at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:896)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit
(Validator.java:564)
        at org.apache.jasper.compiler.Node$NamedAttribute.accept(Node.java:
1810)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit
(Validator.java:716)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
        at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        at org.apache.jasper.compiler.Validator.validate(Validator.java:1475)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:
214)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
        at org.apache.jasper.JspC.processFile(JspC.java:779)
        ... 2 more

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to