You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/04/25 14:50:24 UTC

[Bug 66031] New: JasperInitializer not correctly initialized when a Default JspFactory is already defined

https://bz.apache.org/bugzilla/show_bug.cgi?id=66031

            Bug ID: 66031
           Summary: JasperInitializer not correctly initialized when a
                    Default JspFactory is already defined
           Product: Tomcat 10
           Version: unspecified
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: jlmonteiro@apache.org
  Target Milestone: ------

An issue as been introduced in JasperInitializer with commit 5e8eb55

When a default JspFactory is already defined the static field defaultFactory in
JasperInitializer isn't initialized. It produces a NullPointerException line
108 when setting the poolSize.

This fix enforces a proper initialization even when the default JspFactory is
already set.

PR available https://github.com/apache/tomcat/pull/505

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66031] JasperInitializer not correctly initialized when a Default JspFactory is already defined

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66031

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
Ok, the field is gone, and the testcase is integrated. Sorry for the trouble.
The fix will be in 10.1.0-M15 and 10.0.21.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66031] JasperInitializer not correctly initialized when a Default JspFactory is already defined

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66031

jlmonteiro@apache.org <jl...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |10.0.20
                 CC|                            |jlmonteiro@apache.org
                 OS|Mac OS X 10.1               |All

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org