Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository was archived by the owner on Aug 17, 2018. It is now read-only.

Commit 13d7122

Browse files
committed
javaee-api-api/issue55 NullPointerException is thrown if application doesn't include precompiled classes.
1 parent 3c6b171 commit 13d7122

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

impl/src/main/java/org/apache/jasper/JspCompilationContext.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,9 @@ public boolean keepGenerated() {
602602

603603
public void incrementRemoved() {
604604
if (removed > 1) {
605-
jspCompiler.removeGeneratedFiles();
605+
if(jspCompiler != null) {
606+
jspCompiler.removeGeneratedFiles();
607+
}
606608
if( rctxt != null )
607609
rctxt.removeWrapper(jspUri);
608610
}

0 commit comments

Comments
 (0)